21.08.2013 Views

Efficient drawing with OpenGL

Efficient drawing with OpenGL

Efficient drawing with OpenGL

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A List of commands stored for later execution<br />

Lists reside on server (static object)<br />

Client Server<br />

index = glGenLists(1);<br />

glNewList(index, GL_COMPILE);<br />

glBegin(GL_TRIANGLES);<br />

glVertex3fv(v0);<br />

glVertex3fv(v1);<br />

glVertex3fv(v2);<br />

glEnd();<br />

glEndList();<br />

List 1<br />

List 2<br />

List n<br />

High Performance Computing Techniques - Pourya Shirazian 6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!