Jump to content


- - - - -

elliptic paraboloid


3 replies to this topic

#1 gochenid

    New Member

  • Members
  • Pip
  • 1 posts

Posted 30 December 2005 - 06:16 PM

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?

#2 Nils Pipenbrinck

    Senior Member

  • Members
  • PipPipPipPip
  • 597 posts

Posted 30 December 2005 - 07:45 PM

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

#3 CobraLionz

    Member

  • Members
  • PipPip
  • 54 posts

Posted 22 January 2006 - 06:31 AM

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

#4 Reedbeta

    DevMaster Staff

  • Administrators
  • 4979 posts
  • LocationBellevue, WA

Posted 22 January 2006 - 05:19 PM

cobra, this thread is almost a month old...I think the OP is gone by now.
reedbeta.com - developer blog, OpenGL demos, and other projects





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users