Question

I am trying to Render a 3D-View onto another on a specified Position and Size. And because I can not explain it exactly, I made a graphic.

Graphic-Description of my Problem

If you could help me out, could you please also tell me how to call the case I am searching for so I can do some more research on it?

Thanks, Chris.

Was it helpful?

Solution

You can achieve this in several ways:

  • Create alternative viewport(s) and set it before rendering each your Picture-in-picture stuff

  • Render to texture and then just draw it as textured quad (sprite)

  • Many cheat-tricks with a stencil buffer

    (links above go to native functions, but I hope you can figure out ones for your framework)

Maybe I've forget something else. Hope it helps.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top