New answers tagged

0 votes

Rendering multiple camera transforms of the same geometry at once

You might look into "mulitview" it is fairly straight forward to setup and use. It does have limits on the number of views that can be rendered at the same time. Most examples are geared ...
user avatar
  • 2,115
2 votes
Accepted

Why must texture samplers be uniform variables in GLSL?

Why can't I just select the texture unit directly into the shader source You can: ...
user avatar
  • 8,101
0 votes
Accepted

Hosting OpenGL C++ Window in C# WPF

I did not set Loaded="Window_Loaded" in ...
user avatar
  • 2,413
0 votes
Accepted

Why is there a straight line between my bezier paths?

After rewriting the application to only render in the display function I have found what the bug was. The line was continuously rewriting on top of the vector in each frame as opposed to each mouse ...
user avatar
  • 2,413
0 votes

How to rotate and move group of objects in OpenGL?

Think about matrix multiplications as transforming data from one coordinate system to another. So initially, your cubes' local coordinate system is identical to the "global" coordinate ...
user avatar
  • 1,150
1 vote
Accepted

Understanding orthographic projection matrix clip coordinates

You are running on a few false assumptions here. Whoeever told you that "x, y, z are all in range [-1...1]" for clip coordinates was wrong, or explained it badly, or was misunderstood. First ...
user avatar
1 vote
Accepted

Understanding gluUnProject

With your question you have basically identified a core problem in your assumption of "how the OpenGL's gluUnProject works", namely that this function isn't actually part of the OpenGL. The ...
user avatar
2 votes

How to give C++ GLUT project an Editor/UI?

GLUT owns the window it creates. It can't share it with WPF, nor can it use a window created by WPF. If you want to have an OpenGL application render to a window owned by WPF, that may be possible, ...
user avatar
  • 8,101

Top 50 recent answers are included