Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: drawing cube on MFC, not smooth :(

Hybrid View

  1. #1
    Newbie Newbie
    Join Date
    Dec 2012
    Posts
    1

    drawing cube on MFC, not smooth :(

    Hello,
    i'm newbie in openGL

    I tried draw cube in MFC using visual studio. when I zoom out the cube, the picture was not smooth

    how to solve this problem?




    thanks in advance

    sorry for my bad english

  2. #2
    Intern Contributor
    Join Date
    Sep 2004
    Posts
    79
    Looks like Z-fighting to me. To prevent that, you have to adjust the range of you Z-Buffer. Especially the near value. (Try to increase it, e.g. double the near value, and check if it gets better.)

Posting Permissions

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