Menu

Blend two cameras to one screen

Help
Daniel
2017-08-06
2017-08-06
  • Daniel

    Daniel - 2017-08-06

    Hi!
    I'm trying to blend the view from two cameras on one GlSceneViewer.
    Any effective way of doing this?
    I tried using camera1 as usual, and then camera2 to a memoryViewer and copy to texture on a semitransparent plane infront of camera1. Is there a better way?
    Thanks!

     
  • Jerome.D (BeanzMaster)

    Hi Daniel, it's the right way. You can check with FBO instead of memoryViewer .if i'm remeber it's possible

     
  • Daniel

    Daniel - 2017-08-07

    Any tips on how to use a high resolution with the memoryViewer?
    As soon as I put it above 512x512, copyToTexture fails to render the texture on a plane...

     
  • Jerome.D (BeanzMaster)

    Hi, Daniel check "Rendering\MemeViewer" Sample it work very well. You surely forgot something. with CopyToTexture.

     
  • Daniel

    Daniel - 2017-08-08

    Hi Jerome!
    Yes!! Thank you!
    I forgot to set texture size on the target material.
    Cheers

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.