My driver does not support multitexturing. How is this possible? Its a new computer. Multitexturing is like 10 years old?
58 if (glewGetExtension("GL_ARB_multitexture") != GL_TRUE) {
59 std::cerr << "Driver does not support GL_ARB_multitexture" << std::endl;
60 exit(1);
61 }
Hi ei05tbe - two thoughts in case any would help you:
On Linux, make sure you have the HW vendor drivers installed. The open source drivers usually are very simple. Once you have the right driver installed, everything should work transparently.
On Windows, using GL is a pain, you have to do all kinds of wglGetProcAddress nonsense to use anything past very early versions of GL. If you don’t do that it will crash. It is usually easier to mess with OpenGL on Linux.
Well it depends on your distribution. On many modern distros there are packages for both NV and ATI (AMD) available through your distros repositories, and then they’ll also be automatically updated for you, whereas if you download them yourself from the vendor you may have to update them by hand when you update your kernel. For my distro the packages were called nvidia-current, nvidia-current-modaliases, nvidia-common, nvidia-settings. I did “sudo apt-get install” of those and I was up and running after a reboot.
The HW vendor drivers will also give you a large boost in 3D performance.
ei05tbe, you should tell us if glActiveTextureARB is NULL.
Apparently you use glew, if you do it correctly it should be easy to use glActiveTextureARB.
Well I downloaded the file but are still trying to install it
ERROR: You appear to be running an X server; please exit X before
installing. For further details, please see the section INSTALLING
THE NVIDIA DRIVER in the README available on the Linux driver
download page at www.nvidia.com.
OK
[/b]
[/b]
Just execute the installer binary (as root) wtih X shut down,
You must have kernel source package installed (NVIDIA driver must be able to compile kernel module)
If Your distro has ‘nouveau’ open source driver installed and loaded,
NVIDIA driver installation may fail. (I run into this on Slackware 13)
solution to this problem is to blacklist nouveau kernel module.
To exit from X hit ctrl+alt+backspace (X server reset, on some distros (Slackware) it shuts down X server)
This is disabled in the latest versions of Ubuntu? I found some guides to turn this functionality on but they are for earlier version (I have 10.4). Is there any other way to do this?
Finally I think I understand the problem. I have a global variable. This Scene is created before anything(glew) is initialized in main. I guess what I have to do is make it a pointer and initialize it in main after my glewInint();
Scene m_scene;<--this one is created first
int main(){
.....code ...glewInit()....etc...
}