eth-igl / gp2024-Assignments

0 stars 0 forks source link

Issues showing points in viewer #9

Open xPlorUm opened 3 months ago

xPlorUm commented 3 months ago

Hello, I have a problem about showing only the points in the viewer. If I use these lines of code in assignment 2

if (key == '1'){
    // Show imported points
    viewer.data().clear();
    viewer.core().align_camera_center(P);
    viewer.data().point_size = 11;
    viewer.data().add_points(P, Eigen::RowVector3d(0, 0, 0));
    }
  then the Points do not show up on the screen. I already checked whether the points are actually loaded and they are. But the issue still persist. If I use the set_mesh() function then all the meshes show up on the screen. Can you help me?
PeizhuoLi commented 3 months ago

Hi, it might be related to the hardware you are using. Maybe #6 can help?

xPlorUm commented 3 months ago

Hi, it might be related to the hardware you are using. Maybe #6 can help?

Thank you very much, this post helped me. I somehow didn't see it in the issues section :)

PeizhuoLi commented 3 months ago

You are welcome! I think this is because this issue is marked as closed and by default only the open issues are displayed.