Interactive editing is needed. I’m not creating an envelope operator, but many of the custom operator’s duties are very similar including the user experience.
Matt From: [email protected] [mailto:[email protected]] On Behalf Of Ahmidou Lyazidi Sent: Thursday, June 19, 2014 7:39 PM To: [email protected] Subject: Re: SDK: how to create an envelope weights property If interactively editing the weights isn't needed, I would use a user data map. ----------------------------------------------- Ahmidou Lyazidi Director | TD | CG artist http://vimeo.com/ahmidou/videos http://www.cappuccino-films.com 2014-06-19 21:30 GMT-04:00 Matt Lind <[email protected]<mailto:[email protected]>>: Yeah, that’s what I had tried. I just don’t trust it. If there is a way to create a GridData object as a property, that would work for my needs. Matt From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of joshxsi Sent: Thursday, June 19, 2014 6:27 PM To: [email protected]<mailto:[email protected]> Subject: Re: SDK: how to create an envelope weights property Sorry I meant Duplicate the cluster property and then Delete (also hacky) On Fri, Jun 20, 2014 at 11:24 AM, Matt Lind <[email protected]<mailto:[email protected]>> wrote: Deleting the envelope operator causes the envelope weights property to be deleted. ☹ Matt From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of joshxsi Sent: Thursday, June 19, 2014 6:14 PM To: [email protected]<mailto:[email protected]> Subject: Re: SDK: how to create an envelope weights property We've always just left the env op muted or just delete it (don't freeze it). But if there's a better way I'd be happy to learn of it. On Fri, Jun 20, 2014 at 11:04 AM, Matt Lind <[email protected]<mailto:[email protected]>> wrote: I need to make a custom operator in C++ which needs to do interpolations between multiple inputs and outputs similar to how the envelope weight operator interpolates weighting points to deformers. I only need the envelope weights property (as seen in the envelopes weights point cluster), not the envelope weights operator as my custom operator would take its place in the relationship. Looking through the SDK documentation I cannot find the preset to create just the envelope weights property. The workaround of creating an envelope and freezing it doesn’t work either as the envelope weights property disappears along with the envelope operator. Although I can create an envelope and duplicate the envelope weights property, then freeze the envelope, that’s a bit too hacky for my needs. If I do somehow create that envelope weights property, is there any special way I need to interface with it inside of my custom operator? Thanks, Matt

