Molehill (Stage3D) on Mobile
Posted: August 3rd, 2011 | Author: Andrew | Filed under: Adobe, AIR, Android, Mobile | Tags: android, mobile, molehill, stage3d | 21 Comments »I recently had the opportunity to start playing around with Molehill for mobile (hardware accelerated 3D graphics), and I think it is something that many of you will be very excited about (see video below). Everyone thinks that 3D is just for games, but it’s not… 3D graphics can be used for complex data visualizations, scientific modeling, or a whole host of other subject areas.
I started down the path of creating 3D charts that are capable of rendering on mobile, using the Away3D engine. This is really just exploratory work, and I have it rendering multiple axes with 250 spheres (individual data points), which is about 70K-90K polygons drawn onscreen at any given time. Check out the preview below:
Molehill (Stage3D) on Mobile
This preview is running on a Motorola Atrix, and Samsung Galaxy Tab 10.1 with a prerelease AIR runtime… more devices will coming soon. Source code will be available once molehill for mobile has been released.
Molehill (Stage3D) on Mobile recorded via iPhone
You can see another preview of molehill for mobile here: http://www.bytearray.org/?p=3053
Enjoy!


Jumping Jehosaphat Batman!
Any idea if this will be launched in time for MAX?
It’s a shame the video itself is so choppy, especially at the start. Kinda disguises the true fps. How many frames do you get per second?
great to see another mobile Stage3D example!…. but why oh why is the video so jumpy.. it means its impossible to see how well the demo is running…
I am not certain of the exact launch date, but I know the team is making great progress. I’ll post back here once a date is actually available.
Regarding the FPS, I can assure you that the lag you see in the video is completely my camera setup. I’m working on getting a better configuration for recording these types of videos. It is too early in the development cycle to post any actual performance specs, as this will be changing as the product matures, but I’ll say that it is quite impressive. I’ll try to record another video that better reflects actual performance and post it here.
Update: I just posted a second video recorded via iPhone… it is a bit shakier, but the framerate is better.
perfect! looks like its running really smoothly… awesome!!!
Thanks man, code would be great.
You posted by iPhone – the irony.
Hi Samuel, the code will be available once the runtime is available on Adobe labs. And yes, ironic that I posted the video via iPhone, but it is a great camera.
Hi Andrew,
How did make this app run? Right now, Away3D returns this error:
Error: Too many Stage3D instances used!
It seems to happen on both iOS (which I’m attempting) and Android. Here is the thread on the topic:
https://github.com/away3d/away3d-core-fp11/issues/39
I traced it down to the face that that no stage3Ds are being instantiated:
stage.stage3Ds.length = 0
Did you run into this issue?
Stage3D is not enabled on the latest builds available via Adobe labs. The latest build of Away3D is compatible, however you will not be able to target any mobile devices until the 3D capabilities have been released publicly.
[...] evangelist Andrew Trice demonstrates the ability of Stage3D (Molehill) on mobile to create complex three-dimensional data visualizations. While source code won't be available until [...]
Awesome stuff.
I’m trying to make small demo targeting mobile devices using Flex 4.5. Can you tell me which AIR (pre-release) version has the stage3D enabled?
If possible, can you explain what tools you used to make this demo?
This was built using Flash Builder, with the Away3D framework. Ping me via email to discuss prerelease information at atrice [at] adobe.com
[...] it is not all about games. In a recent post, I showed off some basic stage3d hardware accelerated graphics within AIR on mobile devices. [...]
Thank you for response. I sent a mail to the address provided.
[...] [...]
Hi Andrew. It would be great to have that prerelease runtime. I already sent you a request by mail.
Thanks
Hi Andrew, I’m interested too. Can you please share more details about this prerelease version or tell me how to run stage3d on mobile? I’m sending you a request on your email.
Best
Hi, Andrew
I found this post after hour of googling, I am just trying to make some game experiments/developments for mobile using Away3D/Air3.1 for mobile, but as It has been discussed above
“Error: Too many Stage3D instances used!”
Hi Przemek, Stage3D is not yet available for mobile devices. It will be coming at a later date. Syntactically, the code between desktop and mobile Stage3D will be more-or-less identical.
Thanks,
Andrew Trice
[...] to get my hands on some early builds of Stage3D for mobile. I built some simple examples, including basic geometric shapes and simple 3D bubble charts inside of mobile Flex/AIR applications. I have been asked numerous [...]
I have posted the source code for a desktop port of my mobile Stage3D examples on this blog at:
http://www.tricedesigns.com/2012/01/26/stage3d-flex-demo-w-source/
The only changes were to the Flex SDK targeting the Flash player, instead of targeting the mobile SDK. All Stage3D code is exactly the same.