Can I add a new geometry class in Away3d 4

Software: Away3D 4.x

Avatar
ganesh, Member
Posted: 25 September 2012 08:03 AM   Total Posts: 54

Away already has some basic geometry shapes like cube, plain, torus etc.
Can I add a new custom geometry like “Pyramid”, “Star” or a “Tea Pot”.

I know it can be created in any 3d application, and can be imported at away, but I want to know, how can I do it manually with the help of Vectors

   

Avatar
80prozent, Sr. Member
Posted: 25 September 2012 03:52 PM   Total Posts: 430   [ # 1 ]

hi

of course you can create your own geometry classes. just take a look at any primitive-geometrie found in away3d. for example you could take a sphere-geometry, copy it, and remove some of the code to get a half-sphere-geometry. for complex meshes like a teapot, it might be difficult to get the math right, but its totally possible. generell its much easier to use imported (complex) meshes, than to create them as primitves.

 Signature 

sorry…i hope my actionscript is better than my english…

   

Avatar
ganesh, Member
Posted: 27 September 2012 06:02 AM   Total Posts: 54   [ # 2 ]

thanks prozent, I liked the idea of copying existing class and modifying it

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X