Jump to content
  • Advertisement

Archived

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

TheMatrixXXX

OpenGL 4 opengl windows in one app

This topic is 6085 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

hi all can someone tell me why my app only show one of four windows after start? when i start another ogl app it works why not in one app? i need this to create a level editor thx --=[[TheMatrixXXX]]=--

Share this post


Link to post
Share on other sites
Advertisement
That can be quite heavy on memory since each context will need copies of the textures.

Often apps will just have one opengl context, one window, and manually handle the different parts inside using the stencil buffer or some other technique.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
if you use GLUT library, you can use subwindows creation utility
supplied with it.

Share this post


Link to post
Share on other sites
i have the handles in the form class ( i use borland c++ builder 5.0)
but i know thats heavy in memory

can you tell me how to use the glut library in borland c?
i get an error cause it is the M$ lib format

thx

--=[[TheMatrixXXX]]=--

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
glViewport?

Share this post


Link to post
Share on other sites
@anonymous poster:
what do you mean with "glViewport?" ?


how can i create different OGL contexts?
why don´t work it with the contexts in the form classes?
they are different i think cause that ar different windows


thx
--=[[TheMatrixXXX]]=--

Share this post


Link to post
Share on other sites
i use glViewport
i have problems with the handles not with the viewport
i have one window of four because the next initialized window overwrites the previous handle i think

or what do you mean with glViewport? can i split a gl window in four parts like in a level editor?

thx
--=[[TheMatrixXXX]]=--

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!