paullewis/a3 — Issue #4: Why separateFaces()?
Author: HaukeBartsch
Created: 2012-01-24 17:23:39+00:00
State: open

I export a brain surface as an .a3 file with 50,000 faces and 25,000 vertices. The separateFaces() function removes shared vertices and introduces a total of 150,000 vertices. The resulting display is incorrect with only parts of the surface displayed correctly. Disabling the functionality by for example replacing (in separateFaces()):
```if (!vertex.inUse) {```
with
```if (1) {```
creates the correct display and keeps the number of vertices at 25,000. This should result in less processing and faster rendering.

Can you explain why you try to remove shared vertices? Is there anything else in A3 that depends on it?