I guess PolygonMesh.Set() works as it should. Have no problem with that.

The friend of mine suggest me to attach a UV_Cluster to CustomOperator Port
to prevent it from changes.
When we use "AddEdge Op" or "SplitEdge Op" they also have uv_cluster
attached at one of input ports.
But we never would know the inner magic that they apply to this cluster
thet keep PolygonNodes untouched and new geometry added at the same time.
I dig through XSI Wiki and that's what i found in Operators Documentation:
http://softimage.wiki.softimage.com/index.php?title=Custom_Operators_(XSISDK)#Parameter_Connections
" ... XSI currently does not fully support custom topology operators. The
problem is that any cluster or cluster property will not properly
update when a topology operator adds or removes points that belong to the
cluster. In the worst case XSI may crash. Hence custom topology
operators should only be used in the more limited scenario of objects that
do not have any clusters. Once the geometry is ready it would be
possible to freeze the object to remove the custom topology operators (but
leave the result of their evaluation),
then to add the clusters and other operators. "

I hope this is out of date information or some not a usual case.

As for the PolygonNodes, i think i should rephrase it like "is there a way
or method to SET PolygonNode values ?" or they calculated somehow
automatically.
I mean when we use PolygonMesh.Set() we do not operate with PolygonNode
objects as it is. We operate with 2 arrays.
Array of polygons descriptions that consist of vertex indices and array of
this vertices coordinates.
No Nodes here.
And i also didn't find any methods that give me opportunity to change
PolygonNode by my self. To .Set() them, not to .Get() them.
Maybe PolygonNodes doesn't supposed to be changed by user himself and i
should stick with other processing method.
Maybe i should leave PolygonNodes changed after PolygonMesh.Set() and try
to update uv_cluster values according new PolygonNodes values
(but i guess it would be a hell of work).
------
Softimage Mailing List.
To unsubscribe, send a mail to [email protected] with 
"unsubscribe" in the subject, and reply to confirm.

Reply via email to