We already benchmarked Java's implementation of OpenGL, which does seem to be faster than ActionScript's, primarily because it allows direct access to OpenGL at a lower level, and also offers threading support. However, we decided against Java because of it's bulky, and somewhat insecure runtime. WebGL was also tested, and benchmarked closer to Java's performance, but still not AS fast as java. JavaScript also has problems, because of the fact that the code has to be distributed with the app, and interpretation is often slow. Yes, WMODE was set to Direct.

-----Original Message----- From: Choons
Sent: Tuesday, May 31, 2011 7:43 PM
To: Away3D.dev
Subject: [away3d] Re: Would it be possible to port this game to Away4, or does it look too complex for the workings of Flash?

good question. My first question is whether you made sure to set
wmode: "direct" in the html loader for the swf? If so, I'm curious to
know as well how Flash "Molehill" with Away3D or other frameworks
actually benchmarks against for instance Unity3D for the same content.
One thing you might consider is looking at Adobe's somewhat orphaned
Alchemy project. It bridges C code with Actionscript. It'd be a far
cry from the classes of managed C# but it might be useful if you have
a grasp on how to represent your game in lower level c++.

On May 31, 6:44 pm, "Brian Bosak" <[email protected]> wrote:
I’ve been working on a project in OpenGL, and would like to create an ActionScript (in-browser) viewer for one of the maps on the game, to give the user a sample of the game on our company’s website. However, during testing of some Away4 code, we realized it wasn’t quite up to our company’s performance expectations, but, on the other hand, it could just be my code. Does it look like something like this would be possible in Away4 (notice the map has animated textures on walls (dynamically rendered, don’t know if there’s a ‘fast’ way to do this in Away4), dynamic shadows, and lighting.

Watch in 720p. The current version is written in C# using OpenTK (an OpenGL wrapper for C#) in Visual Studio. The model files are in OBJ format and were created using Blender. Does something like this look possible to do in a browser? Or is it just too complex?http://www.youtube.com/watch?v=n1L2Q4_dHyc

Reply via email to