Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Cube maps

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2000
    Posts
    2

    Cube maps

    Hi there

    I want to do cube maps for environment based reflections ( you know : 6 square textures of the same size and reprezenting a cube centered at the origin and each texels on the cube reprezents what can be 'seen' from the origin in that direction )

    Thanks.

  2. #2
    Advanced Member Frequent Contributor cass's Avatar
    Join Date
    Feb 2000
    Location
    Austin, TX, USA
    Posts
    913

    Re: Cube maps

    Ok. What was your question?

    Seriously, I have a demo program that illustrates how to do this without specific cube mapping hardware. I'll probably put that demo on my web page in a day or two, but you should use EXT_texture_cube_map if you have hardware that supports it. Even if you don't, you should probably use dual paraboloid or sphere mapping if you don't have cube map support.

    My demo is intended to help people understand what cube mapping looks like without requiring they buy cube mapping hardware. It takes 6 multitextured passes, and is really not a viable technique for general-purpose environment mapping.

    Hope that helps -
    Cass
    Cass Everitt -- cass@xyzw.us

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •