PDA

View Full Version : Looking for directions, mapping wise.



smultring
05-02-2010, 07:29 AM
Im looking into mapping pictures onto planes.

scenario 1.

{-1,1,
-1,-1,
1,-1,
1,1} // Vertexarray of a square plane.

and.
gl_drawarray(GL_TRIANGLE_STRIP,0,vert4).


scenario 2.


{-1,1,
-1,-1,
1,-1,}

gl_drawarray(GL_TRIANGLES,0,vert3)

ZbuffeR
05-02-2010, 01:35 PM
And what is the question ?
What are your constraints ?

Either scenario could be fine, "a square plane" is probably easier to do.

smultring
05-04-2010, 12:50 PM
I put this thread on hold for now. got to read some examples first.