Skip to main content
gamedev.net
🔒 Locked

Loading a Image as Background

Started by digitalash Jan 19, 2002 at 10:44 AM 0 replies 250+ views
Original Post
digitalash
digitalash
Hi, for a demo of mine i would like to add a sceenory as the background....but i dont know how to do the same...i tried to use glBitmap function with little success.... how can i do the same...examples will of great help... i would also like to know whether the following implementation of the same is a good idea.... create a huge cube which will encompass my small world (which consists of a road, a few buildings etc) and texture map the interior of the cube.... how can i tex map the interior of the cube...i have the cube loaded but i am finding tex mapping the interior of the cube a bit difficult...some example will be of great help Also i have another doubt in loading of .MD2 models...i followed the implemetation given in Game Programming tutorials in NEHE...i successfully loaded the model...but when i try to map the RUN state of the model to the UP arrow (so that when i move fwd the RUN animation takes place)...nothing happens...why is it??? Thanks in advance bye Ashwin
Ashwin "DiGiTaL-AsH" Desikan
zedzeek
zedzeek
see www.opengl.org for the faq
1/ setup a orthogonal projection matrix + draw a textured quad over the whole screen
2/ this is called a skybox (google it) btw it doesnt have to be big

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.