Setting radius on sphere vs scaling.

Software: Away3D 4.x

medellin, Newbie
Posted: 14 December 2012 09:08 PM   Total Posts: 8

Is there any difference? I ask because I’d like to make 1 sphere, clone its geometry several times, and scale each appropriately.—rather than make a new sphere geometry for each radius value.

   

Avatar
loth, Sr. Member
Posted: 18 December 2012 12:05 AM   Total Posts: 236   [ # 1 ]

yep use clone

var f:Mesh = new Mesh(new SphereGeometry(1, 30, 20), material);
var n:Mesh
for (var i:uint = 0; i

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X