Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: What is the efficient way to map four images to one plane?

  1. #1
    Junior Member Newbie
    Join Date
    May 2017
    Posts
    7

    What is the efficient way to map four images to one plane?

    version: opengl es 3.0

    I have four cameras, and need to map the four images from cameras with textures to the area like this Click image for larger version. 

Name:	image.jpg 
Views:	22 
Size:	11.7 KB 
ID:	2378,so what is the most efficient way to this purpose?

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2013
    Posts
    2,528
    Render 8 triangles (2 for each trapezoid).

    But you don't state how they are to be mapped. With the fixed-function pipeline, you're limited to a projective mapping. If you want a bilinear mapping, you'll need to use a fragment shader.

  3. #3
    Member Regular Contributor
    Join Date
    Jul 2012
    Posts
    429
    This looks a lot like this.

Posting Permissions

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