Thread: Heaghtmapping, reading from *.RAW

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    'AlHamdulillah
    Join Date
    Feb 2003
    Posts
    790

    Heaghtmapping, reading from *.RAW

    ok, I have a question, I am learning height mapping, starting with the basic .RAW file read. How does it exactly determine the height of this pixel in space? does it read in the number of "bits" the color(white->shades of gray->black), or what?

    EDIT: the reason I am wondering is that all I do is read the file into an array, then read from the array in the height mapping algorithm
    :end Edit
    P.S. I am finding heightmapping is alot easier than I thought it would be, I had tried it before, but kept messing up on my algorithms.
    Last edited by EvBladeRunnervE; 03-27-2003 at 04:14 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 03-05-2009, 03:14 AM
  2. Replies: 7
    Last Post: 02-02-2009, 07:27 AM
  3. Resetting a ifstream object after reading the whole file
    By Zeeshan in forum C++ Programming
    Replies: 5
    Last Post: 03-31-2008, 08:03 AM
  4. Replies: 2
    Last Post: 01-28-2008, 03:07 AM
  5. Fun with reading hex
    By dpro in forum C++ Programming
    Replies: 7
    Last Post: 02-17-2006, 06:41 PM