[vtkusers] Fixed-size text in 3D : vtkVectorText + vtkFollower or vtkCaptionActor2D?
Luca Pallozzi Lavorante
lplavorante at gmail.com
Mon Jan 30 13:37:19 EST 2017
Hi everybody,
I am trying to visualize text labels in 3D space. I have successfully used
vtkVectorText + vtkFollower. But the text is scaled as I zoom in /out of my
3D objects (geologic wells, the labels are their names). I have seen that
there is a vtkCaptionActor2D class which displays a fixed-size text
attached to a 3D point. This is almost what I need. The problem is that the
text should get occluded by objects nearer to the camera as I rotate them.
Apparently, the text generated by vtkCaptionActor2D is drawn on top of
everything.
Maybe this is a common issue and I have verified on the list that it has
been discussed before. Can anybody give me some hint on how to do it?
Sorry if I am asking a trivial or recurring question.
Thank you in advance,
Luca Pallozzi Lavorante
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170130/d4afdc2a/attachment.html>
More information about the vtkusers
mailing list