Ask Your Question

Revision history [back]

viz3d--Viewing and Rendering time varying 3D point cloud

Hi all,

In my work, I computes a set of sparse point clouds of a moving object in real time and want to visualize the "time varying" point clouds in real time from free view point. I used cv::viz::viz3d to display the "time varying" point cloud where I can drag and rotate the point cloud by mouse to change the view point.

The issue is that the program stalls and stops updating the point cloud when the mouse is holding or dragging the point cloud. How can I make the program still update the point cloud even when the render viewpoint is being changed. I am new to graphics and sorry for this obvious question.

Any comments are appreciated.

The code now looks like
while() { // reconstructing point clouds in real time cv::viz::WCloud cloud(pointCloud, color); viewer.showWidget( "Cloud", cloud ); viewer.spinOnce(); }

Thank you all in advance.

viz3d--Viewing and Rendering time varying 3D point cloud

Hi all,

In my work, I computes a set of sparse point clouds of a moving object in real time and want to visualize the "time varying" point clouds in real time from free view point. I used cv::viz::viz3d to display the "time varying" point cloud where I can drag and rotate the point cloud by mouse to change the view point.

The issue is that the program stalls and stops updating the point cloud when the mouse is holding or dragging the point cloud. How can I make the program still update the point cloud even when the render viewpoint is being changed. I am new to graphics and sorry for this obvious question.

Any comments are appreciated.

The code now looks like
while() { // while(){

//(1) reconstructing point clouds in real time 
 ......
//(2) Visualization and Rendering
cv::viz::WCloud cloud(pointCloud, color);
 viewer.showWidget( "Cloud", cloud );
 viewer.spinOnce();

}

Thank you all in advance. advance.