On 30/07/2018 at 12:19, xxxxxxxx wrote:
Cinema 4D Version: R18
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
Hello, i'm writing a C++ objectdata plugin that needs to draw it's own representation of some particles in the viewport.
I've referenced the gl_test_object.cpp example file and have gotten it working with just 1px dots, but i'd love to be able to write a geometry shader for openGL that takes those input vertices and draws a box of a given size for each one.
I see in the c4d_gl.h file that there seems to be support for a geometry program, but since c4d's implementation of openGL isn't well documented I can't figure out how to implement one.
Any help would be much appreciated.