4 Oct
2012
4 Oct
'12
6:12 p.m.
On Thu, 4 Oct 2012, eric wrote:
I can't explain this, but when I changed the VertexList type parameter on adjacency_list (the second parameter) from listS to veS, it started working beautifully.
Is that a bug, maybe?
When you were using listS as the vertex container, you were creating a vertex_index property but not initializing. Thus, the vertex_index values were most likely all zero, and so all vertices were mapped to the same location in the displacement map. Switching to vecS made the vertex_index property auto-generated with correct values, fixing the bug. -- Jeremiah Willcock