[Paraview-developers] Issue for rendering 2 layers superimposed
Cory Quammen
cory.quammen at kitware.com
Fri Sep 25 08:41:46 EDT 2015
Sébastien,
This looks like a classic case of z-fighting [1].
One solution is to offset one of the surfaces by a small amount in z.
Cory
[1] https://en.wikipedia.org/wiki/Z-fighting
On Fri, Sep 25, 2015 at 6:09 AM, PULVERAIL, Sebastien <
sebastien.pulverail at sogeti.com> wrote:
> Hi there,
>
>
>
> I am facing an issue that I don’t know how to solve.
>
>
>
> I build my own application based on Paraview just to read my simulation
> files.
>
> A simulation is based on three files :
>
> - File 1 = list of points + list of cells + extra information,
>
> - File 2 = something we called extraction points (an extraction
> point is based on the points of my model but the associated cells are not
> necessarily the same as the model ones),
>
> - File 3 = extra point data.
>
>
>
> Let’s take a very simple example to explain the encountered problem.
>
> The considered model has only four points and a single cell (a quad
> basically).
>
> The extraction point is a triangle cell using the bottom-left point, so
> half of the quad is in the extraction point.
>
> As the points are the same in the model and the extraction points, the two
> cells are superimposed.
>
> If we consider that the model is colored with default color and the
> extraction point is colored with blue, the rendering won’t be as expected :
> it is kind of hatched rendering.
>
>
>
> Click on this link http://imgur.com/7WCxHAz to see a screenshot
> illustrating the problem on a more complicated example.
>
>
>
> Thank you for your help.
>
>
>
> Sébastien
>
>
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient, you
> are not authorized to read, print, retain, copy, disseminate, distribute,
> or use this message or any part thereof. If you receive this message in
> error, please notify the sender immediately and delete all copies of this
> message.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at:
> http://markmail.org/search/?q=Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>
--
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20150925/1e6e301d/attachment.html>
More information about the Paraview-developers
mailing list