On Dec 12, 2007 12:10 PM, Michele <michele.xsi(at)gmail.com> wrote:
>
> Hi Abdo, there's no way to update clusters via an operator, Xsi has to do
> that for you.
Mmm... This is clearly a contradiction to the documentation of
PolygonMesh::Set() I mentioned earlier:
"If this function is used on a polygon mesh with some clusters and a
topology change is performed, *the caller is responsible for updating
the clusters*"
> There's a type of cluster called "complete" cluster, that will always
> contain all the subcomponents of the object.
Problem is my clusters are not complete. Each one contains a subset of
the polygons (components) of the original polymesh.
> Unfortunately, simply using PolygonMesh::Set() is not enough, you will have
> to enforce cluster updates with the siClassifTopo flag.
> Then there's another problem: only new parameters can receive the
> siClassifTopo flag, so what if your operator is driven by multiple-control
> objects?
>
> You create a new parameter with a dummy operator that causes (topology +
> cluster) updates to the original operator. This 2nd operator will have the
> same portgroups and connections of the first operator, so (I suppose) Xsi
> should be able to evaluate everything consistently.
OK, I think I understand it now :)
Still my question stands though: Is there a way (even a workaround) to
update partial (not complete) clusters based on a given criteria?
Thanks a lot for your help, Michele.
Abdo Haji-Ali
Programmer
In|Framez
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi