1
vote
convert right handed matrix into left handed forward/up/right vectors
I was applying the transform twice, here the solution:
...
1
vote
Accepted
Converting points, vectors, normals between world and object space for a ray tracer gives weird results
I think you have the wrong order of matrix multiplication.
...
1
vote
Why does my uniform only update once?
I can send WM_PAINT messages with SendMessage or PostMessage, but the window wont be redrawn. To redraw the window I have to call InvalidateRect or InvalidateRgn. You can also use RedrawWindow.
In the ...
1
vote
OpenGL and GLUT in x64 on Windows (Visual C++ 2019)
GLUT is outdated and abandoned. However there is a remake of GLUT library and it is called FreeGLUT. You can download sources from official page or complete library with compiled DLLs for windows ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
c++ × 202opengl × 85
raytracing × 41
rendering × 17
glsl × 16
shader × 13
3d × 12
geometry × 11
vulkan × 10
directx12 × 9
pathtracing × 8
mathematics × 8
texture × 7
computational-geometry × 7
mesh × 7
gpu × 7
glm × 7
algorithm × 6
image-processing × 6
directx11 × 6
vertex-buffer-object × 6
transformations × 5
lighting × 5
interpolation × 5
vectors × 5