GillesDebunne / libQGLViewer

libQGLViewer is an open source C++ library based on Qt that eases the creation of OpenGL 3D viewers.
Other
241 stars 94 forks source link

How to change the size and shape of displayed point? #48

Closed Micalson closed 4 years ago

Micalson commented 4 years ago

Hello, thank you for your nice code. I am new to it. I have two questions: 1) How could I change the shape of displayed point? 2) How to display the normal of the point? Thank you for you reply.

Regards,

GillesDebunne commented 4 years ago

Hello, Your question is a bit vague. However, this seems to be related to OpenGL display of points, and not specific to libQGLViewer, which is simply a wrapper to create a scene viewer. I advise you to look at the numerous OpenGL tutorials on this subject, which can be ported in QGLViewer's draw() method.