Results 1 to 3 of 3

Thread: Same scene in multiple viewports? Without re-render?

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2006
    Posts
    2

    Same scene in multiple viewports? Without re-render?

    Hello,

    I'm new to this list. Greetings!

    I'd like to display a *copy* of my rendered scene in two viewports - one on my laptop screen for monitoring, and the other to an external monitor for display. Does anyone know how I can do this without having to render each frame twice? The typical use for multiple viewports is to display multiple views from *different* angles or other settings that require a re-rendering of the scene, but I don't need that, so don't want to take the cpu/gpu to render the scene twice if I don't have to.

    Thanks for any tips.

    Cheers,
    Michael

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Feb 2006
    Location
    Sweden
    Posts
    744

    Re: Same scene in multiple viewports? Without re-render?

    Render the scene to a FBO, then you can draw the resulting texture as many times as you want.

  3. #3
    Junior Member Newbie
    Join Date
    Aug 2006
    Posts
    2

    Re: Same scene in multiple viewports? Without re-render?

    Thanks, that sounds like the thing to do!

Similar Threads

  1. Multiple viewports
    By EugChriss in forum Vulkan
    Replies: 2
    Last Post: 03-29-2018, 06:54 PM
  2. Render one scene to multiple windows with same context
    By glararan in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 07-20-2016, 06:58 AM
  3. Multiple Viewports, Multiple Textures - 3D
    By Cyndy in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 04-08-2010, 04:47 PM
  4. multiple viewports
    By jra3084 in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 04-29-2003, 08:52 AM
  5. Multiple Viewports
    By vitaliy in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 07-06-2002, 05:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean