03-15-2002, 10:53 PM
I am somewhat new to OpenGL, and used Nehe's page as a starting site. Anyhow, I was wondering why himself <along with the apparent majority> favors winAPI over GLUT. I've converted quite a few of Nehe's examples to glut code, and there has been absolutely zero speed change, and about 500% visibility change.
The winapi seems just silly. In almost every case the final source code is 50% or more smaller. So, with glut you have portability. Winapi, no portability. With glut you have very "visible" code. With winapi you have bundles of various CRAP <I actually took the time to learn a bit of it, when I found out of the default paremeters for window declaration has been outdated since win3.x, but microsoft has still not created an overloaded equivalent function without the useless parameter I became sick and threw out the idea of bothering with winapi>.
Anyhow, what am I missing????
Thanks.
The winapi seems just silly. In almost every case the final source code is 50% or more smaller. So, with glut you have portability. Winapi, no portability. With glut you have very "visible" code. With winapi you have bundles of various CRAP <I actually took the time to learn a bit of it, when I found out of the default paremeters for window declaration has been outdated since win3.x, but microsoft has still not created an overloaded equivalent function without the useless parameter I became sick and threw out the idea of bothering with winapi>.
Anyhow, what am I missing????
Thanks.