Results 1 to 4 of 4

Thread: Cubic, Cylindrical and Spherical texture mapping

  1. #1
    Senior Member Frequent Contributor
    Join Date
    Dec 2005
    Location
    Italy
    Posts
    659

    Cubic, Cylindrical and Spherical texture mapping

    Hi All,

    I found this very easy to understand tutorial on spherical texture mapping http://www.mvps.org/directx/articles/spheremap.htm. Cylindrical is very easy to derive but what about Cubic? Can you direct me to a similar tutorial on cubic mapping?


    Thanks,

    Alberto

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Feb 2006
    Location
    Sweden
    Posts
    744

    Re: Cubic, Cylindrical and Spherical texture mapping

    Cubic mappic is also similar, basically you use a planar mapping method (you do know how to do that?) and project from all six sides of the cube, then you use the normal and select one of those projections based on witch one it's facing the most.

  3. #3
    Senior Member Frequent Contributor
    Join Date
    Dec 2005
    Location
    Italy
    Posts
    659

    Re: Cubic, Cylindrical and Spherical texture mappi

    zeoverlord,

    I know, but I was looking for a pseudo code to code it faster...

  4. #4
    Senior Member Frequent Contributor
    Join Date
    Dec 2005
    Location
    Italy
    Posts
    659

    Re: Cubic, Cylindrical and Spherical texture mappi

    Hi All,

    Can anybody provide me a pseudo code to map triangles normals to a cubic mapping?

    Thanks,

    Alberto

Similar Threads

  1. cylindrical mapping
    By Fab4ce in forum COLLADA
    Replies: 0
    Last Post: 11-24-2008, 07:37 AM
  2. Spherical Mapping: Texture Creation
    By Rodrix in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-14-2006, 11:07 PM
  3. Spherical Texture mapping
    By Eclipix in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-30-2002, 01:19 PM
  4. Replies: 0
    Last Post: 01-25-2002, 06:34 AM
  5. cylindrical mapping
    By aick in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 11-17-2000, 05:39 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