[API] Managing invisible faces problem

13 views
Skip to first unread message

Nicolas Combecave

unread,
Nov 17, 2015, 4:47:17 PM11/17/15
to python_in...@googlegroups.com
Hi,
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...

Thx

Nicolas
Reply all
Reply to author
Forward
0 new messages