[vtkusers] vtkContourFilter precision with vtkPlane
Henning Meyer
tutmann at gmail.com
Fri Sep 21 17:25:14 EDT 2012
nope - it's a problem of vtkContourFilter not finding the correct boundaries.
both examples use the same number of samples.
for clarity I updated the example file - see attachement.
2012/9/21 Bill Lorensen <bill.lorensen at gmail.com>:
> Looks like an aliasing problem. http://en.wikipedia.org/wiki/Aliasing
>
> You need to increase the samples.
>
>
> On Fri, Sep 21, 2012 at 4:11 AM, Henning Meyer <tutmann at gmail.com> wrote:
>>
>> Hi All,
>>
>> encountered a strange behaviour of vtkContourFilter. Basically the
>> quality of the generated mesh dramatically changes, when the scale of
>> the model is changed (with adapted dims and bounds of the
>> vtkSampleFunction).
>> For me, this only happens in combinations of vtkPlane or vtkBox with
>> vtkImplicitBoolean.
>>
>> I modified this example a bit:
>> http://www.vtk.org/Wiki/VTK/Examples/Cxx/ImplicitFunctions/ImplicitSphere
>>
>> Please have a look a the attached sources - I'm thankful for any hint.
>>
>> Henning
>>
>> _______________________________________________
>> 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://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ImplicitSphere.cxx
Type: application/octet-stream
Size: 2559 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120921/dd4da861/attachment.obj>
More information about the vtkusers
mailing list