[vtkusers] Fuzzy cuboid wireframe?
David Cole
DLRdave at aol.com
Tue Oct 28 07:54:59 EDT 2014
Thanks for the ideas. We're just looking for a way to make a sharp outline
a little less "the focus of the scene" than it appears to be with the plain
old line rendering. We were thinking blurry or diffuse.
We'll give some of these a try.
D
On Tue, Oct 28, 2014 at 12:16 AM, David Gobbi <david.gobbi at gmail.com> wrote:
> 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/20141028/46e43ac4/attachment.html>
More information about the vtkusers
mailing list