CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2009
    Posts
    37

    simple and no-error containing openGL programs wont render, Win 7

    After successfully building program, I go to run it and only get the window with a transparent center to appear.

    I tried other simple codes and the same thing occurs

    For troubleshooting, I'm using the simple code located at this link
    http://www.cs.arizona.edu/classes/cs...ode/triangle.c

    Any suggestions why I'm having issues?

    I'm using visual studio 10 express on windows 7 professional

    thanks in advance for any considerations
    Last edited by Momentum; January 20th, 2011 at 12:04 PM.

  2. #2
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: simple and no-error containing openGL programs wont render, Win 7

    There are several things you can try:

    1) Set the glClearColor() and do a glClear() to test whether you're able to affect the window at all.
    2) If so, then it's probably an issue with your projection or modelview matrices, or the viewport. Try an orthographic projection, it's usually easier to get right than perspective.

  3. #3
    Join Date
    Oct 2009
    Posts
    37

    Re: simple and no-error containing openGL programs wont render, Win 7

    thanks for the reply, doing further internet searching about the Asus softwares like smart doctor and gamer osd...I read that a guy was having problems with his opengl, so he began to remove each one of the Asus softwares until he found what was causing the conflict

    I uninstalled asus gamer osd, and restarted the computer. It now renders the simple triangle in the code. I log off/log back in just to make sure it was working, and it is...hopefully it will stay that way

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured