Height Mapping

This is a discussion on Height Mapping within the Game Programming forums, part of the General Programming Boards category; I would but I'm on linux and I'm going for cross platform. Right now I'm using opengl and SDL. I ...

  1. #16
    Registered User IdioticCreation's Avatar
    Join Date
    Nov 2006
    Location
    Lurking about
    Posts
    229
    I would but I'm on linux and I'm going for cross platform. Right now I'm using opengl and SDL.

    I used a display list and got quite a large boost. I also added shading, but I calculated the normals per triangle so it looks very faceted. I'm trying to calculate the normals per vertex, but it's a bit more complicated since there are 6 triangles touching every vertex (except the ones on the edge).

    Thanks for all the advice though
    Last edited by IdioticCreation; 10-15-2007 at 07:43 PM.

  2. #17
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    Indeed, for those of us that work crossplatform, OpenGL really is the only option. It has the capabilities, although I must admit, extensions can be annoying.
    Programming Your Mom. http://www.dandongs.com/

  3. #18
    Registered User IdioticCreation's Avatar
    Join Date
    Nov 2006
    Location
    Lurking about
    Posts
    229
    Here are some more screen shots. I think the light looks a little funky, but I really need to read more about all the types and mess with them.

    http://i14.photobucket.com/albums/a3...tervshaded.png
    http://i14.photobucket.com/albums/a3...shadedbird.png

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A bunch of Linker Errors...
    By Junior89 in forum Windows Programming
    Replies: 4
    Last Post: 01-06-2006, 02:59 PM
  2. struct question
    By caduardo21 in forum Windows Programming
    Replies: 5
    Last Post: 01-31-2005, 04:49 PM
  3. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 04:00 PM
  4. Ok, Structs, I need help I am not familiar with them
    By incognito in forum C++ Programming
    Replies: 7
    Last Post: 06-29-2002, 10:45 PM
  5. Outputting String arrays in windows
    By Xterria in forum Game Programming
    Replies: 11
    Last Post: 11-13-2001, 07:35 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21