[vtkusers] Fuzzy cuboid wireframe?
David Gobbi
david.gobbi at gmail.com
Tue Oct 28 00:16:36 EDT 2014
On Mon, Oct 27, 2014 at 12:28 PM, David Cole via vtkusers <vtkusers at vtk.org>
wrote:
> It's easy to add an actor that displays a cuboid with a wireframe
> representation.
>
> Is it easy to make that wireframe look "fuzzy" instead of a sharp line?
>
You mean fuzzy as in furry, or fuzzy as in blurry? Or jittery?
If you want jittery, here's how you can add jitter to any VTK polydata:
Use a random point source e.g. vtkPointSource as the input to vtkGlyph3D,
and use your polydata as the glyph. The output will be jittered polydata.
You might be able to make it look fuzzy by tessellating it and then
rendering
it as points. For example: tessellate the frame, and then use it as the
input
to vtkGlyph3D while using random points from vtkPointSource as the glyph.
- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141027/e8ae7d58/attachment.html>
More information about the vtkusers
mailing list