[vtkusers] [BUG] actor opacity

Burlen Loring burlen.loring at gmail.com
Mon Nov 25 14:25:32 EST 2013


Did you enable depth peeling, or depth sort geometry first? 
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CorrectlyRenderTranslucentGeometry
If yes, could you check if depth peeling was used? and report which 
version of VTK and any details about hardware and driver?

Thanks
Burlen

On 11/25/2013 08:20 AM, Girault, Alexis wrote:
> Hi everybody,
>
> I am currently manipulating surfaces and i want to modify their opacity.
>
> I used vtkActor::GetProperty and vtkProperty::SetOpacity.
> I already made sure the value given to this last function was a double 
> between 0.00 and 1.00.
> After setting the opacity I just render the vtkRenderWindow related.
>
> *From 100% to 99%, a weird rendering occurs* : a big part of the 
> points are not displayed anymore, and we can only see the points 
> behind them. /(reminds me of a ray tracing issue, where the 
> intersection between the ray and the object returned is not the 
> closest one of the camera but the second one.)/
>
> *From 99% to 0%, the opacity modification looks perfectly fine*, with 
> those first points still not displayed.
>
> Explaining this visualization issue is pretty difficult, so I attached 
> 4 rendering with different opacity :
> 30% : http://hpics.li/e62fe11
> 60% : http://hpics.li/2907cb2
> 99% : http://hpics.li/6aaa433
> 100% : http://hpics.li/b94c61a
>
> Thank you,
> Alex.
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20131125/5ced6124/attachment.htm>


More information about the vtkusers mailing list