Most Popular
1500 questions
3
votes
1 answer
Compute shader textures compared 2D float4 arrays
I am wondering is there a difference in performance between using floating point textures as my 2D float4 array vs just passing in 2D float4 arrays?
2D float arrays eliminate the need to do texture look ups to get the colour value, but i am not…
wduk
- 177
- 1
- 6
3
votes
0 answers
Trying to optimize texture mapping
We are developing a PPI plot for a radar system, similar to the following:
NOTE: 1 radial is defined as a single slice of data within the circle, and 1 range gate is defined as a single point along a radial.
Our application must operate in real…
Matthew Herndon
- 31
- 1
3
votes
1 answer
Tiled Image Palettization Algorithm?
In most cases today, image palettization consists of reducing the overall number of colors in an image to some fixed number globally. This is typically solved as a straightforward but computationally difficult clustering problem.
A more difficult…
Justin Olbrantz
- 131
- 1
3
votes
0 answers
How to implement explicit light sampling when implementing path tracing?
I implemented a path tracer and got a similar result like this one.
Sample: 4096, time used: 537.05s
The algorithm is exactly the same as the one in wikipedia, where only the Gathering Path is considered.
In this answer, @Nathan Reed said that…
zwcloud
- 131
- 4
3
votes
1 answer
What is the oldest hardware able to feasibly support Vulkan?
What is the oldest hardware or minimum requirements conceptually able to support a fully hardware-accelerated Vulkan implementation? I am not referring to what implementations are currently available or likely to be written, but what could possibly…
novice
- 163
- 1
- 6
3
votes
1 answer
Adding noise to gradient
I found this picture
When you zoom in to any part of the image, the background looks a bit noisy/grainy. See pixels around "violent violet" label:
I'm trying to understand how to achieve the same effect programmatically?
I was trying to change…
Anvaka
- 213
- 1
- 6
3
votes
1 answer
Iridescence/Thin-film interference integration as a layer
I'm trying to integrate the thin-film interference effect described in the paper "Belcour, L., & Barla, P. (2017). A practical extension to microfacet theory for the modeling of varying iridescence."…
avilapa
- 43
- 3
3
votes
1 answer
What algorithm is used in this animation from Tatami Galaxy?
Is there a name for this type of effect where many area sizes are increased/decreased in relation to each other? I'm looking for some type of algorithm, formula, logic, etc. for recreating this. Here is the effect (which I believe was created in…
Sosa
- 133
- 3
3
votes
1 answer
What to reproject when doing temporal filtering in stochastic screen space reflection?
I am in the middle of implementing stochastic screen space reflection based on frostbite presentation here. On page number 39, it is stated that we need to reproject the ray intersection location instead of the reflected surface location. I don't…
kevinyu
- 493
- 1
- 3
- 10
3
votes
3 answers
Why Diffuse Light use max(N · H, 0) instead of just letting it be negative?
In Cg tuts, Diffuse Section
Surfaces that face away from the light will produce negative dot-product values, so the max(N · L, 0) in the equation ensures that these surfaces show no diffuse lighting.
My question is why not just leave it be…
AlexWei
- 237
- 2
- 7
3
votes
1 answer
Need help with change of basis (world to camera frame)
I'm reading up on coordinate systems and geometric transformations but the change of basis topic still confuses me. I found this exercise but, honestly, I wouldn't know how to begin:
Given a world coordinate system in which the camera is at…
JohnDoe
- 33
- 4
3
votes
1 answer
Why don't Direct3D/Metal support texture swizzles?
To be clear, I'm talking about behavior like https://www.khronos.org/opengl/wiki/Texture#Swizzle_mask, not "normal" myColorVariable.rbgr swizzling in a shader.
I really did start missing this feature after switching from OpenGL to Direct3D11, and…
Matt Haynie
- 33
- 3
3
votes
1 answer
Why does some text on my laptop have only gray-scale pixels while other text has color pixels?
In this question I generated the images below to explain why I can't use TTFs for that 1-bit display application.
But now I would like to understand from the perspective of a non-expert, why is some black-on-white text on my screen made from gray…
uhoh
- 330
- 2
- 12
3
votes
2 answers
Why MOCAP data don't use simple point coordinates?
This might sound stupid for you but I really don't know how it works in the domain of 3d animation and motion capture, but I need to work with ASF/AMC files at the moment and I find it a little bit complex to understand (being a non-native english…
Nicolas Scotto Di Perto
- 155
- 5
3
votes
3 answers
3ds max: Z-fighting when working with Large Objects
I had a z-fighting/z-clipping issue with a scene containing some very large objects yesterday in 3ds max. It can be seen in the image below:
For some reason downscaling the scene significantly (a factor of 100 approx) resolves the z-fighting…