[vtkusers] Visible-surface determination
simon.faust at post.rwth-aachen.de
Tue Jun 18 16:58:37 EDT 2002
thanks for your help. When I try to call ResetCameraClippingRange,
nothing seems to happen. Only when I try to set the clipping range
manually the effect disappears. The objects of the foreground (roof) are
rendered, but as they were located in the background, i.e. the faces of
the roof that are not covered by the floor (that actually should be
covered by the roof) are displayed. Another aspect might be that the
effect does not occur when opacity is set to1 (still testing that).
David Gobbi wrote:
>The problem is probably not that the floor 'jumps in front of' the
>roof, it is more likely that the roof is positioned in front of the
>near clipping plane and is not being rendered.
>If you do a ResetCameraClippingPlanes before each render the problem
>should go away (as long as roof does not end up behind the camera).
> - David
> David Gobbi, MSc dgobbi at irus.rri.ca
> Advanced Imaging Research Group
> Robarts Research Institute, University of Western Ontario
>On Tue, 18 Jun 2002, Simon Faust wrote:
>>I use vtkTkRenderWidget in order to display several objects that
>>alltogether form a building with some installations in it. Problem ist
>>that objects that should not be visible (i.e. the floor of a room when
>>your viewpoint is over the roof) "jump" into the foreground and overlay
>>objects that should be visible. The error occurs when rotating or
>>zooming around/in the scene. Any hints welcome.
>>This is the private VTK discussion list.
>>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>>Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers