Issue - Ensure polyhedron shells are updated correctly.

There is probably a lot of code that doesn't update polyhedron shells correctly. In particular, when appending faces to a polyhedron we usually just increment the shell face count, but this isn't correct, since the current schema assumes that all faces for a given shell are adjacent within the face table. That means that filters that create new faces need to do inserts instead of appends, or we need to rethink how we handle shells. One option would be to add a "shell number" array to the face table, so that it wouldn't matter whether the faces in a given shell are scattered throughout the face table. This would have the additional benefit of simplifying lots of code that otherwise has to update the face count for a shell.

Details

Id:
c5bb24ef560d028232ce7243e179caf89232424a
Type:
Bugfix
Creation Time:
2009-12-26 17:22 UTC
Reporter:
Timothy M. Shead <tshead@k-3d.com>
Release:
0.8.0.0
Status:
Closed

Issue Log

2009-12-26 17:22 UTCTimothy M. Shead <tshead@k-3d.com>created
2010-01-09 17:47 UTCTimothy M. Shead <tshead@k-3d.com>closed with disposition fixedAfter changing the way the polyhedron schema stores shells, it should be much more difficult to get them wrong.