Hi Frable, can you report a bug on <a href="http://vtk.org/Bug">vtk.org/Bug</a>. With that we can add a test for these and see if we can recreate and fix the issue for 5.8.1. Thanks!<br><br><div class="gmail_quote">On Wed, Sep 14, 2011 at 9:07 AM, Frable <span dir="ltr"><<a href="mailto:zemitis.janis@inbox.lv">zemitis.janis@inbox.lv</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hey there!<br>
<br>
Upgraded to Vtk 5.8 today and everything works as intended apart of the<br>
axes.<br>
Kind of hard to put it into words but will try my best and screenshot added<br>
for further reference.<br>
It now wrongly adds 3 additional axes with origin on the x-axis facing<br>
always to the right of the screen,independent of camera rotation.<br>
Furthermore they create a projection of the shapes currently in the scene as<br>
visible in the first screen-shot. It also has an impact on<br>
vtkImplicitPlaneWidget2 and vtkSphereWidget2 as shown in the 2nd screen.<br>
Disabling the axes gets rid of all the artifacts.<br>
<br>
Any ideas what might be causing this?<br>
All the best,<br>
Frable<br>
<br>
//implementation<br>
//AxisActor<br>
vtkCubeAxesActor* axes2 = vtkCubeAxesActor::New();<br>
axes2->SetBounds(pOutlineMap->GetBounds());<br>
axes2->SetCamera(pCamera);<br>
axes2->SetFlyModeToStaticTriad();<br>
<br>
axes2->SetLabelScaling(false,-pImport->GetExponent(),-pImport->GetExponent(),-pImport->GetExponent());<br>
axes2->SetXLabelFormat("%2.2f");<br>
axes2->SetYLabelFormat("%2.2f");<br>
axes2->SetZLabelFormat("%2.2f");<br>
<br>
m_pRenderer->AddActor(axes2);<br>
<br>
<br>
<a href="http://vtk.1045678.n5.nabble.com/file/n4802693/surfacerender.jpeg" target="_blank">http://vtk.1045678.n5.nabble.com/file/n4802693/surfacerender.jpeg</a><br>
<br>
<a href="http://vtk.1045678.n5.nabble.com/file/n4802693/surfacewithsphere.jpeg" target="_blank">http://vtk.1045678.n5.nabble.com/file/n4802693/surfacewithsphere.jpeg</a><br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkCubeAxesActor-problem-in-5-8-tp4802693p4802693.html" target="_blank">http://vtk.1045678.n5.nabble.com/vtkCubeAxesActor-problem-in-5-8-tp4802693p4802693.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br>