Advertisement

OpenGL

Started by January 19, 2002 01:12 PM
12 comments, last by vissione 22 years, 9 months ago
Hmm. Odd. I was just checking in the GLUT header file, and sure enough, there is a glutSolidSphere. I wonder why he included it, unless it was a wrapper for gluSolidSphere.

Later,
ZE.

//email me.//zealouselixir software.//msdn.//n00biez.//
miscellaneous links

[if you have a link proposal, email me.]

[twitter]warrenm[/twitter]

"GLU" has custom functions for creating shapes "i.e. spheres, torus, teapot, etc." as well as setting the viewing matrix "gluLookAt (tho, i don''t find this function intuitive at all)".


"GLUT" is for wrapping OpenGL to the O/S as forementioned. i.e. keyboard input, mouse movement, creating a window.


hope this clears things up a little.

To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
Advertisement
Note also that GLU supports NURBS and quadrics. Hooray!

Later,
ZE.

//email me.//zealouselixir software.//msdn.//n00biez.//
miscellaneous links

[if you have a link proposal, email me.]

[twitter]warrenm[/twitter]

>>Odd. I was just checking in the GLUT header file, and sure enough, there is a glutSolidSphere. I wonder why he included it, unless it was a wrapper for gluSolidSphere. <<

yes it is (check the glut source)

to the original poster
- they were referring to either glut, glaux or sdl
glaux is buggy + should never be used
glut is good but personally i prefer sdl www.libsdl.org/ (pretty simple + also handles input + audio + other stuff)

This topic is closed to new replies.

Advertisement