PDA

View Full Version : Looking for directions, mapping wise.



smultring
05-02-2010, 06: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, 12: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, 11:50 AM
I put this thread on hold for now. got to read some examples first.