Re: SCOPs with more than one output...

Date : Fri, 28 Dec 2007 13:49:00 -0600
To : XSI(at)Softimage.COM
From : "Bradley Gabe" <withanar(at)gmail.com>
Subject : Re: SCOPs with more than one output...
Dan-
 
Try putting a float param on your SCOP, and setting a single keyframe on it. Not sure if that will force update on your UserDataBlob data, but that has worked for me on other SCOPs when they wouldn't automatically update.


 
On Dec 28, 2007 9:03 AM, Dan Yargici <danyargici(at)gmail.com> wrote:
Thanks for the help guys,  I think Guy may have hit it on the head...

After much fiddling, I've discovered that everything is in fact working as it should, however more often than not, the UserDataBlob is not being seen to have changed...

Following my ranting a few weeks ago about how we have no way to emit particles based on change of velocity I decided to make a acceleration weightmap SCOP.  I use the UserDataBlob to store the point positions from the previous two frames and this needs to be updated every time the current frame changes... Unless I open the UserDataBlob's PPG and toggle a parameter, it's output port doesn't get updated.  If I toggle it from within the SCOP ( i.e. add some toggling code to the SCOP) it seems to have no effect, and anyway seems a totally ridiculous thing to be doing!

AlwaysEvaluate seems to have no discernible effect either....

How can I make my UserDataBlob feel more wanted?

Thanks for the tips,

DAN


On Dec 27, 2007 9:34 PM, Guy Rabiller <guy.rabiller(at)tek2shoot.com> wrote:

Make sure your UserDataBlob is actualy 'needed' by XSI, else your
operator will not be triggered for updating the UserDataBlob.

How is used your UserDataBlob ?

--
guy rabiller | cg r&d manager (at) tek2shoot / def2shoot (.com)



Dan Yargici a écrit :
> I have a SCOP with 2 outputs.  I'm  trying to set these using the
> technique in the Docs - i.e.
>
> if( Out.name < http://Out.name> =="blah")
> {
>    Out.Value = oBlah;
> }
> else........
>
> But I only have one output being updated!  Am I missing something
> reeeeally obvious here?
>
> One is a Weightmap, and the other is a UserDataBlob...
>
> Cheers,
>
> DAN
>



---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi



Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.