Jump to content
  • Advertisement


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


A box on screen showing a different part of the world

This topic is 5402 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! How can I do to put a square somewhere on the screen of my 3d world (will stay there forever, I will use OrthoView for this) to show a different part of my 3D world in this square? Ps.: Will be good to show that different part of the world "strched" in that box. Plzzzzzzzzz Thank you!!!

Share this post

Link to post
Share on other sites
Either render the small view to a texture and then render that texture to a polygon(do this if you want to move that square in 3d).

Or use glViewport and first render the large view over the whole screen, then set glViewport to that small square and render the scene again from that point of view.
Lesson 42 is a good tuturial to look at

For an overdose of l33tness, flashbang.nu

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!