Results 1 to 2 of 2

Thread: Offline viewpoint rendering

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2008
    Posts
    1

    Offline viewpoint rendering

    Hi guys,

    We have one window using sdl, which displays a specific viewport of a car with all environment. The car has a camera and now we would like to get the view from this camera and pass it to another application for further processing. We don't want to display this data, just save it and pass it to another program via ports.

    What would be the most efficient way to do this please?
    Thanks in advance,
    Martin

  2. #2
    Senior Member OpenGL Pro Zengar's Avatar
    Join Date
    Sep 2001
    Location
    Germany
    Posts
    1,931

    Re: Offline viewpoint rendering

    Use the framebuffer object ( FBO ) to render the scene, then read the image with glReadPixels. If you want to be fancy, you can try utilizing the pixel buffer object as described here, but this will probably be an overkill in your situation.

Similar Threads

  1. Rendering scene from another viewpoint into depth texture
    By Cloudy McStrife in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 12-10-2015, 06:02 PM
  2. Real-time vs offline rendering
    By openlearner in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 07-05-2013, 08:47 PM
  3. Rendering scene from a virtual viewpoint
    By muffin in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 02-19-2013, 06:57 AM
  4. Multi-viewpoint rendering for readback of same obj
    By glBen in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 12-15-2009, 09:34 AM
  5. Offline Rendering
    By Vasu in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 09-29-2000, 12:17 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