/OpenGL-Tutorials-In-Odin

A collection of introductory OpenGL examples in Odin.

Primary LanguageOdin

A collection of introductory OpenGL programs in Odin.

The programs below illustrate OpenGL functions in Odin using the wrappers in "vendor:OpenGL". The programs start very basic and get progressively more complicated.

The glfw library wrappers for Odin are also illustrated.

A window which oscillates between pink and blue.

An OS window filled with the color pink.

An RGB triangle which rotates over time.

A OS window showing a slightly slanted RGB triangle

A cube with different faces which rotates over time.

An OS window showing a cube in the middle of rotation

A character moves in a counter-clockwise circle over time.

An OS window showing the character '@'

The characters of a sentence move in the form of a sine wave over time.

The sentence: Duty calls, 3 o'clock tea! in the shape of a sine wave.