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: tesselation different between linux and windows

  1. #1
    Intern Newbie
    Join Date
    Nov 2009
    Posts
    33

    tesselation different between linux and windows

    I am drawing a closed polygon with 46 vertices. The code works in both linux and windows. The initialization part is different where needed. The actual drawing code is the same. On linux, it seems to work fine, but on windows I get a different result. Here is a picture of the two results:

    http://www.hindbrain.net/winlin.jpg

    The top image is windows and is wrong. The bottom one is from linux code and is what it should look like. On windows I'm using an nvidia driver. On linux I'm not using a hardware-accelerated driver.

    Can someone explain what might be causing this difference?

    thanks,
    William

  2. #2
    Intern Newbie
    Join Date
    Nov 2009
    Posts
    33

    Re: tesselation different between linux and windows

    Nevermind. I found it. In the GLU_TESS_VERTEX function I had a comparison of a double to 0.0. It acted different in windows, so
    I made a small change and it works.

    William

Posting Permissions

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