On 09/12/2015 at 13:18, xxxxxxxx wrote:
Cinema 4D Version: 16.011
Platform: Windows ;
Language(s) : C++ ;
I'm trying to use BaseDraw::DrawPointArray() to draw shaded points. According to the documentation (https://developers.maxon.net/docs/Cinema4DCPPSDK/html/class_base_draw.html#affe6235c549a43787a1cb5ae5d654d3d) this should be possible by using the aforementioned function. My code looks something like this:
bd->DrawPointArray(nPnts, pos, col, 3, norm);
It draws points of the right size in the right position, but no shading is being done (yes, the normals have valid values and are normalized). Does anybody know what I'm doing wrong?