Results 1 to 5 of 5

Thread: SGIS_Shadow & Cube Maps = No 'R' Coordinate

  1. #1
    Junior Member Newbie
    Join Date
    May 2001
    Posts
    29

    SGIS_Shadow & Cube Maps = No 'R' Coordinate

    Since the SGIS_shadow specification (using the latest nvOpenGLspecs.pdf) says it uses compares the 'R' coord with the texel fetched from 'S' & 'T', is there anyway to use this with cubemaps? or 3d textures for that matter?

    It would be great if the spec was appended with "it uses 'Q' coord when cube or 3d textures are enabled."

    The percentage-closer-filtering-comparision has a lot of value for cube/3d maps beyond shadows.

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Sep 2000
    Location
    Santa Clara, CA
    Posts
    1,096

    Re: SGIS_Shadow & Cube Maps = No 'R' Coordinate

    No, cubemaps are not supported in any meaningful way. I also suggest not using this with 3D textures. (These ambiguities are one reason why this is only an SGIX extension.)

    - Matt

  3. #3
    Junior Member Newbie
    Join Date
    May 2001
    Posts
    29

    Re: SGIS_Shadow & Cube Maps = No 'R' Coordinate

    Thanks Matt-

    If there was enough support/demand, would it be possible to add such an extension for GF3-class HW that could apply compare & percentage-nearest filtering on cube/3d maps?

  4. #4
    Senior Member OpenGL Pro
    Join Date
    Sep 2000
    Location
    Santa Clara, CA
    Posts
    1,096

    Re: SGIS_Shadow & Cube Maps = No 'R' Coordinate

    No; for example, shadow cubemaps require very different math than 2D shadow maps.

    - Matt

  5. #5
    Super Moderator OpenGL Guru imported_dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    3,966

    Re: SGIS_Shadow & Cube Maps = No 'R' Coordinate

    It's an interesting request though. The texgen for the R coordinate would not work with this, but perhaps another texture would do the trick. A simple 3D texture which mapped light distance radially with the comparrison against projected depth texture from the light projected using a cube map style representation. The 3D texture needn't be perfectly radial, it could support the planar depth for each cube face if the depth cube map didn't contain radius but cube face z.


    [This message has been edited by dorbie (edited 01-20-2002).]

Similar Threads

  1. HDR cube maps & OpenEXR
    By dletozeun in forum OpenGL: Basic Coding
    Replies: 22
    Last Post: 03-10-2008, 01:35 PM
  2. cube maps
    By demonoid in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 12-07-2003, 10:04 PM
  3. Multiple cube maps
    By gator in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 07-13-2003, 02:59 PM
  4. cube maps abc
    By mikemor in forum OpenGL: Advanced Coding
    Replies: 12
    Last Post: 11-24-2002, 06:54 AM
  5. Cube maps
    By ico in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 04-11-2000, 06:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean