[vtkusers] Fuzzy cuboid wireframe?

David Cole DLRdave at aol.com
Tue Oct 28 11:31:48 EDT 2014


Thanks for the further advice. It's actually an interactive widget that
allows the user to adjust something temporarily, so I'm not convinced
chartjunk is quite right for it. ;-)

Jeff Lee: I thought we already were multi-sampling, but it's possible we're
not... I'll look into that first.

Thanks,
David C.


On Tue, Oct 28, 2014 at 9:18 AM, Cory Quammen <cory.quammen at kitware.com>
wrote:

> David,
>
> Channeling Tufte, it sounds like you have a case of chartjunk. Two
> potential solutions:
>
> 1). Remove the chartjunk.
>
> 2). Use the thinnest lines possible and pick a color that contrasts just
> slightly with the background.
>
> HTH,
> Cory
>
> On Tue, Oct 28, 2014 at 7:54 AM, David Cole via vtkusers <vtkusers at vtk.org
> > wrote:
>
>> 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141028/695f84c5/attachment.html>


More information about the vtkusers mailing list