My example is simmed, but if you need it for animation, You have to store it 
somewhere permanent, such as in a cache and read it back, 
Once, partly for fun, I actually stored it in geometry. 
I made a disc that read a scalar value to drive the Y value as it spun and 
baked the final simmed geom, then used that y value around the disc as a cache 
to read from and it worked fine. In fact I used it to store the animation for a 
whole character.
Similar to what a record player does for music.
I found it amusing that I could just load in some geometry, and the shape of it 
contained animation that could drive a character.
Going off topic a bit, I also once stored the rgb amounts of a video per frame 
as a geometry point cache.that could be loaded back and deciphered by ice to 
recreate the video. It worked perfectly. I even toyed with the idea of making a 
geometry-based 'video codec' but then realised i had real work to get on with.

Paul



On 12 Jul 2013, at 21:42, "Ponthieux, Joseph G. (LARC-E1A)[LITES]" 
<[email protected]> wrote:

> Gustavo,
>  
> This looks like it will be really useful!
>  
> Thanks!
>  
> --
> Joey Ponthieux
> LaRC Information Technology Enhanced Services (LITES)
> Mymic Technical Services
> NASA Langley Research Center
> __________________________________________________
> Opinions stated here-in are strictly those of the author and do not
> represent the opinions of NASA or any other party.
>  
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Gustavo Eggert 
> Boehs
> Sent: Friday, July 12, 2013 4:28 PM
> To: SI mailing list
> Subject: Re: ICE arrays again
>  
> There is a video by Paul Smith on this: https://vimeo.com/49833260
>  
> 
> 2013/7/12 Ciaran Moloney <[email protected]>
> That would work as long as it's simulated.
>  
> 
> On Fri, Jul 12, 2013 at 9:17 PM, Ponthieux, Joseph G. (LARC-E1A)[LITES] 
> <[email protected]> wrote:
>  
> 
> Also, couldn't you just Push on Array every frame?
> 
> What I was trying to do was use array to capture an animated value, per index 
> of the array, from every frame. I then wanted to get the sum of all the 
> values in the array by using the current frame as a limit on the number of 
> indices in the array to add. If I use push wouldn’t the array grow 
> indefinitely?
>  
> I need to be able to go to frame 3 and have the values for a specific 
> parameter on frames 1, 2, and 3 add to a sum. Same for Frame 90, should be 
> the sum of 1-90. I don’t think push would work reliably in this scenario, 
> would it?
>  
> Thanks
>  
> Joey
>  
>  
>  
>  
> 
> On 12/07/2013 3:47 PM, Ponthieux, Joseph G. (LARC-E1A)[LITES] wrote:
> No luck. FCurve is a modulation of the input. Its unintuitive for this 
> purpose.
>  
> Curious if anyone can tell me more about arrays.
>  
> When I arrange this below, I expect the scalar value on the left(which is 
> animated), to record something different each frame. At each array index with 
> the same number as the frame it was taken from should it record that value? I 
> show that the value on the left passes all the way to the upper right, but it 
> is only persistent for the frame it is queried. None of the indexed values 
> are recorded permanently. The value on the bottom right is only the same as 
> the left when on Frame 3, but every other frame Index 3’s value is 0.  Is 
> that what is supposed to happen?
>  
>  
> <image001.png>
>  
> Thanks
> --
> Joey Ponthieux
> LaRC Information Technology Enhanced Services (LITES)
> Mymic Technical Services
> NASA Langley Research Center
> __________________________________________________
> Opinions stated here-in are strictly those of the author and do not
> represent the opinions of NASA or any other party.
>  
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Ponthieux, 
> Joseph G. (LARC-E1A)[LITES]
> Sent: Friday, July 12, 2013 2:06 PM
> To: [email protected]
> Subject: RE: ICE arrays again
>  
> FCurve node?
>  
> Gee, I didn’t even know there was one. Might have something to do with the 
> fact I would have never thought to look in anything other than Kinematics or 
> Curves for that. J
>  
> I’ll certainly try it. Thanks!
>  
>  
>  
> --
> Joey Ponthieux
> LaRC Information Technology Enhanced Services (LITES)
> Mymic Technical Services
> NASA Langley Research Center
> __________________________________________________
> Opinions stated here-in are strictly those of the author and do not
> represent the opinions of NASA or any other party.
>  
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of David Barosin
> Sent: Friday, July 12, 2013 1:58 PM
> To: xsi
> Subject: Re: ICE arrays again
>  
> Would an fCurve node do the trick?   Make the animation curve in there and 
> grab values base on a scalar input.
>  
> 
> On Fri, Jul 12, 2013 at 1:49 PM, Ponthieux, Joseph G. (LARC-E1A)[LITES] 
> <[email protected]> wrote:
>  
> >How would you store the animation from just a single  ICE scalar node as an 
> >action?
>  
> So I figured this part out at least. I did manage to bring in the  
> StoredFcvAction and the value  and pass it along to something else. I can 
> pull any value from any defined frame. Problem is this does not look 
> portable. The action is stored under Mixer Sources and not under “self”. I 
> need this to inherit the original scalar animation from any object which this 
> tree is applied and inherit any changes. I’m guessing a new action would need 
> to be created every time a change is made to the original.  Is that correct?
>  
> Joey
>  
>  
> >And further, doesn’t this require explicit creation of a new action for each 
> >time I plan to reuse this  tree on a different object?
>  
> --
> Joey Ponthieux
> LaRC Information Technology Enhanced Services (LITES)
> Mymic Technical Services
> NASA Langley Research Center
> __________________________________________________
> Opinions stated here-in are strictly those of the author and do not
> represent the opinions of NASA or any other party.
>  
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Gustavo Eggert 
> Boehs
> Sent: Friday, July 12, 2013 1:03 PM
> To: [email protected]
> Subject: Re: ICE arrays again
>  
> You can get data at a given frame as long as it is stored in a Action. There 
> is a get data from action node with a frame parameter.
> 
> Em 12/07/2013 13:20, "Ponthieux, Joseph G. (LARC-E1A)[LITES]" 
> <[email protected]> escreveu:
> Hello,
>  
> I have a scalar node in an ICE tree which has been keyframed. I want to load 
> the sequence of values(represented by the animation curve) into an ICE array 
> so that I can extract a value from any frame by selecting that corresponding 
> index.
>  
> For example, if I am on frame 99 I want to get the animation value from Frame 
> 3. I thought arrays would permit me to do this but it seems I’ve only been 
> able to insert or set a value on a specific frame, the minute I move to 
> another frame the index value is lost. I can’t figure out if this is 
> possible. What am I doing wrong?
>  
> --
> Joey Ponthieux
> LaRC Information Technology Enhanced Services (LITES)
> Mymic Technical Services
> NASA Langley Research Center
> __________________________________________________
> Opinions stated here-in are strictly those of the author and do not
> represent the opinions of NASA or any other party.
>  
>  
>  
>  
> 
> 
>  
> -- 
> Gustavo E Boehs
> http://www.gustavoeb.com.br/blog

Reply via email to