I have (another) OpenGL question. If you don't know the answer to this question perhaps you can recommend a resource (website, book, other)?
Is it possible to calculate the area of interse...
Hi Experts,
I'll ask a vague question since I may be missing something simple here. I develop an OpenGL app on Windows, Xp specifically. I do lots of polygon drawing, even some NURBS. No prob...
The projection matrix represents the 'camera's movements, correct? And the modelview matrix is that of the actual objects within the scene... Yeah?
What I'd like to know, is how they're bot...
Hi,
I want to put a bitmap image for the background instead of a background color which i did using: glClearColor(0.0f,0.255f,0.0f,0.0f);
is there a glbackground command or something?
...
Hi,
I've developed an application using C++ and OpenGL, all the rendering for the application is done using OpenGL. All works fine, but now I need some of the rendering to happen a little ...
I cannot get the texture working in my little bowling game. The BowlingScene is a box, like a room, but the texture in the wall was not displayed, why this could happen?
Hi Experts,
To cut a long story short i'm creating a custom model editor in opengl. The editor consists of 4 views (top, side, front and perspective - as normal). My question is that given...
source codes for a torus in opengl
I'm taking a class on OpenGL that uses C/C++ for the initials programs.
When creating and compiling a provided sample file (see code snippet "sphere.c"), the program throws plenty of compil...
How do you turn off the "wait for vsync" in OpenGL? I feel so silly asking such a simple question, but I can't find the answer anywhere (and believe me, I've looked). I'm using SDL as well, so...
Hi there,
I'm extremely new to OpenGL programming so hope that everyone can be patient with my questions.
I'm actually trying to write codes for the hemicube algorithm to solve the radio...
I am trying to render very large imagery files (e.g. 14000x10000) in an OpenGL Scene. To load the imagery, I first create a set of smaller tiles that can be loaded as textures on the computer...
I'm trying to use GLUT to create multiple windows, but I'm having problems getting more than one subwindow to display. Only the second of the two subwindows I create will display. And I don'...
I'm taking a class in OpenGL. We've been giving some examples files that required modification.
The program below draws a square. I've already replaced the "lines" with "square" (mouse f...
I have a rotation matrix and the code I have works almost as I want it to but there is some little thing missing and I can't figure out what it is.
here the relevant snippet from the code:
=...
I am trying to solve the following problem in openGl using glut:
1) we have: transformation matix a (with some translation) and transformation matix b (with some translation)
2) we apply t...
The problem infront of me is to render fire in OpenGL. i have to render fire emerging forcely out of a cylindrical object. I have to animate that cylindrical object also. The colors in fire ar...
Hello,
I want to draw and rotate Parallelopiped in 3D arround its central axis. Question is how to set Clipping Planes and appropriate view port to maximize its size on the screen.
Thanks!
Hi,
If I have the local or object coordinates, and I can get the various opengl matrices (e.g. projection, modelview), how do I get the corresponding world coordinates?
Thanks.
I used
gluLookAt(0,0,0,0,0,-10,0,10,0);
glPushMatrix();
After I draw a cub but I didn't see any light with glookat()
I'm a beginner in OpenGL programming.
As part of my coursework, I've modified a (provided) program that draws rectangles. See code below.
The program works fine; except that when I'...
I am making a particle system with point sprites. I am using a basic texture (a white circle with a blackbackground) as the sprite textures. I cant seem to get the particles to have alpha blen...
I am trying to write a simple tweening program that takes a pumpkin graphic with a smiley face and changes it to a mean face using points from array A (my starting line drawing, smiley) and th...
Hi,
I am porting a code written in DirectX to OpenGL. In the program, I am mapping a texture to a vertex buffer and I am using linear interpolation. The problem is that output of the Direct...
Hi Experts,
I am looking for a sample program to read 3DS Max file and draw it in Visual Basic using OpenGL. Thanks.