Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
159 user(s) are online (132 user(s) are browsing Forums)

Members: 0
Guests: 159

more...

Headlines

 
  Register To Post  

OpenGL - Refreshing window without gl***func( .... ) ?
Quite a regular
Quite a regular


See User information
Hi All,

in fact, I want to manually handle the refreshing of the app window without using all the glut functions like :
glutDisplayFunc, glutIdleFunc, nor calling glutMainLoop ... is this possible ?

Does someone have a tutorial about doing this ?

Thank you.

Regards,
Fred

All we have to decide is what to do with the time that is given to us.
Go to top
Re: OpenGL - Refreshing window without gl***func( .... ) ?
Just can't stay away
Just can't stay away


See User information
@freddix

i have only tutorials about open gl and glglut.. sorry and honestly i don't know how could you handle an opengl refreshing action, without using an opengl function..

Go to top
Re: OpenGL - Refreshing window without gl***func( .... ) ?
Just popping in
Just popping in


See User information
@freddix

GLUT is optional. SDL can open an OpenGL context without GLUT. It has a special command for page flipping under OpenGL also. See SDL_GL_SwapBuffers and for more information see SDL_GL_SetAttribute.

Go to top
Re: OpenGL - Refreshing window without gl***func( .... ) ?
Quite a regular
Quite a regular


See User information
@freddix

I am honestly not quite sure what you want to achieve, but if I get this correctly, you want to use MiniGL without GLUT. If that is the case, look at the RasOnly or Warp samples in the MiniGL archive, they don't use GLUT IIRC.

Seriously, if you do want to contact me write me a mail. You're more likely to get a reply then.
Go to top
Re: OpenGL - Refreshing window without gl***func( .... ) ?
Quite a regular
Quite a regular


See User information
@Rogue
In fact, I use GLUT for what it simplify life but about refreshing screen, I don't want to use the automatic functions because they are too restrictive for what I want to do ;)
I have found.
Simply using glutSwapBuffers() works fine even in simple buffered mode :p

All we have to decide is what to do with the time that is given to us.
Go to top
Re: OpenGL - Refreshing window without gl***func( .... ) ?
Just popping in
Just popping in


See User information
@freddix

Normally, you would use glutPostRedisplay() for this effect.

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project