gochenid
12-30-2005, 10:16 AM
i have an elliptic paraboloid equation z=0.5*(x*x+y*y). I generated a set of points (x,y,z). I can draw these points in 2D with the equations:
x=rho*cos(a)*sin(b)
y=rho*sin(a)*sin(b)
z=rho*sin(b)
a'=a+a0
b'=b+b0
x'=rho*cos(a')*sin(b')
y'=rho*sin(a')*sin(b')
z=rho*sin(b').
by ploting (x',z').
i can do the horizontal rotation without any problem, but the vertical rotation is not working, anyone has any idea?
x=rho*cos(a)*sin(b)
y=rho*sin(a)*sin(b)
z=rho*sin(b)
a'=a+a0
b'=b+b0
x'=rho*cos(a')*sin(b')
y'=rho*sin(a')*sin(b')
z=rho*sin(b').
by ploting (x',z').
i can do the horizontal rotation without any problem, but the vertical rotation is not working, anyone has any idea?