Advertisement Jump to content
Sign in to follow this  

Extensions headache

This topic is 4587 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi I'm writing an openGl,C++ application and I use function glColorTable in extension GL_ARB_imaging, at least I'm trying to. My purpose is to display a 3d texture with a given palette. This is how I use the extension: glGenTextures(1, &texID); glBindTexture(m_TextureTarget, m_TexID); glEnable(GL_TEXTURE_3D); glEnable(GL_COLOR_TABLE); glColorTableEXT( GL_TEXTURE_3D, 0,256,0,GL_UNSIGNED_BYTE,lut); glColorTable( GL_TEXTURE_3D,0,256,0,GL_UNSIGNED_BYTE,palette); I run the application on 2 computers: 1. An old computer with Windows 2000 and GeForce 4200 nVidia card 2. A new computer with Windows XP and GeForce 6600 nVidia card The extension exists on both computers. However the code which works prefectly on computer 1 doesnt work on computer 2. Anybody has an idea why? Is there an alternative way to do what I'm trying to do? Thanks

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!