When you install graphic card drivers from nvidia or ati binaries you should have the library and headers too. Well, I'm not sure about the headers, I don't have my machine here so I can't check....
Type: Posts; User: Martin_unique
When you install graphic card drivers from nvidia or ati binaries you should have the library and headers too. Well, I'm not sure about the headers, I don't have my machine here so I can't check....
I don't see the line in your Makefile for including OpenGL headers & libraries, for example:
-I /usr/X11R6/include
-L /usr/X11R6/lib -lGL -lGLU
Do you have those somewhere in there ?
Martin
Did you read the README provided with nvidia drivers ? It contains detailed instructions on how to install the driver (ftp://download.nvidia.com/XFree86/Linux-x86/1.0-5328/README - this is the README...
Also flipcode.com has some info on the subject.
Martin
Can you post part of your XF86config file ? That one which says Driver=... and Screen=... or similar. With X windows there are actually two drivers. One is the video hardware driver that is installed...
Can you provide your Linux flavor, version, card make & model ? Do you have X windows installed, and if so what version ?
Martin
OpenGL can be present on your system already, but the default OpenGL implementation does not have the hardware support (which means it's slow). I'm not sure if this is always the case, but they...
What kind of Linux system are you using ?
What is your display adapter (ATI, nvidia, other ?) - provide make and model.
Do you have X windows installed ?
Martin
I'd suggest visiting those sites first:
nehe.gamedev.net
gametutorials.com
They have a ton of examples on OpenGL coding, from beginner to experienced.
When you're done with them and still...
Hello,
This is not strictly OpenGL question, but I'm hoping there are people here who can answer it.
Let's say you have a bunch of 3d objects, and they are all texture mapped to some textures. Then...
Hello,
If you are new to multithreaded programming this might be a good starting point: http://www.serpentine.com/~bos/threads-faq/
This is the faq for comp.programming.threads - you might also...
Hello,
There's an article on this website (opengl.org) - "Advanced Graphics Programming Techniques Using OpenGL" (search for particle systems/precipitation). Also, there's Mark Kilgard's article on...
Hello,
OpenGL programming guide says that you can use gluBuild2DMipmaps() to create a series of textures (mipmaps) that provide extra detail for each level. It also says that each call 'calls...
Hello,
If I understand correctly, glGenTextures() creates texture object(s), while glDeleteTextures() removes them. When I call glBindTexture() I specify the texture object to be used, and when I...
Hello,
Thank you for your reply. I went through my code again and I found out that the behavior is rather random unless you provide this function call:
glTexEnvf(...,...,GL_REPLACE); It doesn't...
Hello,
I've spent most of last night trying to fix my rather simple program. I got to the point where I was creating a simple image (512x32,RGB,3 bytes/pixel) and then I was using it as a texture...
Hello,
I've spent most of last night trying to fix my rather simple program. I got to the point where I was creating a simple image (512x32,RGB,3 bytes/pixel) and then I was using it as a texture...
Hello,
I'm trying to write a 2D app with custom visual components, etc. I'd like to be able to specify component coordinates in screen coordinate system (upper left is 0,0 and x grows towards right...
I forgot to ask - I'm using bitmapped fonts where coordinates are specified by rasterPos2f(). Would those transformations affect the font position too ? I think there might be a problem with...
Hello,
Thank you for your reply. I wanted to change the coordinate context because I want to write a 2D app and I wanted to create visual components (like those in Java), where you specify the top...
Hello,
I tried to modify the modelview matrix by multiplying it by a modified identity matrix (y coord was -1 instead of 1 to inverse y coordinates) and then translating it by vector 0,480 (my...
Hello,
This might be somewhat off-topic, but perhaps some of you have had the same problem and found the solution for it. I'm using OpenGL (nvidia drivers) on Linux/X windows (XFree). When I'm...
Hello,
I'm somewhat confused on how to put textures and vertex arrays together. I thought that once you put all the data you want to draw into vertex arrays you're done - you just call glDrawArrays...
I'm somewhat confused on how octrees are used to check the frustum intersection with the 3d world. In OpenGL all transformations are performed on world 3d objects, while the frustum remains unchanged...
Hello,
I have a set of rectangles with adjacent vertical edges (all rectangles are the same size), and I'd like to use quad strips to render those. However I need to map each rectangle with a...