caesar5

02-29-2004, 06:03 PM

i use this formula :

x=1.6f*(cos(0.5*angle1)*cos(0.5*angle1)*cos(0.5*an gle1));

y=1.6f*(cos(angle2)*sin(0.5*angle1)*cos(angle2)*si n(0.5*angle1)*cos(angle2)*sin(0.5*angle1));

z=1.6f*sin(angle2)*sin(0.5*angle1);

but however i didnt know how to wrap it when it is rendered. everytime i rendered it i couldnt get a smooth shape.

x=1.6f*(cos(0.5*angle1)*cos(0.5*angle1)*cos(0.5*an gle1));

y=1.6f*(cos(angle2)*sin(0.5*angle1)*cos(angle2)*si n(0.5*angle1)*cos(angle2)*sin(0.5*angle1));

z=1.6f*sin(angle2)*sin(0.5*angle1);

but however i didnt know how to wrap it when it is rendered. everytime i rendered it i couldnt get a smooth shape.