Away3D.com
rulururu

post Flat Lighting on bitmapMaterial

June 26th, 2007

Filed under: Materials — Alexander Zadorozhny @ 4:44 pm

TurtleLight

Click on the Turtle, or here, to see!

The day started badly, as I’ve spent two evenings working on an algorithm for smooth lighting and it’s simply too heavy for Flash. All I got was a snail for running speed. You just can’t work at the pixel level in Flash…

But I was walking around for a few days with a little idea in my head. For the ‘bitmapdata only’ renderers I am working on, I have written a flat lighting routine. A simple bit of code, but a very efficient one! So - I decided to apply it to the bitmapMaterial.

And what a nice surprise, it seems the material does like it! After the defeat of the smooth shading, I could balance it with a very fast flat shading. If there are sufficient triangles, you even could get a smooth-shading illusion!

Fabrice

post First Glimpse of Physics

June 21st, 2007

Filed under: Physics — Rob Bateman @ 11:26 am

So there are still a few conflicts to sort out before i commit the code - but for now, physics is working in away3d!

A demo of physics applied to the standard EngineTest demo can be seen here: EngineTest

You can see Sphere-Plane collisions, Sphere-Sphere collisions, gravity and edge detection all in action.

I will publish a more comprehensive list of features present and planned after the code has been commited to source, but for now, enjoy the show!

Rob

ruldrurd
   
 
Hair drug test and herbal detox products. Visit drug detox website for more details on cannabis and marijuana drug detox.
FireStats iconPowered by FireStats
Powered by WordPress, Web Design by Laurentiu Piron
Entries (RSS) and Comments (RSS)