I wanted to draw a 3D cube, but it doesn't display correctly. That is, the Z buffer (depth buffer) does not work. The initialization of the depth buf ...
I wanted to draw a 3D cube, but it doesn't display correctly. That is, the Z buffer (depth buffer) does not work. The initialization of the depth buf ...
I am trying to create some 2D UI drawing in D3D11. I am trying to get the draw calls down as much as possible to improve performance. Previously, I ba ...
I'm using an SCNTechnique with SceneKit to implement my own multipass rendering. I have 1 DRAW_SCENE pass that outputs to separate colour and depth ta ...
I am trying to adapt the code from this answer to use 1/z depth buffer and here is my attempt Unfortunately I didn't get the output I desired it ...
I'm quite new in 3D graphics so I'm just learning :-D. I wanted to create a cube as my first project. I chose PyOpenGl and ran into the following prob ...
I am trying to read the depth buffer and store it into an array using openTK in C#. This is my code so far: Well it does not produce any errors, b ...
In short I would like to read a single pixel value from a WebGL 2 depth texture in JavaScript. Is this at all possible? The scenario I am rendering ...
I'm following this tutorial on 2D shadow mapping and I've gotten it working in WebGL. Now, I am looking to develop a way to recompute single rows in t ...
I am using the example code of the documentation from PyVista: Unfortunately I receive the following Error: I don't know why the error occurs an ...
I am rendering a single mesh test object that contains 8000 cubes, 1 monkey, and 1 plane. I checked normals and winding orders. all seems correct for ...
I have implemented shadow maps in GLSL by rendering the view from a light into a depth texture, and then in a second pass compare these values when re ...
I'm trying to generate an Open3D point cloud from a depth image rendered in MuJoCo. My code is below, with the MuJoCo dependency commented out and ren ...
I have a complex 3D scenes, the values in my depth buffer ranges from close shot, several centimeters, to several kilometers. For some various effect ...
Is it possible to implement custom depth buffer values so that I can implement a non-transitive ordering? E.g. Which I imagine would be implemented ...
I am trying to calculate distance from a person to the the Kinect sensor v2 in UWP c#. In WPF, I was getting this by In UWP using depth frame, I a ...
The open gl es 2.0 extension, OES_depth_texture, enables writing of depth information to frame buffer with an attached texture. However, the spec not ...
I am new to OpenGL. I want to read and save all the depth values from the rendered scene using framebuffers. I managed to set it up as a framebuffer a ...
I'm writing some metal code that draws a skybox. I'd like for the depth output by the vertex shader to always be 1, but of course, I'd also like the v ...
I am rendering a scene using three.js that needs multiple post-processing passes. Most of those steps need the depth buffer. My plan was to first rend ...
I designed a very basic set of depth shaders for rendering depth to my shadow map depth textures. This is the code for the depth fragment shader that ...