Archive for May, 2007
papervision3D doublesided postcard with components 2 comments
ok, finally got to look at CS3, AS3 & papervision3D today. I wanted to create a ‘postcard in space’ thinking it could be useful for UI development/design.
I’m not sure if I’ve implemented it in the best fashion so input would be good.
Example:
http://www.darklump.co.uk/experiments/papervision3d/as3/postcard/
click the postcard to spin it. On the back click anywhere other than components to spin again¦.
Source:
http://www.darklump.co.uk/experiments/papervision3d/as3/postcard/source.zip
Features I needed to deal with:
1:
Doublesided 3dObject with different images on front and back.
Implementation:
I used 2 Plane objects. This gives no depth and wonder if I should be using the Cube?
2:
Back of postcard is a component based form to allow user input
Implementation:
I couldn’t find a way of using components in a papervision3d Object? Is it possible? Instead I used this work around. Place a MovieClip off stage containing the form components. Then take a Bitmap snapshot of it to use as the material for the papervision3d Object. When the 3DObject spins around the actual movieClip containing the components is repositioned over the 3dObject and can then be interacted with.