[vtk-developers] vtkCubeSource bad topology

Bill Lorensen bill.lorensen at gmail.com
Fri Apr 23 10:05:34 EDT 2010


I think the points are repeated so that the point normals for each
face are normal to each face. You can't do that with shared vertices.

On Fri, Apr 23, 2010 at 9:57 AM, David Doria <daviddoria+vtk at gmail.com> wrote:
> I'm sure that this won't be able to be changed for backwards
> compatibility purposes, but shouldn't the cube source have 8 points
> and 6 quads? It currently has 24 points (all of the corners are
> repeated 3 times (each corner of each face is it's own
> geometry/point). You can see this by running vtkFeatureEdges to view
> the BoundaryEdges - all edges are boundary edges, when the cube,
> supposedly being a closed mesh, should have zero boundary edges.
>
> Is there any reason it is created like this?
>
> Thanks,
>
> David
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>



More information about the vtk-developers mailing list