Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

FabioPal

GLut vs NonGLut

This topic is 5662 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I wrote a little, uncomplete, engine using GLut. Yesterday i was reading tutorial N°1 and tried to convert the entire engine without using GLut. It all went right. The engine is now working but... I have a terrible lack of speed!!! It''s about 50% less!!! What went wrong? Please Help! --------------------------------------- There are 10 type of people: those who knows binary code and those who doesn''t ---------------------------------------

Share this post


Link to post
Share on other sites
Advertisement
I read something about disabling VSync...
It should speed up the rendering speed?
Could this be a reason???

---------------------------------------
There are 10 type of people:
those who knows binary code
and those who doesn''t
---------------------------------------

Share this post


Link to post
Share on other sites
I am not sure since I don''t use GLUT since the last year, however I think this is not the problem.

Maybe you are not shortcircuiting your WM_PAINT message.
I suggest to compare your code to the one you''ll find here on nehe''s site.

Share this post


Link to post
Share on other sites
It IS the code from Lesson 1!
I only rewrite (rewrote??) the paint function...



[edited by - FabioPal on June 17, 2003 8:07:59 AM]

Share this post


Link to post
Share on other sites
quote:
Original post by FabioPal
I read something about disabling VSync...
It should speed up the rendering speed?
Could this be a reason???


Disabling vsync would not help unless he ran the glut engine with it off. I would have to say the problem is in your main loop. Perhaps some code?

[edited by - tHiSiSbOb on June 17, 2003 9:16:11 AM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!