cartographer-project / point_cloud_viewer

View billions of points in your browser.
Apache License 2.0
337 stars 98 forks source link

Support geometry shader in sdl_viewer #380

Closed nnmm closed 4 years ago

nnmm commented 4 years ago

This extends the code for compiling and linking GLSL programs to allow a geometry shader stage. Also reexports GlUniform and GlMovingWindowTexture from the graphic module.

nnmm commented 4 years ago

meow @krzesi-mir Do you have suggestions on how to structure this code better?

nnmm commented 4 years ago

I restructured the code: There is now a program.rs module that has a builder with optional geometry and fragment shaders.