문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top