• Advertisement

Archived

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

changing viewport

This topic is 5845 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

  • Advertisement