Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GL_TEXTURE_2D on ATI 9600 and 9800



Hi,
I would like to ask a question about ATI 9600 and 9800.
On my 9800 I can see a Texture2D calling GL_TEXTURE0 or 1 or 2 or 3... and
it works well.
On my ATI 9600 I can see a Texture2D only if I call GL_TEXTURE0...
Why?

In detail
----------
On my PowerBook G4 1GHz with an ATI Radeon 9600 (GL_MAX_TEXTURE_UNITS = 6,
64 RAM) I can see my texture I made with
    glEnable(GL_TEXTURE_2D);
    glEnable(GL_TEXTURE_GEN_S);
    glEnable(GL_TEXTURE_GEN_T);
    glTexGeni(GL_S, GL_TEXTURE_GEN_MODE, GL_SPHERE_MAP);
    glTexGeni(GL_T, GL_TEXTURE_GEN_MODE, GL_SPHERE_MAP);

only if I call GL_TEXTURE0. In facts when I set GL_TEXTURE1, I see garbage.


On my G5 dual 2GHz with ATI Radeon 9800 (GL_MAX_TEXTURE_UNITS = 8, 256 RAM),
my same application can quite use the same texture settings with
GL_TEXTURE0, 1, 2 and 3... without any problem. And here I even use multiple
textures very well.

I don't want to believe that my ATI 9600 can run one GL_TEXTURE_2D only, and
just the number 0 only, even because GL_MAX_TEXTURE_UNITS return 6 and even
because after calling glActiveTexture(GL_TEXTURE1) the call glGetError()
returns 0.

So, where should I check for my error?
Do you think I am missing something?
Thank you for any help you could provide me.


Best Regards
-- 
Lorenzo
email: email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.