[vtk-developers] vtkCubeSource bad topology
david.gobbi at gmail.com
Fri Apr 23 10:47:06 EDT 2010
The vtkOutlineSource and vtkOutlineFilter have an option to create
faces instead or in addition to edge lines. So you can use either of
these to generate a cube with shared vertices.
On Fri, Apr 23, 2010 at 8:05 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> 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?
>> 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:
> 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:
More information about the vtk-developers