Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Blit vs Render from texture

  1. #11
    Member Regular Contributor
    Join Date
    Jul 2012
    Posts
    460
    I still have a doubt. Except if I misunderstood your original issue, the use of a non-orthographic projection matrix should not have solved your problem.

  2. #12
    Junior Member Newbie
    Join Date
    Dec 2017
    Posts
    12
    My problem was really 2 fold. One was properly projecting a 3D scene to an exact recreation of what a camera would see from a given viewpoint (which my last post resolved, and which requires perspective projection), and the other was not quite understanding how to scale properly using viewports (to see the same image in a smaller viewport). I am using an FBO of the original camera dimensions, then taking the resulting texture and rendering it to various different viewports, which seems to be working as expected.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •