Hi! I'm trying to write a molecular viewer with pyglet. I've already 
developed a prototype with GLUT, which is working fine. I've ported the 
same code on pyglet but the result is that I have hidden surface removal 
issues. See the picture to understand what I mean. The cylinder should be 
displayed as they were inside of the sphere. As an additional information, 
if I try with the  wxpython opengl context I have the exact same problem.

The initialization code (the drawing take place in a subclass) is in this 
pastebin: http://pastebin.com/E5dwYke7

Did you ever had a problem with hidden surface removal? How to make it work 
correctly?

<https://lh3.googleusercontent.com/-8ECXJnWe7qY/TzVGmBnpmRI/AAAAAAAACj8/43CHtxkn8PM/s1600/Screenshot%2520at%25202012-02-10%252017%253A30%253A53.png>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pyglet-users/-/z4ZQg1noDR4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to