Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-06-02, 08:20 PM   #1
hornet
triangle mage
 
hornet's Avatar
 
Join Date: Dec 2002
Location: .dk
Posts: 13
Default glPushAttrib(GL_ENABLE_BIT) only works for current texture

Seems to me, that glPushAttrib(GL_ENABLE_BIT) / glPopAttrib() only affects GL_TEXTURE_2D for the current active texture (set with glActiveTexturesARB()).

Shouldn't it set the state of all texture-groups according to the opengl spec?

Running nvidia-3123 on xfree86-4.2.1-3, linux-2.4.20


Regards,
\\hornet
hornet is offline   Reply With Quote
Old 12-06-02, 08:55 PM   #2
Chalnoth
Registered User
 
Join Date: Jul 2002
Posts: 1,293
Default

I was running into a similar problem with texture coordinate generation some time ago. For my problem, all I had to do was set up the TexGen planes:

glTexGendv(GL_S, GL_OBJECT_PLANE, planeS);
glTexGendv(GL_T, GL_OBJECT_PLANE, planeT);
glTexGendv(GL_R, GL_OBJECT_PLANE, planeR);

There may be a similar problem in your case, where something that is enabled by default for 2D textures is not enabled by default for 3D textures.
Chalnoth is offline   Reply With Quote
Old 12-07-02, 10:21 AM   #3
hornet
triangle mage
 
hornet's Avatar
 
Join Date: Dec 2002
Location: .dk
Posts: 13
Default

Hmm, might be. I'm using glTexGen too for both sets of texture-coordinates, but I'm only creating uv-coordinates.

I'll try setting up object-planes, and see if it changes anything.


Regards,
\\hornet
hornet is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat 8.0 NVIDIA works - INSTRUCTIONS STEEL1 NVIDIA Linux 267 04-15-03 06:48 PM
What does texture sharpening do? eliteone NVIDIA Windows Graphics Drivers 8 10-02-02 05:58 PM
Texture Sharpening in the Detonator 40's JamesDax NVIDIA Windows Graphics Drivers 5 08-30-02 10:36 AM
Default Texture LOD bias ridcully NVIDIA Linux 2 08-19-02 02:45 AM
NVIDIA Drivers + Linux 7.3 Works once then quits Yupper3d NVIDIA Linux 3 08-01-02 04:03 AM

All times are GMT -5. The time now is 01:53 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.