PDA

View Full Version : How to create a room??



new_to_opegl
08-24-2002, 07:27 PM
most books have examples on creating terrains in an open environment, but how do u create a room, with dividers and all, and be able to move in and around. and how then do u display pictures of the wall and windows and be able to view them as u move around?? Please advice. Thank you..

zeckensack
08-24-2002, 11:42 PM
Umm ... you draw walls, a floor and a ceiling and texture them, moving around your camera by manipulating the modelview matrix.

nexusone
08-25-2002, 05:11 AM
on this site is a tutor on creating room and moving around in them.

nehe.gamedev.net


Originally posted by new_to_opegl:
most books have examples on creating terrains in an open environment, but how do u create a room, with dividers and all, and be able to move in and around. and how then do u display pictures of the wall and windows and be able to view them as u move around?? Please advice. Thank you..