Is there GLUT under LWJGL? If there is not is there anyway to use it under java.
Thanks
which parts of glut are you specifically looking for ?
Not specific. It is just I bought this book: OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 1.4, 4th.
And in that book a lot of examples use GLUT, so I was wondering if LWJGL has some GLUT in it :) that's all. And if not is it important for it to have. Since I started reading that book I came to conclusion that GLUT is not so powerful, that there is a lot more on a market to replace GLUT with. So, how come people still wanna use it. :)
Regards
The thing that most people use GLUT for (afaik), is window initialization and management. The reason for this is that creating a window and rendering to it is rather different on Win32, MacOSX, Linux - and GLUT simpleifies this greatly because of a single interface.
But since LWJGL is a Java wrapper, we're actually doing sortof the same as GLUT, in that you just call Display.create to create a window - and we sort all of the issues per platform.
That said, there are some methods for rendering a cube or other stuff which a few use from GLUT. But its not something that anybody have looked at. If one wanted to do GLUT in Java I think it would be a fairly easy task. But from my point of view, it isn't needed.
Thanks a lot, that clears out everything.
Besides I am not used to GLUT rather used to the Display way of doing things so I do not miss anything. Anyway, g2g read that heavy book :)
Regards