<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Thanks a lot for your tips, Bill and David!</p>
<p>I managed to use successfully vtkBillboardTextActor3D, it fully
answers my needs! Plus it also performs very nicely when using
anaglyph rendering mode : <a class="moz-txt-link-freetext"
href="http://morphomuseum.com/files/atractosteus.jpg">http://morphomuseum.com/files/atractosteus.jpg</a><br>
</p>
<br>
<div class="moz-cite-prefix">Le 11/05/2017 à 18:00, Bill Lorensen a
écrit :<br>
</div>
<blockquote
cite="mid:CADZJ4hOf0meFfCnvAmSA3fgQBObzsSh==iP4wtauOkbzBbx4=A@mail.gmail.com"
type="cite">
<pre wrap="">here is an example using BillboardTextActor3D:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/BillboardTextActor3D">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/BillboardTextActor3D</a>
On Thu, May 11, 2017 at 11:45 AM, David Lonie <a class="moz-txt-link-rfc2396E" href="mailto:david.lonie@kitware.com"><david.lonie@kitware.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Nope -- vtkCaptionActor2D renders in the overlay, which will always
occlude 3D geometry.
You may want to try vtkBillboardTextActor3D, which was recently added.
It doesn't do quite the same thing as the caption actor, but will mix
with 3D geometry.
On Thu, May 11, 2017 at 10:14 AM, Renaud Lebrun
<a class="moz-txt-link-rfc2396E" href="mailto:renaud.lebrun@umontpellier.fr"><renaud.lebrun@umontpellier.fr></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I am trying to visualize text labels in 3D space.
I currently use vtkCaptionActor2D but I can not manage the text to be
occluded by objects nearer to the camera.
The text generated by vtkCaptionActor2D is always drawn on top of
everything.
=> Would there be a way to allow vtkCaptionActor2D to be occluded by nearer
objects ?
Thanks in advance for your answer,
Renaud.
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at
<a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Search the list archives at: <a class="moz-txt-link-freetext" href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q=vtkusers</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Search the list archives at: <a class="moz-txt-link-freetext" href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q=vtkusers</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
---------------------------------------------------------<br>
<b>Dr. Renaud Lebrun</b><br>
<p style="color:red">Institut des Sciences de l'Evolution</p>
Université de Montpellier<br>
Campus Triolet, bât. 22<br>
Place Eugène Bataillon<br>
34095 Montpellier cedex 5, FRANCE<br>
Tél : +33 (0)4 67 14 32 60 <br>
<a
href="mailto:renaud.lebrun@umontpellier.fr?Subject=X-Ray+%C2%B5CT+access"
target="_top">renaud.Lebrun@umontpellier.fr</a><br>
<a href="http://morphomuseum.com">MORPHOMUSEUM</a> </div>
</body>
</html>