PDA

View Full Version : Projected texture or something else?



ada
06-24-2002, 04:52 AM
Hi!
My problem is: i'm drawing a sphere and I map a texture on this sphere using Opengl texgen function with GL_OBJECT_LINEAR on both S and T coord. But the problem is that the texture gets blured on edges. What should I do?
Thanks.

V-man
06-24-2002, 07:55 AM
Blurred? You mean it gets stretched on some parts, and that would be the correct behavior since the texture is projected onto the object from some direction (depends on texture matrix).

I'm guessing you want to have the texture wrapped around the sphere. I don't know if this works, but try gluQuadricTexture()

V-man