I beginning my journey into the maya api, and decided to start with a simple node.
The goal is to manage invisible faces on a mesh, and have the possibilty to mix different lists of faces indices to register as invisible faces.
It should allow me to manage the visilibty of parts of a mesh without modifying the shaders assignations/parameters...
Here is a gist of what I have so far:
I try to override the invisible faces on the incoming mesh, if there are any, between lines 82-88, but I can't figure why this is failing.
I should mention that it is one of my first ventures into maya api to create dependency nodes, and I may overlook something quite obvious.
Any pointer would be very welcome...