Community Digest

Top new questions this week:

Multiple color attachments receiving color although only one being written to

I have a 2D texture array of 8 layers attached to 8 color attachments of an FBO as so: ...

shader texture fragment-shader frame-buffer  
user avatar asked by ElPotac Score of 2
user avatar answered by Thomas Score of 1

Greatest hits from previous weeks:

What is a stencil buffer?

Wikipedia states that a stencil buffer is some arbitrary buffer a shader can use. However, it hints that it's used for clipping, or otherwise "tightly binding" the depth and pixel buffers, slightly ...

stencil-buffer  
user avatar asked by Qix - MONICA WAS MISTREATED Score of 40
user avatar answered by glampert Score of 44

Archimedean spiral in C++

Im trying to plot the x and y positions of an Archimedean spiral in C++. So far I've been trying something like this, but no luck: ...

c++ geometry  
user avatar asked by David Score of 9
user avatar answered by David Score of 7

Performance of Compute Shaders vs. Fragment Shaders for Deferred Rendering

I have written a deferred renderer that can use either a fragment shader or a compute shader to execute the shading pass. Unfortunately, the compute shader implementation runs slower. I'm trying to ...

performance compute-shader fragment-shader deferred-rendering  
user avatar asked by geometrian Score of 13
user avatar answered by geometrian Score of 21

What are the current open problems in Computer Graphics?

I did a quick investigation about the topic but there doesn't seem a decent resource to find related problems without digging into latest CG papers (unlike CS problems you can easily find a Wikipedia ...

real-time physically-based render  
user avatar asked by concept3d Score of 5
user avatar answered by Krzysztof Narkowicz Score of 10

Why are quads used in filmmaking and triangle in gaming?

In film school, in the classes of 3D modeling, I was told that when we model something for films we maintain topology of 4 edged polygons. Any polygon which has more or less than 4 edge/vertex is ...

3d mesh triangulation  
user avatar asked by Santosh Kumar Score of 26
user avatar answered by Noah Witherspoon Score of 29

How can I get a signed distance (SDF) from a mesh?

I am trying to use constructive solid geometry (CSG) and boolean operators to combine various shapes and get the outer (possibly concave) hull. This seems to work okay when using primitive shapes like ...

3d algorithm mesh signed-distance-field  
user avatar asked by Sirius 5 Score of 4
user avatar answered by Michael Sohnen Score of 3

For shader math, why should linear RGB keep the gamut of sRGB?

sRGB is often contrasted with "linear RGB." Images are stored on disk and passed to displays in sRGB, which is approximately perceptually uniform in intensity. Shader math is done in linear RGB, which ...

rendering lighting color physically-based  
user avatar asked by Maxpm Score of 15
user avatar answered by Kel Solaar Score of 13
You're receiving this message because you subscribed to the Computer Graphics community digest.
Unsubscribe from this community digest       Edit email settings       Leave feedback       Privacy
Stack Overflow

Stack Overflow, 14 Wall Street, 20th Floor, New York, NY 10005

<3