[vtkusers] Create PolyData in vtk.js

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Jul 30 10:33:33 EDT 2018

Having inner surface is not an issue especially if you don't put any
transparency. The draw back will only be that you try to draw more data
that you truly need and depending on your data size, this could affect the
rendering performance. But other than that, there is no issue.

On Mon, Jul 30, 2018 at 5:33 AM marf <marvin.huber at basf.com> wrote:

> Thanks again, I previously tried filtering out duplicate faces and found an
> efficient way to do it with hashes. Even though I can now half the number
> of
> faces for my model, it will render as thought there are inner faces
> present:
> <http://vtk.1045678.n5.nabble.com/file/t342475/innercells1.png>
> Whereas, when looked at it from another angle you can clearly see, there
> are
> no more inner faces present (which also HAS to be the case, since I slim
> down the amount of rendered faces from 38.000 to 20.000 without effecting
> the outer surface)
> <http://vtk.1045678.n5.nabble.com/file/t342475/innercells2.png>
> Do you have any idea whats going on there? I apply a scalar to the polydata
> and then color it using a vtkLookupTable and that works perfectly
> otherwise.
> Also, the scalardata is per point, and since every point is on the surface
> in my case, the should not change with changing faces right?
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180730/2b447315/attachment.html>

More information about the vtkusers mailing list