Stepan Hlava
March 31st, 1999, 03:44 AM
I made my program in C++ Builder 3 ,It can move human body ,it is for our dance group ,All is ok ,I use 3D view ,but only by lines ,I want to put on this lines colored polygons or textured polygons around each piece of the body.it makes about 100 polygons for one body.if I use 10 or 15 bodies it makes 1500 polygons.
what can i use for transforming from 3D to 2D(screen) in my program.
I'm using >>>
X=-Jx*cos(alfa)*Xb+Jy*cos(beta)*Yb
Y=-Jx*sin(alfa)*Xb-Jy*sin(beta)*Yb+Jz*Zb
>>
X -> X axis on screen
Y -> Y axis on screen
Jx,Jy,Jz - zoom X,Y,Z
Xb -> 3d points X axis
Yb -> 3d points Y axis
Zb -> 3d points Z axis
is it posible find simplier function for this?
what can i use for transforming from 3D to 2D(screen) in my program.
I'm using >>>
X=-Jx*cos(alfa)*Xb+Jy*cos(beta)*Yb
Y=-Jx*sin(alfa)*Xb-Jy*sin(beta)*Yb+Jz*Zb
>>
X -> X axis on screen
Y -> Y axis on screen
Jx,Jy,Jz - zoom X,Y,Z
Xb -> 3d points X axis
Yb -> 3d points Y axis
Zb -> 3d points Z axis
is it posible find simplier function for this?