Adobe Alchemy port

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
lobolife
Gnoblar
Posts: 2
Joined: Wed Aug 19, 2009 5:03 pm

Adobe Alchemy port

Post by lobolife »

Are there any future plans to port Ogre3d to flash using Adobe Alchemy | http://labs.adobe.com/technologies/alchemy/ ?

User avatar
Praetor
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3335
Joined: Tue Jun 21, 2005 8:26 pm
Location: Rochester, New York, US
x 3
Contact:

Re: Adobe Alchemy port

Post by Praetor »

Alchemy is very misleading for many. Here's the general rule: you cannot do anything with alchemy that Flash cannot already do right now. Here's an example.

Say I wanted to have a 3D spline class in AS3. I could manually port it from Ogre's source. Or, with alchemy, I can have the AS3 generated right from the C++ for me. I cannot, however, magically gain 3D DirectX-based rendering from the use of alchemy. AS3 has none of the access to the video card Ogre needs, and alchemy cannot change that fact.
Game Development, Engine Development, Porting
http://www.darkwindmedia.com

lobolife
Gnoblar
Posts: 2
Joined: Wed Aug 19, 2009 5:03 pm

Re: Adobe Alchemy port

Post by lobolife »

Praetor,

Thanks for the reply! That definitely sheds some light on the issue. Do you think PixelBender | http://labs.adobe.com/technologies/pixelbender/ would be able to handle some of the video card features ogre needs?

User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Re: Adobe Alchemy port

Post by Kencho »

lobolife wrote:Praetor,

Thanks for the reply! That definitely sheds some light on the issue. Do you think PixelBender | http://labs.adobe.com/technologies/pixelbender/ would be able to handle some of the video card features ogre needs?
I can assure you it can't. PixelBender is basically a very limited pixel shader. It's quite good to do certain effects, but it lacks a lot of functionality of today's common pixel shader languages, and is bond to non-convolution (you work on a per-fragment basis; no going back to already processed pixels).
Image

User avatar
Praetor
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3335
Joined: Tue Jun 21, 2005 8:26 pm
Location: Rochester, New York, US
x 3
Contact:

Re: Adobe Alchemy port

Post by Praetor »

It handles some, but not enough to be meaningful. Alchemy's entire purpose is to ease the process of porting the massive amount of functionality in libraries for C++. Since pushing AS3 and Flash as a programming environment (instead of just a designer's tool) Adobe has run up against the classic problem of not enough good libraries available. C++ has tons. So they figured they'd make it as easy as possible to port things as possible. However, you are still limited by Flash's environment and capabilities.
Game Development, Engine Development, Porting
http://www.darkwindmedia.com

Post Reply