Advertisement

3D tutorials

Started by April 17, 2001 09:56 AM
1 comment, last by AbeE 23 years, 7 months ago
Before I started using OpenGL I knew how to program but never had done any 3D stuff. OpenGL is so friendly that I have been able to do many cool things in 3D without any REAL understanding of the 3D maths involved so I purchased a 3D book, but it seems that it requires basic 3D knowledge from the start because it explains little theory and just writes ALOTA maths. I believe that I can do the maths eventually but I was wondering if anyone here could tell me of any sites with basic 3D theory tutorials, such as the equations needed to convert 3D coordinates to 2D screen coordinates and examples of how to implement this into code (matrix transformations for rotation and translation etc) Thanks for the help guys ps-How does D3D compare to OpenGL with respect to 3D knowledge required, much harder?
Try this...

Think about what you want to draw and then figure out the math.

For example, if you have a camera that you want to rotate through the edges of a sphere about two axis you will need to convert spherical cooridinates into cartesian cooridinates to use with gluLookAt(). Just by a basic trig book full of formulas...that should do the trick!


Thanks!

John William Blair
Thanks!John William Blair "The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, shepherds the weak through the valley of the darkness. For he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee."
http://members.home.com/chucklez/wtc/index.html
Advertisement
Thanks JWBlair.
i just thought I ''d say, incase someone else is looking for a good 3D tutorial site I found one at
http://www.3dica.org/3dica.htm
See ya

This topic is closed to new replies.

Advertisement