Results 1 to 4 of 4

Thread: SuperBible texture mapping

  1. #1
    Member Contributor
    Join Date
    Jan 2002
    Posts
    96

    SuperBible texture mapping

    I have been using the OpenGL SuperBible and am trying to texture map a polygon. Now I am trying to compile the cd example (called tex2d) but the pot.bmp file isn't there. After changing this to a file I know to be present it is still not displayed....

    Can I test that the bmp is actually being loaded??

    If it is being loaded, where might the problem be? It compiles fine and creates the window, but when rendering for the 1st time it crashes out.

    TIA

  2. #2
    Member Contributor
    Join Date
    May 2001
    Location
    Austria
    Posts
    54

    Re: SuperBible texture mapping

    hi

    take a good look in the book. there's got to be the url of one of the authors. there you can download all the textures. i know it is missing on the cd.
    check if your substitute textures has the width and the heigt to a power of two e.g. 64, 256, etc.

    martin
    which compiler are you using. i compíled with ms vc5 and it did fine.

  3. #3
    Member Contributor
    Join Date
    Jan 2002
    Posts
    96

    Re: SuperBible texture mapping

    Thx very much, that seems to work with the original pot.bmp file, now to find out why my substitute didn't work

    BTW, I am using the VC++ v6 compiler

  4. #4
    Member Contributor
    Join Date
    Jul 2001
    Location
    Camarillo, CA, USA
    Posts
    58

    Re: SuperBible texture mapping

    Im curious, do you mind saying what is says about texture mapping? Cause Im trying to learn it. =)

    Just general, if thats all the time you got, or email me @ icer@dog.com

    thanks!

    ~Jesse~!
    PROGRAMMERS SHALL RULE THE WORLD

Similar Threads

  1. Texture mapping ::: 3D Face Mapping
    By 3render3 in forum OpenGL: General
    Replies: 2
    Last Post: 03-24-2013, 06:49 PM
  2. projective texture mapping and shadow mapping
    By phoenix_gl in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 10-08-2012, 08:00 PM
  3. Replies: 1
    Last Post: 01-10-2005, 09:50 AM
  4. Replies: 0
    Last Post: 01-09-2005, 05:53 PM
  5. Texture Mapping / Environmental Mapping.
    By imported_Andrew in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-09-2000, 01:20 PM

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