zbuffer
How to access depth buffer in pixel shader in DirectX 9.0 c
Is it possible to access depth buffer via pixel shader 2.0 in DX 9.0c? I\'ve google\'d a bit and the only solution I\'ve found describe GPU hack that works only on GeForce 6 & 7.[详细]
2023-04-02 12:33 分类:问答Zbuffer rules for gl_Position
Here are my settings for opengl, incase they matter: glViewport(0,0,w,h); //w=800, h=600 glShadeModel(GL_SMOOTH);[详细]
2023-03-13 14:41 分类:问答Change depth buffer limits for pretransformed mesh in DirectX 9.0c
I\'m writing small application that recieves pretransformed vertices and display them on screen. FVF for vertice is defined as (and I can\'t change it)[详细]
2023-02-27 02:49 分类:问答The advantages of using a Z-Buffer versus prioritising pixels according to depth
This is a bit more of an academic question. Indeed I am preparing for a an exam and I\'m just trying to truly understand this concept.[详细]
2023-02-19 17:08 分类:问答OpenGL Z-Biasing (Polygon Offset) Limitations
I have a two coplanar polygons. I tried doing. glEnable(GL_POLYGON_OFFSET_FILL); glPolygonOffset(0,1); and expected one to be distinctly \"on top of\" the other.[详细]
2023-02-18 08:23 分类:问答Efficient implementation of a Z-Buffer
I am currently implementing my own renderer usi开发者_JAVA百科ng the Z-Buffer algorithm. Once I have done the necessary calculations (read: My Z-Buffer is filled with the correct values) I use SDL to[详细]
2023-02-06 18:44 分类:问答How to get Z values from Z Buffer
I\'m having problems with drawing in OpenGL and I need开发者_运维问答 to see exactly what values are being placed in the depth buffer. Can anyone tell me how to retrieve these values?[详细]
2023-01-31 20:09 分类:问答Drawing unobscured health bars in a Java 3D scene
So I\'m working on a game in Java 3D and I\'m implementing health bars that hover above units. I started by drawing a quad at a 3D point above the unit\'s location and applying a Billboard behavior t[详细]
2023-01-28 07:00 分类:问答Perspective correct texture mapping; z distance calculation might be wrong
I\'m making a software rasterize开发者_开发问答r, and I\'ve run into a bit of a snag: I can\'t seem to get perspective-correct texture mapping to work.[详细]
2022-12-16 16:34 分类:问答