please define horizontal and vertical rotation. We’re in 3d, and it’s all about the point of view.

Please log in or register to post a reply.

please define horizontal and vertical rotation. We’re in 3d, and it’s all about the point of view.

Sounds to me like you don’t have a clue about spherical coordinates. You know that SAT question about the length of the diagonal of a cube? If you can answer that this should be easy.

edit:

i’d be more specific but this sounds like homework

- Upcoming Multiplatform Game Program...
- Our first game - looking for feedbacks
- Network Emulation Tool
- Trouble with accessing GLSL array
- Fiction
- Game Programming Patterns: Bytecode
- Interactive WebGL Water Demo
- Skeletal Animation Tutorial with GP...
- Unreal Engine 4
- Microsoft xbox one selling poorly

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(;)

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?