Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


changing viewport

This topic is 6028 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!