PDA

View Full Version : opengl question



Houman
October 22nd, 2008, 04:04 PM
hello everyone;

I have to write some code for visualizing a point cloud, well its not really a cloud since the number of points are in the range of 100-300;

i am not too familiar with opengl, but i know that there is no geometric primitive for points, does anyone know of a way of accomplishing this? i.e. visualizing a set of 200 points in space?

thank you for your help
H

geirha
October 22nd, 2008, 04:40 PM
Use small tetrahedra to represent the points?

rnodal
October 22nd, 2008, 05:40 PM
OpenGL does have a primitive which is a point unless I'm missing something.http://www.falloutsoftware.com/tutorials/gl/gl2p5.htm

-r

Houman
October 22nd, 2008, 08:01 PM
hi there;
you are right! thanks

H