January 22, 2008

Papervision 3D Object Rotation

pv3d.jpg
http://paranoidart.com/showcase/papervision3d/001/001.html

Rotating an papervision object using Flex. This does not load any collada file, these objects are prebuilt in papervision3d.

It gives an understanding of the rotation of an object at different axis. Pretty basic level.

Objects Used:
• Plane
• Cube
• Sphere
• Cylinder
• Cone
• PaperPlane
• ParticleField

Right click and 'View Source' to view the source or click here.

Also, I noticed that if you want an plane to view at the right construction size from a camera view. You require to have the camera3d with the following settings.

pcamera.x = 0;
pcamera.y = 0;
pcamera.zoom = 11;

Posted by Varun Shetty at 09:46 PM | Comments (0)

October 08, 2006

Flex Remoting

Finally I have been able to make a Flex 2.0 - OpenAMF remoting connection.
I installed openAMF on an tomcat server and used a java service written by a friend to return date and value data from an CSV file. I loaded the data to a data grid and chart component in flex. The results were great.
Took me around 15 min to make it, but around 2 days to understand and achieve it. :)
result:
flexremoting.jpg

here are some links that would be helpful to achieve this.
http://www.adobe.com/devnet/flex/articles/flex2_amfphp_03.html
http://renaun.com/blog/code-examples/
http://renaun.com/blog/?p=31

Posted by Varun Shetty at 07:43 PM | Comments (0)