Open RussTedrake opened 2 years ago
Hitting this today. Is there any recommended quick fix?
I have no experience here, but this comment caught my eye:
Frustratingly, the
meshcat_manual_test
does cover this case, and the point cloud looks fine in the perspective projection.
The manual test has this:
perception::PointCloud cloud(
kPoints, perception::pc_flags::kXYZs | perception::pc_flags::kRGBs);
I wonder if adding the RGBs per-point would be some kind of a work-around? Or in general, trying to figure out what the test is doing that works, different from the example up above.
What happened?
Running the following code:
Results in meshcat showing red lines in the intended box location, but no green points. Commenting out the Set2dRenderMode line results in the visualization appearing as expected.
Frustratingly, the
meshcat_manual_test
does cover this case, and the point cloud looks fine in the perspective projection.I'm not sure if Drake is responsible, or meshcat, or three.js, etc. But I'll open this for awareness and tracking.
Version
No response
What operating system are you using?
Google Chrome on Ubuntu 20.04.
What installation option are you using?
Building from source (on master).
Relevant log output
No response