[vtkusers] Zebra shader to visualise continuity of surfaces
David E DeMarle
dave.demarle at kitware.com
Mon Apr 16 13:00:06 EDT 2018
You could also approximate with vtkFunctionParser (paraview's Calculator
filter) and an indexed colormap.
Expression of 5+floor(Normals_Y*5) gives you 10 stripes for the Y component
of the normal.
David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Mon, Apr 16, 2018 at 11:00 AM, David E DeMarle <dave.demarle at kitware.com>
wrote:
> There is not currently.
>
> In principle we could do that with a glsl fragment shader applied to the
> polydatamapper.
>
> David E DeMarle
> Kitware, Inc.
> Principal Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
> On Fri, Apr 13, 2018 at 5:41 PM, Jonathan Borduas <
> jonathan.borduas at caboma.com> wrote:
>
>> Hello,
>>
>> Is there a zebra shader in VTK ? Many surfacing software such as Rhino,
>> Alias and Fusion360 incorporate this Zebra shader to show the continuity
>> (G0,G1,G2..) of the surface between different patchs:
>> http://www.bluesmith.co.uk/LW/theoryBuilders/evaluateZebra.htm
>> https://www.youtube.com/watch?v=NtMybG8Nsfg
>>
>>
>> This allows a designer to verify that the aesthetics of the blend between
>> two surfaces. See attached pictures zebra.png.
>>
>>
>>
>> Best regards,
>>
>>
>>
>> Jonathan Borduas
>>
>>
>> _______________________________________________
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> https://vtk.org/mailman/listinfo/vtkusers
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180416/a35654fd/attachment.html>
More information about the vtkusers
mailing list