jajkor / Waypoint

Waypoint is an interactive 3D navigation app for Android devices that aims to help students, faculty, and visitors of Penn State Abington better navigate the campus
0 stars 0 forks source link

Implement instancing for repeated models #10

Closed jajkor closed 1 month ago

jajkor commented 1 month ago

OpenGL ES 3.0 added support for instanced rendering where many models of equal mesh data are drawn in a single draw call. Could be used for the campus map outline or the navigation path if we use a line of cubes.

https://learnopengl.com/Advanced-OpenGL/Instancing

jajkor commented 1 month ago

Instancing was scrapped in favor of using geometry shaders to produce a continuous line for navigation. Will have to switch from OpenGL ES 3.0 to 3.2 as that version of the specification was the first to include them.

jajkor commented 1 month ago

https://learnopengl.com/Advanced-OpenGL/Geometry-Shader https://ogldev.org/www/tutorial27/tutorial27.html http://www.cs.umd.edu/gvil/papers/av_ts.pdf