[Paraview] Contribution : Silhouette edges filter

Paul Edwards paul.m.edwards at gmail.com
Wed Jul 30 06:13:39 EDT 2008


The filter looks good.  I've tried to create an XML file to use in
ParaView.  I've attached my attempt although I don't know how to
initialise the camera or prop.  Can anyone help here?

Regards,
Paul

2008/7/30  <Thierry.CARRARD at cea.fr>:
> Dear colleagues,
>
>
>
> Here attached is a vtk filter that extracts silhouette edges from a poly
> data.
>
> Silhouette of a surface is made of lines lying on the surface where the
> surface normal is orthogonal to a direction.
>
>
>
> Such edges are useful to produce CAD or sketch like drawings. It can be
> combined with a constant colored surface rendering to hide non-visible
> edges.
>
>
>
> Attached example images are made from an iso-surface, but much nicer results
> are achieved when working with lagrangian numerical simulations.
>
>
>
>
>
> Usage:
>
>
>
> Pipeline: vtkPolyData à vtkPolyDataSilhouette à vtkPolyDataMapper à vtkActor
>
>
>
> Parameters: SpecifiedVector and CameraVector modes use a uniform direction
> (resp. explicit or from a camera), while SpecifiedOrigin and CameraOrigin
> modes use the origin-to-center-of-the-edge direction. CameraOrigin mode is
> the one to use to produce sketch like drawings.
>
>
>
> tips: try to combine black silhouettes edges (with line width between 1 and
> 3) with different kinds of surface base renderings (with or without
> lighting, constant colored or one color per material). It emphasizes very
> well the shape of some phenomena, especially for numerical simulations.
>
>
>
> Note: Silhouette edges can also serve to generate shadow volumes, but this
> would need an additional contribution.
>
>
>
>
>
> Contribution :
>
>
>
> Author:
>
> Thierry Carrard
>
>
>
> Affiliation:
>
> Commissariat à l'Energie Atomique (CEA), Direction des Applications
> Militaires, Département des Sciences de l'Information et de la Simulation.
>
> BP12, 91680 Bruyères Le Chatel, France.
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkPolyDataSilhouette.xml
Type: text/xml
Size: 2641 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20080730/87c16b4c/attachment.bin>


More information about the ParaView mailing list