[vtkusers] vtkBillboardTextActor3D overlay effect desired.

Seun Odutola seun at rogue-research.com
Thu Dec 8 13:50:37 EST 2016

Hi everyone,

    I am currently trying out vtkBillboardTextActor3D and was hoping someone here could give me couple of pointers. I have a situation where I have a caption which is basically a text (vtkBillboardTextActor3D) paired with an electrode (vtkActor) on a Mesh. vtkBillboardTextActor3D gives the desired effect of always being oriented with the camera, it’s also occluded by the mesh if the camera rotates away from the electrode (which is fine) however  depending on text (number of characters) I run into a situation where when rotating the scene (camera rotates) the bill board rotates the text in such a way in intersects the mesh (this is not desirable). I was wondering if there was a way to have the caption (the vtkBillboardTextActor3D) preserve its behaviour but still be able to have its text overlay on the mesh. See attached screenshots, notice how electrode 3 gets clipped as it intersects the mesh but when rotated it’s visible.

link to screenshots:
https://www.rogue-research.com/vtkBillboard1.png <https://www.rogue-research.com/vtkBillboard1.png>
https://www.rogue-research.com/vtkBillboard2.png <https://www.rogue-research.com/vtkBillboard2.png>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161208/d219e364/attachment.html>

More information about the vtkusers mailing list