Jump to content
  • Advertisement
Sign in to follow this  
hjpospie

OpenGL Opengl with MFC:how to activate antialiasing

This topic is 3954 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 together! I am successfully programing small 3d games with the MFC and opengl (My IDE is V++ vers.6.0 as I don't like the new one). I get positive answer that my hardware supports antialising but I cannot activate it as for that reason the existing renderview would have to be destroyed and newly activated with the new Pixelformat. In a normal win32 program all works fine as there it is easy to destroy the initial window and then create a new one incl. GL_MULTISAMPLE_ARB support. Has somebody a solution how to do the same in a MFC program? A sample program would be highly appreciated....

Share this post


Link to post
Share on other sites
Advertisement
I solved the problem in the meantime:
1. Made a small program which requests the pixelformat supporting antialising
2. Then the pixelformat identifier ist put to the clipboard
3. The small program opens the MFC program
4. In the MFC program i get the pixelformat identifier from the clipboard
5. The MFC program creates the render context with the identifier from the clipboard
6. the small program empites the clipboard and exits.

Maybe this solution is of help to somebody.....

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!