|
|
glTexGenf
I was looking at the docs for glTexGenf. It mentions three types of
texture mapping:
GL_OBJECT_LINEAR, GL_EYE_LINEAR, or GL_SPHERE_MAP
My understanding is that the first two are what might be called planar
mapping in a 3d modeling program like 3d Studio. And, the 3rd one
corresponds to spherical mapping.
However, there doesn't seem to be anything that corresponds to cube
mapping in 3d Studio.
Anyone know why this is and how to do cube mapping in OpenGL?
|
|
0
|
|
|
|
Reply
|
bob136 (381)
|
12/20/2010 6:44:21 PM |
|
On Dec 20, 7:44=A0pm, "b...@coolgroups.com" <b...@coolgroups.com> wrote:
> I was looking at the docs for glTexGenf. =A0It mentions three types of
> texture mapping:
>
> GL_OBJECT_LINEAR, GL_EYE_LINEAR, or GL_SPHERE_MAP
>
> My understanding is that the first two are what might be called planar
> mapping in a 3d modeling program like 3d Studio. =A0And, the 3rd one
> corresponds to spherical mapping.
>
Yes.
> However, there doesn't seem to be anything that corresponds to cube
> mapping in 3d Studio.
>
> Anyone know why this is and how to do cube mapping in OpenGL?
It's an extension, see this page:
http://www.opengl.org/registry/specs/ARB/texture_cube_map.txt
|
|
0
|
|
|
|
Reply
|
fungus
|
12/20/2010 7:05:08 PM
|
|
|
1 Replies
134 Views
(page loaded in 0.05 seconds)
|
|
|
|
|
|
|
|
|