[Paraview] Contribution : Silhouette edges filter
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Tue Aug 5 12:45:00 EDT 2008
Actually, I think a new view type that applies the silhouette filters to
all the props rendered in the scene might be more appropriate. There are
plugin examples that talk about how to add a new view to ParaView. Thoughts?
Utkarsh
Moreland, Kenneth wrote:
> Filters within ParaView have no access the camera for a variety of
> reasons. If you want the filter to update with new camera positions,
> you will have to integrate it into a representation/view.
> Representations and views can be added with plugins, they just take a
> bit more work than adding a filter.
>
>
>
> A new feature that is available on the ParaView development branch and
> will be available in 3.4 is the ability for a plugin to add a new
> representation to the 3D View (the default view within ParaView). Right
> now, the feature is undocumented, but documentation should be coming
> soon. Perhaps Utkarsh can fill in here.
>
>
>
> -Ken
>
>
>
> ------------------------------------------------------------------------
>
> *From:* paraview-bounces at paraview.org
> [mailto:paraview-bounces at paraview.org] *On Behalf Of *Paul Edwards
> *Sent:* Wednesday, July 30, 2008 4:14 AM
> *To:* Thierry.CARRARD at cea.fr
> *Cc:* guillaume.colin-de-verdiere at cea.fr; Laurent.COLOMBET at cea.fr;
> Jean-Philippe.NOMINE at cea.fr; paraview at paraview.org
> *Subject:* Re: [Paraview] Contribution : Silhouette edges filter
>
>
>
> 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
>>
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
More information about the ParaView
mailing list