ros3djs icon indicating copy to clipboard operation
ros3djs copied to clipboard

Marker text inside transparent cube not displayed

Open 3Dmizu opened this issue 7 years ago • 3 comments

Hi. Please excuse me for continuing post. I wrote this code that shows 3D text in transparent cube. https://gist.github.com/3Dmizu/d28955dbcfaac43cf2940188bd311d9d

Text is hidden by cube in ROS3DJS, but rviz works well. It occurred in "REVISION : 0.17.0-SNAPSHOT".

ros3djs rviz

Thanks.

3Dmizu avatar Aug 02 '17 04:08 3Dmizu

interesting.. maybe a bug in three.js?

jihoonl avatar Aug 30 '17 07:08 jihoonl

It might be related to #172. Did you try debugging and inspecting the generated values for the objects' transparencies? I'll try to reproduce this issue with your sample gist.

viktorku avatar Sep 18 '17 19:09 viktorku

This is related to the way ThreeJS renders sprites. One easy solution is to not have depth tests for text markers, but that would mean they don't get occluded by anything ever.

A more nuanced solution would be quite a bit more work (and possibly a performance cost), but I'll keep looking into it.

T045T avatar Dec 17 '17 15:12 T045T