PDA

View Full Version : tesselation different between linux and windows



wwuster
09-13-2010, 09:47 AM
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

wwuster
09-13-2010, 10:26 AM
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