Re: ICE Internal Cache

2016-02-28 Thread Eric Thivierge
Just updated the gist and marked the attribute as 'AlwaysEvaluated'. This
is important to ensure it sticks around. Also worth checking out the
AddStaticICEAttribute() command too.

Sometimes it's tricky to just freeze a mesh that has an ICE Attribute on it
that is driven to "store" it. Next time you open / save the scene Softimage
could clear that data since it's not being used. I've had that a few times
unless you mark it as AlwaysEvaluated in the ICE Attribute Editor.


Eric Thivierge
http://www.ethivierge.com

On Sun, Feb 28, 2016 at 3:46 PM, Busty kelp  wrote:

> https://vimeo.com/49833260
>
> This isn't storing per point data but the method is the same
>
> Sent from my iPad
>
> On 28 Feb 2016, at 19:45, Jeremie Passerin  wrote:
>
> Thanks Eric, I'll give it a try on Monday.
> On Feb 28, 2016 11:28 AM, "Eric Thivierge"  wrote:
>
>> Here you go Jeremy & all:
>>
>> https://gist.github.com/EricTRocks/acdb297705dd58a6226c
>>
>> Can probably be optimized a bit but works for my needs.
>>
>> Eric T.
>>
>> 
>> Eric Thivierge
>> http://www.ethivierge.com
>>
>> On Sat, Feb 27, 2016 at 10:35 PM, Eric Thivierge 
>> wrote:
>>
>>> Yes I've done it for an internal tool. I can dig up a snippet in the
>>> next few days. You're basically going to write to a Vec3 array attribute
>>> that you'll have to pre-fill with place holder data then build up your data
>>> array through your timeline pass and at the end set it all at once.
>>>
>>> It's essentially emulating the shape plot feature where it baked the
>>> data to a clip internally to the scene. So you don't have to manage this
>>> out of the scene.
>>> On Feb 27, 2016 6:46 PM, "Ed Manning"  wrote:
>>>
 pretty sure you could:

 Get PointPosition => Build Array From Set => Set Data (self.myDataArray
 {or whatever name you choose})

 Then use a Get Data node referencing "self.myDataArray" if in the same
 ICEtree, or referencing the geo or pointcloud you set the data on if
 applying to other geo.

 I think it needs to get more complex if you're building the
 pointPosition array from a pointcloud that has a varying number of points,
 like a sim in which particles are being created or deleted...

 On Fri, Feb 26, 2016 at 9:12 PM, Jeremie Passerin 
 wrote:

> Hey guys,
>
> I'm not sure if there is many people left on that list to answer, but
> I thought I'll give it a shot.
>
> I was wondering if there is a way with ICE to cache point position per
> frame internaly without saving to file.
> I'm thinking maybe I could build an array of point position, and then
> read from that... not sure how to do that though.
>
> Any idea ?
>
> Thanks,
> Jeremie
>
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>


 --
 Softimage Mailing List.
 To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
 with "unsubscribe" in the subject, and reply to confirm.

>>>
>>
>> --
>> Softimage Mailing List.
>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
>> with "unsubscribe" in the subject, and reply to confirm.
>>
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
>
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: ICE Internal Cache

2016-02-28 Thread Busty kelp
https://vimeo.com/49833260

This isn't storing per point data but the method is the same 

Sent from my iPad

> On 28 Feb 2016, at 19:45, Jeremie Passerin  wrote:
> 
> Thanks Eric, I'll give it a try on Monday.
> 
>> On Feb 28, 2016 11:28 AM, "Eric Thivierge"  wrote:
>> Here you go Jeremy & all:
>> 
>> https://gist.github.com/EricTRocks/acdb297705dd58a6226c
>> 
>> Can probably be optimized a bit but works for my needs.
>> 
>> Eric T.
>> 
>> 
>> Eric Thivierge
>> http://www.ethivierge.com
>> 
>>> On Sat, Feb 27, 2016 at 10:35 PM, Eric Thivierge  
>>> wrote:
>>> Yes I've done it for an internal tool. I can dig up a snippet in the next 
>>> few days. You're basically going to write to a Vec3 array attribute that 
>>> you'll have to pre-fill with place holder data then build up your data 
>>> array through your timeline pass and at the end set it all at once.
>>> 
>>> It's essentially emulating the shape plot feature where it baked the data 
>>> to a clip internally to the scene. So you don't have to manage this out of 
>>> the scene.
>>> 
 On Feb 27, 2016 6:46 PM, "Ed Manning"  wrote:
 pretty sure you could:
 
 Get PointPosition => Build Array From Set => Set Data (self.myDataArray 
 {or whatever name you choose})
 
 Then use a Get Data node referencing "self.myDataArray" if in the same 
 ICEtree, or referencing the geo or pointcloud you set the data on if 
 applying to other geo.
 
 I think it needs to get more complex if you're building the pointPosition 
 array from a pointcloud that has a varying number of points, like a sim in 
 which particles are being created or deleted...
 
> On Fri, Feb 26, 2016 at 9:12 PM, Jeremie Passerin  
> wrote:
> Hey guys, 
> 
> I'm not sure if there is many people left on that list to answer, but I 
> thought I'll give it a shot. 
> 
> I was wondering if there is a way with ICE to cache point position per 
> frame internaly without saving to file.
> I'm thinking maybe I could build an array of point position, and then 
> read from that... not sure how to do that though. 
> 
> Any idea ? 
> 
> Thanks, 
> Jeremie
> 
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com 
> with "unsubscribe" in the subject, and reply to confirm.
 
 
 --
 Softimage Mailing List.
 To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com 
 with "unsubscribe" in the subject, and reply to confirm.
>> 
>> 
>> --
>> Softimage Mailing List.
>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
>> "unsubscribe" in the subject, and reply to confirm.
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
> "unsubscribe" in the subject, and reply to confirm.
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: ICE Internal Cache

2016-02-28 Thread Busty kelp
I haven't looked at Eric's file, but if you want to, this is very easy in ice. 
You can store per point data adding each frame to an array. On a clone.   At 
the end, freeze the clone and it will be a Permanent attribute you can read 
from another object.

Sent from my iPad

> On 28 Feb 2016, at 19:45, Jeremie Passerin  wrote:
> 
> Thanks Eric, I'll give it a try on Monday.
> 
>> On Feb 28, 2016 11:28 AM, "Eric Thivierge"  wrote:
>> Here you go Jeremy & all:
>> 
>> https://gist.github.com/EricTRocks/acdb297705dd58a6226c
>> 
>> Can probably be optimized a bit but works for my needs.
>> 
>> Eric T.
>> 
>> 
>> Eric Thivierge
>> http://www.ethivierge.com
>> 
>>> On Sat, Feb 27, 2016 at 10:35 PM, Eric Thivierge  
>>> wrote:
>>> Yes I've done it for an internal tool. I can dig up a snippet in the next 
>>> few days. You're basically going to write to a Vec3 array attribute that 
>>> you'll have to pre-fill with place holder data then build up your data 
>>> array through your timeline pass and at the end set it all at once.
>>> 
>>> It's essentially emulating the shape plot feature where it baked the data 
>>> to a clip internally to the scene. So you don't have to manage this out of 
>>> the scene.
>>> 
 On Feb 27, 2016 6:46 PM, "Ed Manning"  wrote:
 pretty sure you could:
 
 Get PointPosition => Build Array From Set => Set Data (self.myDataArray 
 {or whatever name you choose})
 
 Then use a Get Data node referencing "self.myDataArray" if in the same 
 ICEtree, or referencing the geo or pointcloud you set the data on if 
 applying to other geo.
 
 I think it needs to get more complex if you're building the pointPosition 
 array from a pointcloud that has a varying number of points, like a sim in 
 which particles are being created or deleted...
 
> On Fri, Feb 26, 2016 at 9:12 PM, Jeremie Passerin  
> wrote:
> Hey guys, 
> 
> I'm not sure if there is many people left on that list to answer, but I 
> thought I'll give it a shot. 
> 
> I was wondering if there is a way with ICE to cache point position per 
> frame internaly without saving to file.
> I'm thinking maybe I could build an array of point position, and then 
> read from that... not sure how to do that though. 
> 
> Any idea ? 
> 
> Thanks, 
> Jeremie
> 
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com 
> with "unsubscribe" in the subject, and reply to confirm.
 
 
 --
 Softimage Mailing List.
 To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com 
 with "unsubscribe" in the subject, and reply to confirm.
>> 
>> 
>> --
>> Softimage Mailing List.
>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
>> "unsubscribe" in the subject, and reply to confirm.
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
> "unsubscribe" in the subject, and reply to confirm.
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: ICE Internal Cache

2016-02-28 Thread Jeremie Passerin
Thanks Eric, I'll give it a try on Monday.
On Feb 28, 2016 11:28 AM, "Eric Thivierge"  wrote:

> Here you go Jeremy & all:
>
> https://gist.github.com/EricTRocks/acdb297705dd58a6226c
>
> Can probably be optimized a bit but works for my needs.
>
> Eric T.
>
> 
> Eric Thivierge
> http://www.ethivierge.com
>
> On Sat, Feb 27, 2016 at 10:35 PM, Eric Thivierge 
> wrote:
>
>> Yes I've done it for an internal tool. I can dig up a snippet in the next
>> few days. You're basically going to write to a Vec3 array attribute that
>> you'll have to pre-fill with place holder data then build up your data
>> array through your timeline pass and at the end set it all at once.
>>
>> It's essentially emulating the shape plot feature where it baked the data
>> to a clip internally to the scene. So you don't have to manage this out of
>> the scene.
>> On Feb 27, 2016 6:46 PM, "Ed Manning"  wrote:
>>
>>> pretty sure you could:
>>>
>>> Get PointPosition => Build Array From Set => Set Data (self.myDataArray
>>> {or whatever name you choose})
>>>
>>> Then use a Get Data node referencing "self.myDataArray" if in the same
>>> ICEtree, or referencing the geo or pointcloud you set the data on if
>>> applying to other geo.
>>>
>>> I think it needs to get more complex if you're building the
>>> pointPosition array from a pointcloud that has a varying number of points,
>>> like a sim in which particles are being created or deleted...
>>>
>>> On Fri, Feb 26, 2016 at 9:12 PM, Jeremie Passerin 
>>> wrote:
>>>
 Hey guys,

 I'm not sure if there is many people left on that list to answer, but I
 thought I'll give it a shot.

 I was wondering if there is a way with ICE to cache point position per
 frame internaly without saving to file.
 I'm thinking maybe I could build an array of point position, and then
 read from that... not sure how to do that though.

 Any idea ?

 Thanks,
 Jeremie

 --
 Softimage Mailing List.
 To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
 with "unsubscribe" in the subject, and reply to confirm.

>>>
>>>
>>> --
>>> Softimage Mailing List.
>>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
>>> with "unsubscribe" in the subject, and reply to confirm.
>>>
>>
>
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: ICE Internal Cache

2016-02-28 Thread Eric Thivierge
Here you go Jeremy & all:

https://gist.github.com/EricTRocks/acdb297705dd58a6226c

Can probably be optimized a bit but works for my needs.

Eric T.


Eric Thivierge
http://www.ethivierge.com

On Sat, Feb 27, 2016 at 10:35 PM, Eric Thivierge 
wrote:

> Yes I've done it for an internal tool. I can dig up a snippet in the next
> few days. You're basically going to write to a Vec3 array attribute that
> you'll have to pre-fill with place holder data then build up your data
> array through your timeline pass and at the end set it all at once.
>
> It's essentially emulating the shape plot feature where it baked the data
> to a clip internally to the scene. So you don't have to manage this out of
> the scene.
> On Feb 27, 2016 6:46 PM, "Ed Manning"  wrote:
>
>> pretty sure you could:
>>
>> Get PointPosition => Build Array From Set => Set Data (self.myDataArray
>> {or whatever name you choose})
>>
>> Then use a Get Data node referencing "self.myDataArray" if in the same
>> ICEtree, or referencing the geo or pointcloud you set the data on if
>> applying to other geo.
>>
>> I think it needs to get more complex if you're building the pointPosition
>> array from a pointcloud that has a varying number of points, like a sim in
>> which particles are being created or deleted...
>>
>> On Fri, Feb 26, 2016 at 9:12 PM, Jeremie Passerin 
>> wrote:
>>
>>> Hey guys,
>>>
>>> I'm not sure if there is many people left on that list to answer, but I
>>> thought I'll give it a shot.
>>>
>>> I was wondering if there is a way with ICE to cache point position per
>>> frame internaly without saving to file.
>>> I'm thinking maybe I could build an array of point position, and then
>>> read from that... not sure how to do that though.
>>>
>>> Any idea ?
>>>
>>> Thanks,
>>> Jeremie
>>>
>>> --
>>> Softimage Mailing List.
>>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
>>> with "unsubscribe" in the subject, and reply to confirm.
>>>
>>
>>
>> --
>> Softimage Mailing List.
>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
>> with "unsubscribe" in the subject, and reply to confirm.
>>
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: ICE Internal Cache

2016-02-27 Thread Eric Thivierge
Yes I've done it for an internal tool. I can dig up a snippet in the next
few days. You're basically going to write to a Vec3 array attribute that
you'll have to pre-fill with place holder data then build up your data
array through your timeline pass and at the end set it all at once.

It's essentially emulating the shape plot feature where it baked the data
to a clip internally to the scene. So you don't have to manage this out of
the scene.
On Feb 27, 2016 6:46 PM, "Ed Manning"  wrote:

> pretty sure you could:
>
> Get PointPosition => Build Array From Set => Set Data (self.myDataArray
> {or whatever name you choose})
>
> Then use a Get Data node referencing "self.myDataArray" if in the same
> ICEtree, or referencing the geo or pointcloud you set the data on if
> applying to other geo.
>
> I think it needs to get more complex if you're building the pointPosition
> array from a pointcloud that has a varying number of points, like a sim in
> which particles are being created or deleted...
>
> On Fri, Feb 26, 2016 at 9:12 PM, Jeremie Passerin 
> wrote:
>
>> Hey guys,
>>
>> I'm not sure if there is many people left on that list to answer, but I
>> thought I'll give it a shot.
>>
>> I was wondering if there is a way with ICE to cache point position per
>> frame internaly without saving to file.
>> I'm thinking maybe I could build an array of point position, and then
>> read from that... not sure how to do that though.
>>
>> Any idea ?
>>
>> Thanks,
>> Jeremie
>>
>> --
>> Softimage Mailing List.
>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
>> with "unsubscribe" in the subject, and reply to confirm.
>>
>
>
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: ICE Internal Cache

2016-02-27 Thread Ed Manning
pretty sure you could:

Get PointPosition => Build Array From Set => Set Data (self.myDataArray {or
whatever name you choose})

Then use a Get Data node referencing "self.myDataArray" if in the same
ICEtree, or referencing the geo or pointcloud you set the data on if
applying to other geo.

I think it needs to get more complex if you're building the pointPosition
array from a pointcloud that has a varying number of points, like a sim in
which particles are being created or deleted...

On Fri, Feb 26, 2016 at 9:12 PM, Jeremie Passerin 
wrote:

> Hey guys,
>
> I'm not sure if there is many people left on that list to answer, but I
> thought I'll give it a shot.
>
> I was wondering if there is a way with ICE to cache point position per
> frame internaly without saving to file.
> I'm thinking maybe I could build an array of point position, and then read
> from that... not sure how to do that though.
>
> Any idea ?
>
> Thanks,
> Jeremie
>
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: ICE Internal Cache

2016-02-26 Thread Bradley Gabe
Any reason you don't want to save to an external file? I used to create
point clouds just to store specific data sets to then use to drive another
simulation. For example, creating a volumetric cloud of vectors you could
visualize to drive another simulation.

On Fri, Feb 26, 2016 at 8:12 PM, Jeremie Passerin 
wrote:

> Hey guys,
>
> I'm not sure if there is many people left on that list to answer, but I
> thought I'll give it a shot.
>
> I was wondering if there is a way with ICE to cache point position per
> frame internaly without saving to file.
> I'm thinking maybe I could build an array of point position, and then read
> from that... not sure how to do that though.
>
> Any idea ?
>
> Thanks,
> Jeremie
>
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

ICE Internal Cache

2016-02-26 Thread Jeremie Passerin
Hey guys,

I'm not sure if there is many people left on that list to answer, but I
thought I'll give it a shot.

I was wondering if there is a way with ICE to cache point position per
frame internaly without saving to file.
I'm thinking maybe I could build an array of point position, and then read
from that... not sure how to do that though.

Any idea ?

Thanks,
Jeremie
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.