4
votes
Accepted
How to watch image being ray traced?
This is a very common question that most people in your situation (interested or fascinated shall I say in Computer Graphics) have and a problem they want to figure out. The solution is pretty simple, ...
3
votes
Accepted
Clashes when combining openGL and GUI
General answer is that creating a window as a GUI element with some GUI designer library involves subclassing some basic GUI element (like widget in QtCreator for example) with class providing ...
3
votes
How to keep an object constant in screen space?
Scale the object proportional to its depth (z in camera space) and it will retain the same size on screen regardless of its position in world space.
Additionally, you might also wish to scale the ...
2
votes
Clashes when combining openGL and GUI
At one point I had a similiar issue, however, I was using DirectX as opposed to OpenGL so this may not be very helpful but you might be able to gain some knowledge out of this.
My main objective was ...
2
votes
Clashes when combining openGL and GUI
Some of the easy to use GUI libraries for OpenGL I have come across are (in no specific order):
imGUI
NanoGUI
AntTweakBar
Although AntTweakBar is bit outdated, it's still pretty easy to use. imGUI ...
1
vote
How are rounded corners of user interfaces usually rendered in modern applications like browsers?
I'm not sure of the current state of the art, but this style of drawing windows with rounded corners originated in the NeWS graphical environment for Unix workstations. And it was accompanied by an ...
1
vote
How are rounded corners of user interfaces usually rendered in modern applications like browsers?
Speaking from my own experience...
There is no one answer to the question of "how is this UI interface element drawn".
Under windows you can get them as freebies where the OS gives you a ...
1
vote
Accepted
Moving a vertex through the cursor
Figured it out, I did skip a step, you are supposed to multiply by the homogeneous coordinate.
Basically the actually projected point is (courtesy of GLM):
...
1
vote
How to watch image being ray traced?
In QtCreator IDE (C++) any kind of image buffer - result of CPU raytracing or (what I did) frames captured from the camera can be easily rendered or painted on Widget - which is simplest part of the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
ui × 6raytracing × 2
projections × 2
camera × 2
linear-algebra × 2
gui × 2
opengl × 1
rendering × 1
transformations × 1
c++ × 1
mathematics × 1
geometry × 1