nint22 / dwarfcraft

Automatically exported from code.google.com/p/dwarfcraft
Other
0 stars 0 forks source link

Weird depth problem we can't fix... #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Missing faces is a world-gen issue and just fixed; but the depth issue is STILL 
visible.

Original issue reported on code.google.com by nin...@gmail.com on 28 Oct 2011 at 10:39

GoogleCodeExporter commented 9 years ago
Note on the fix for the world gen: I'm now allocate the entire world; in the 
future, I will have to NOT do this, but only allocate chunks that truly need it.

Original comment by nin...@gmail.com on 29 Oct 2011 at 2:43

GoogleCodeExporter commented 9 years ago
Note: double check ortho projection; might be an issue with that.

Original comment by nin...@gmail.com on 29 Oct 2011 at 3:05

GoogleCodeExporter commented 9 years ago
Not a problem with ortho projection...

Original comment by nin...@gmail.com on 29 Oct 2011 at 8:09

GoogleCodeExporter commented 9 years ago
Fixed; was using glEnable/glDisable with GL_DEPTH and not GL_DEPTH_TEST. 
"GL_DEPTH_TEST" is the correct enumeration for depth-testing in OpenGL.

Original comment by nin...@gmail.com on 29 Oct 2011 at 9:17

GoogleCodeExporter commented 9 years ago
Closed

Original comment by nin...@gmail.com on 29 Oct 2011 at 9:17