kaustubh-nair / Splats-OpenGL

Splats rendered in OpenGL and C++ :snowflake:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Splats in OpenGL

Splats are incircles drawn inside triangles in wireframe meshes. This program demonstrates splat rendering given an input set of vertices and faces for the mesh. The radius of the circle can be modified using j/ k keys

The program includes additional features such as:

  • Multiple objects
  • Normal coloring
  • Wireframe mode
  • User input controlled transformations like rotation, translation, scaling
  • Diffuse lighting
  • Custom-written ply parser
  • MVC architecture

Dependencies

  • OpenGL 3.3+
  • GLFW

Execution

To execute the program:

make run

For key bindings, refer to key_bindings.txt

Screenshots

Normal coloring

Wireframe mode

Diffuse lighting

Splats

About

Splats rendered in OpenGL and C++ :snowflake:


Languages

Language:C++ 95.8%Language:GLSL 3.3%Language:C 0.6%Language:Makefile 0.2%