Results 1 to 4 of 4

Thread: Texture Mapping bitmaps

  1. #1

    Texture Mapping bitmaps

    This is extremely general, but I was wondering if someone can send me to a site that has source on how to load a bitmap and map it to a cube, for example. I have the red book, but it only shows how to load an array of black or white values to a cube. I'm not using windows, so NeHe's tutorial was pretty confusing. I'm developing under SunOS.
    Any help/direction would be appreciated.


  2. #2
    Senior Member Regular Contributor
    Join Date
    Apr 2001

    Re: Texture Mapping bitmaps

    There are glut and glx ports for most of the early nehe tutorials. Just skip the windows-specific section in the tutorial and read the relevant parts. Or you can just download and study the code esp. if you're interested in loading the bitmap yourself because the win32 tutorial uses some aux fonction. The code shouldn't be that hard to follow and it should compile and run on SunOS although I can't be sure.

  3. #3
    Senior Member Regular Contributor
    Join Date
    Sep 2002

    Re: Texture Mapping bitmaps

    Try to search at NeHe again. There are many tutorial conversions on distinct systems to download.

  4. #4
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Gastonia, NC, USA

    Re: Texture Mapping bitmaps

    You need to look at the bottom of the nehe leson page, he has Linux/GLUT examples of his tutors.

    With SunOS, bet you could download the Linux version from his site and get it to work.

Similar Threads

  1. Demo - Loading Bitmaps & Texture Mapping
    By MaxH in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 05-18-2009, 08:39 PM
  2. texture mapping X1 R5 G5 B5 bitmaps
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 09-03-2004, 04:45 AM
  3. Using bitmaps as texture
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-14-2002, 08:47 AM
  4. glDrawPixels help; glDrawPixels vs. Texture Mapping for bitmaps
    By vorbisus in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 06-11-2001, 10:07 AM
  5. texture mapping with resource bitmaps
    By Bad Karma in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 08-21-2000, 02:23 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