In Flash Player 10 one can literally ‘build’ 3D objects by placing their elements in the 3D space. Such objects can be rotated easily. The z-sorting, however, has to be done ‘by hand’. In this tutorial, we show that with the effects of perspective projection, sorting by the z-coordinate does not work very well. Instead, we sort with respect to the distance from the observer.
1851 readersIn Flash Player 10 one can literally 'build' 3D objects by placing their elements in the 3D space. Such objects can be rotated easily. The z-sorting, however, has to be done 'by hand'. In this tutorial,
461 readersA stunning 3D gallery of outer space images! The new 3D ActionScript 3 methods available in Flash Player 10 and Flash CS4 make it possible to literally 'build' complex 3D objects by positioning their
1258 readersIf a card rotating in 3D is not located near the projection center, determining which side should be visible by looking at the angle of rotation may not work. We show a depth-sorting method that works
291 readersIf a card rotating in 3D is not located near the projection center, determining which side should be visible by looking at the angle of rotation may not work. We show a depth-sorting method that works in every case by using a normal vector to a card and a vector toward the observer. We present
310 readersIn this new tutorial at flashandmath.com, we show how to use a few simple 3D features of Player 10, rotationX, rotationY, fieldOfView, to perform free rotations of bitmaps in 3D with perspective and texture mapping. Amazing. And
344 readersOne of the most useful design pattern when you don’t want to work with framework like Swiz, Cairngorm, Mate or PureMVC but you’d like to work with a comfortable utility to manage events in your application or web site is Observer Pattern. The definition from Wikipedia is: The observer pattern (a subset of the publish/subscribe
1887 readersEach instance of the DisplayCube class accepts any DisplayObjects as sides, it revolves in 3D, its sides respond to clicks. Moreover, the cube drops shadow in 3D! We show an application with three Bitmap cube menus
755 readersEach instance of the DisplayCube class accepts any DisplayObjects as sides, it revolves in 3D, its sides respond to clicks. Moreover, the cube drops shadow in 3D! We show an application with three Bitmap cube menus that drop dynamic shadows on the floor beneath as they rotate. Correct depth-sorting regardless of position and projection settings.
369 readersWas working with the 3D features of Flex 4 specificallyspark.effects.move3Dspark.effects.rotate3Dspark.effects.scale3DFor a presentation at the Melbourne Flex User Group and decided to create a 3D star-field. This worked out well for my demo, it allowed me to demonstrate something real.You can control the star-field, the controls, top-bottom arePerspective Projection XPerspective Projection YSpeed of effectSize of StarDirection of
566 readersDo you remember using MovieClip.getDepth() & MovieClip.swapDepths(target:Object) in AS 1.0 and 2.0. This was how we used to work with the z-sorting of MovieClips. Oh the joy! With the release of AS 3.0 depths went out the window and the display list was introduced, the index of the child denoting the z-sorting of the DisplayObjects.
8,004
Subscribe to RSS headline updates from:
GurusUnleashed
Powered by FeedBurner
Curious what others are searching for? Below are the most popular search terms over the last 30 days.

