changing viewport
Hello
What I want to do is have a screen (640x480) which has a series or menu buttons down the left side and along the bottom and then the rest of the screen taken up by a 3D world which one can explore like in Lesson 10. So, my question is, if I just use the same code that's in lesson 10 is it possible for me to move it so that it appears in a certain area on the screen, ie so that it doesnt take up the whole screen?
The area I want it to fill has these (x,y) pixel coordinates:
Top left (127,28)
Top right (615,28)
Bottom left (127,380)
Bottom right (615,380)
but how do I do it! I assume that I create all the boxes first, then change the viewport (?!) and then create the 3D scene or maybe vice versa.
any ideas?
thanks, Gareth
<><
[edited by - dfanuk on April 20, 2002 8:33:10 AM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement