Flash


12 Feb 2009
3d Solar System in Flash

Just a quick post to show off something I was working on last week, a 3d solar system with orbiting planets done in Actionscript 3

[swfobj src=”http://blog.onteca.com/flash_stuff/3d_solar_system/planet_view.swf” width=”600″ height=”450″ align=”center” required_player_version=”9″]

it uses displacement maps to make the planets look like spheres, the displacement maps are generated at run time, and affect the planets texture, cloud cover, and shading. depth sorting is done by flipping layers dynamically so that things appear in the right order.