Feedback

What's your question?

By: Asked

Modifying polygon data just before the shape node

I'm writing a tessellation node, which for now sits in between the creator node and the shape node of the mesh.

output of creator -> input of the tessellator
output of tessellator -> inMesh of shape

http://imageshack.us/photo/my-images/864/graphzr.png/

The thing is, I need the mesh to come out of the creator node at all times. Instead I am left with the tessellated mesh, on which subsequent tessellations are added, like a recursive function.

The only way I get the original mesh is when some attribute is modified in the creator node and the mesh is recalculated.

Is there any way i can do it while changing the attributes of the tessellator or is there a better way to do this.

Add comment viewed 98 times Latest activity 11 months ago

or Cancel

1 answer

  • 1

mr grumpy [ Editor ]

Sounds like you're modifying the input mesh data in your tessellation node. Create new mesh data instead (MFnMesh::create), or copy the input data then modify the copy (see MFnMesh::copy).

or Cancel