[C++][CustomOp] - UV Cluster update problem

2012-05-09 Thread Oleg Bliznuk
Hi list, Recently I have encountered with the problem that I cant update UVs and Usernormals clusters on the mesh. Situation is here: I have a some custom op connected to some original geometry ( input ) and setted on the some result geo ( output ). Work is going in the operator update callback.

[C++][CustomOp]

2012-05-01 Thread Oleg Bliznuk
Hi List, a simple question about custom op. I have a custom op which can has either 1 or 2 input geometries and connected to polymesh of created geo as output target ( see screenshot ).I need to get name of the global parent ( X3DObject ) of the object on which this operator is applied ( grid_FR

Re: [C++][CustomOp]

2012-05-01 Thread Steven Caron
can't you use the OperatorContext and use either GetOutputTarget ? or maybe use GetSource to get the operator itself and navigate up? i haven't tried it in c++ but a simple runtime SCOP with this in the Update callback works... Application.LogMessage(In_UpdateContext.Operator.Parent3DObject) #