Is there a way to display a large point cloud (+-1million points + color) in
a relatively fast way using vgui_easy3D ???
I already tried to use "easy3D->add_point()", but after about 5000 points,
the process starts slowing down dramatically.
On Wed 06 Jul 2005, Bjorn Van Genechten wrote:
> Is there a way to display a large point cloud (+-1million points + color) in
> a relatively fast way using vgui_easy3D ???
> I already tried to use "easy3D->add_point()", but after about 5000 points,
> the process starts slowing down dramatically.
I assume by "process" you mean the display refresh rate. Instead of
points, try adding small triangles where your points are. Drawing
points is quite slow on many OpenGL systems, and you are trying to
draw a lot of them!
You may run into some front and back issues, because (as I recall),
the OpenGL state that occurs by default doesn't render the back sides
of shapes. But, if using triangles speeds up the process enough, the
back side rendering issue can be sorted out.
Let me know if that works.
I have written various functions and methods that pass
vnl_vectors and vnl_matrices as arguments. I am in
of writing and checking code. The code compiles and
fine during first pass (using .NET).
But when iterating through the functions
multiple times, an unhandled exception error occurs.
Looking at the call stack indicates that the error
occurs at end (or beginning) of method and various
vnl_vectors are being automatically deallocated (or
Changing the vnl_vector to a double array in one
fixes the problem, but the program ends up crashing in
method on a later iteration (also at end of that
deallocating a vnl_vector).
The vnl_vectors/matrices that I am working with are
and hold some intermediate computations. It's unlikely
to be a memory issue.
For me, its desirable to use the vnl_vector templates,
but I don't understand what the problem is.
Can anyone assist?