23.12.2013 Aufrufe

OpenGL Crash Course

OpenGL Crash Course

OpenGL Crash Course

MEHR ANZEIGEN
WENIGER ANZEIGEN

Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.

YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.

<strong>OpenGL</strong> <strong>Crash</strong> <strong>Course</strong><br />

Namenskonventionen für Funktionen<br />

Die meisten <strong>OpenGL</strong> Befehle folgen der folgenden<br />

Namenskonvention:<br />

Weitere Beispiele:<br />

◮ void glColor3i(int red, int green, int blue)<br />

◮ void glColor3f(float red, float green, float blue)<br />

◮ void glColor3d(double red, double green, double blue)<br />

◮ void glColor4f(float red, float green, float blue, float alpha)<br />

Intern nutzt <strong>OpenGL</strong> Floats → Performanz!<br />

Johannes Diemke <strong>OpenGL</strong> mit Java WiSe 2010 / 2011 2/10

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!