- Lightning and shadows are awesome in Away3D, while it was a bit difficult (and CPU heavy) with Papervision3D.
Actually you won’t want to use lightning or shadow with any software rendering engine it’ll burn CPU very quickly.
That won’t apply for Molehill / Away3D broomstick, people can do absolutely crazy thing with it.
^ It’ll be fine if you dont go nuts with it, but yea, dont do it if its not necessary. Cant wait till Molehill hits release
lightning and shadow involve very intensive calculation and constantly hit 80+% CPU is not fine in my book, of course if you just do basic thing like phong shading it doesn’t matter anyway.
The point is developers shouldn’t be encouraged to use those type of rendering until hardware acceleration officially comes to Flash player.
I agree with Rim this is one of the downside on most 3D engine class, never saw yet a 3D engine with good rendering on low CPU when it comes to lightning or shadow but that’s do to flash nature acceleration…..
And Emroni saying don’t get nuts with it is really something subjective for each developer
A little tip when using that btw: if you rotate or use the z value to animate, lets say, a plane, youll see that when you set everything to 0 it might look blurry. The reason this is happening is because Flash turns it into a bitmap and smooths it. Youll have to save the original matrix of your movieclip before applying 3D, so you can restore it after your animation. Heres an example:
Thanks for the tip Emre! I had to jump through hoops for my last file because of this. I ended up accounting for the extra 1px that the smoothing adds but this solution is so much better
Ive decided to start writing down all those little tips and tricks I found in the last few years. So Im working on a blog now Hope you guys will like it
I have extrema trouble with loading external models in Away3D it’s really a pain…