Questions tagged [mapping]
The mapping tag has no summary.
27 questions
0
votes
0
answers
61
views
Environment map: inverting (phi, theta) to (x,y,z) mapping
I'm currently working on a ray tracer in C++ as an assignment. This ray tracer needs to take into account environment maps, which I also need to implement a part of. From my understanding of an ...
1
vote
1
answer
180
views
Question regarding texture mapping sampling
I am new to computer graphics and have taken up a course in my university on computer graphics. Need help regarding a question as I could not find any relevant resource on the internet so hoping the ...
3
votes
1
answer
205
views
Is Relief Mapping techniques being used these days?
I've been researching for some time now the Relief Texture Mapping (https://www.inf.ufrgs.br/~oliveira/RTM.html), and I'm trying to identify implementations of this technique and its improvements in ...
4
votes
2
answers
271
views
Confusion about HDR image pipeline
I am working on a path tracing renderer, and I want to produce an sRGB image out of the HDR image buffer I get at the end of my rendering algorithm. Up until now I have worked just by clamping values, ...
2
votes
1
answer
477
views
Deriving formula for perspective correct interpolation
I am trying to derive the formula for perspective correct texture interpolation on my own while implementing my own software rasterizer (projecting an arbitrarily rotated triangle in camera space on ...
1
vote
1
answer
146
views
How to map texture pixels to the corresponding 3D positions?
I have a mesh stored in .obj format with a texture image in .png format. For any "defined" pixel in the texture image, I'd like to compute the corresponding 3D coordinates when the texture ...
5
votes
1
answer
7k
views
Tone Mapping vs Gamma Correction
There is something about these concepts I'm not understanding. I thought the point of gamma correcting images is to make sure that the values in linear space map correctly when displayed on screen:
...
2
votes
1
answer
230
views
Controlling "zoom" and "position" of a cubemap in shaders
I am trying to mimic reflections in image composition using shaders.
I have gotten this far:
In this image the floor is "reflecting" the back wall, however the reflection is uncanny because the scale ...
1
vote
1
answer
2k
views
convert image pixel dimensions to UV
Hi i am rather new to computergraphics but i am trying to map an equirectangular image (360 video) to the inside of a sphere now i found the following formula to do this.
...
2
votes
1
answer
115
views
How is this normals map supposed to work?
I have come across this image that's labelled a bump map to be used with a 3D model. It looks like this:
In this map, which is an RGB map, it seems we have pixels whose normals face upwards shaded ...
1
vote
0
answers
1k
views
Why do perspective correction based texture mapping do depth division
I'm currently trying to understand how works perspective correction texture mapping. I saw that actually it works by interpolating the z value of the three point of the triangle which the current ...
1
vote
0
answers
82
views
Convex hull around polygon for cave mapping
For the purpose of mapping caves, we survey new passages so that we take main polygon (survey from point A to point B) and on each "node" (survey station A in example), we shoot multiple "splay shots" ...
4
votes
1
answer
2k
views
How do I convert a hit on an infinite plane to UV coordinates for texturing in a Raytracer?
I am trying to convert a ray hit on an infinite plane, defined by an origin and a normal vector, into UV coordinates, so I can find the appropriate texel at that point.
Code I have is close to ...
0
votes
1
answer
5k
views
What is mipmapping?
I know OpenGL likes the texel resolution of textures be some power of 2 in each direction because of mipmapping. (They say that this is not a totally stringent condition, but it is preferred)
Can ...
0
votes
1
answer
1k
views
Tone mapping bright images
I am rendering the sun in an image, and the sun comes out white and is basically very unrealistic. I have tried searching for tone mapping algorithms but I'm very lost. Can someone guide me to do ...