Re: arrays yet again

2013-09-10 Thread Alok Gandhi
If you can work out array logics in your dreams then yes, it is indeed a sweet 
dream !

Sent from my iPhone

On 2013-09-10, at 9:06 AM, Xavier  wrote:

> """I could make this array in my sleep with Perl. But….this is not Perl…."""
> 
> Is that anywhere close to a sweet dream?


RE: arrays yet again

2013-09-10 Thread Xavier
"""I could make this array in my sleep with Perl. But….this is not Perl…."""

Is that anywhere close to a sweet dream?


RE: arrays yet again

2013-09-06 Thread Ponthieux, Joseph G. (LARC-E1A)[LITES]
I could make this array in my sleep with Perl. Butthis is not Perl

--
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: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind
Sent: Thursday, September 05, 2013 11:02 PM
To: softimage@listproc.autodesk.com
Subject: RE: arrays yet again

I'm not sure if this is easy in ICE, but in coding you could build that pattern 
very easily with a truth table and an XOR operator.


Matt



From: 
softimage-boun...@listproc.autodesk.com<mailto:softimage-boun...@listproc.autodesk.com>
 [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Grahame Fuller
Sent: Thursday, September 05, 2013 4:40 PM
To: softimage@listproc.autodesk.com<mailto:softimage@listproc.autodesk.com>
Subject: RE: arrays yet again

For the first case, here's one way:

Build an index array of the size you want, and modulo the result by 4.

Build an array [0,0,1,1].

Use the result of the modulo to select a value from this array.

gray

From: 
softimage-boun...@listproc.autodesk.com<mailto:softimage-boun...@listproc.autodesk.com>
 [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Ponthieux, 
Joseph G. (LARC-E1A)[LITES]
Sent: Thursday, September 05, 2013 7:06 PM
To: softimage@listproc.autodesk.com<mailto:softimage@listproc.autodesk.com>
Subject: RE: arrays yet again

OR

An array that looks like

0,1,4,5,8,9,12,13,16,17,20,21,etc

would also do...

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: 
softimage-boun...@listproc.autodesk.com<mailto:softimage-boun...@listproc.autodesk.com>
 [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Ponthieux, 
Joseph G. (LARC-E1A)[LITES]
Sent: Thursday, September 05, 2013 6:51 PM
To: softimage@listproc.autodesk.com<mailto:softimage@listproc.autodesk.com>
Subject: arrays yet again

Howdy,

I want to build a 100 index array in ICE that looks like

0,0,1,1,0,0,1,1,00,1,1 etc

I'm guessing that this is doable, but I'm stumped.

--
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.



Re: arrays yet again

2013-09-06 Thread Simon Reeves
I love arrays

Simon Reeves
VFX Artist
London, UK

On 6 Sep 2013, at 10:19, Christian Freisleder  wrote:

 Fun with arrays ;)

for the 00110011 case


thieux, Joseph G. (LARC-E1A)[LITES] wrote:

  Howdy,



I want to build a 100 index array in ICE that looks like



0,0,1,1,0,0,1,1,00,1,1 etc



I’m guessing that this is doable, but I’m stumped.



--

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.


RE: arrays yet again

2013-09-05 Thread Matt Lind
I'm not sure if this is easy in ICE, but in coding you could build that pattern 
very easily with a truth table and an XOR operator.


Matt



From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Grahame Fuller
Sent: Thursday, September 05, 2013 4:40 PM
To: softimage@listproc.autodesk.com
Subject: RE: arrays yet again

For the first case, here's one way:

Build an index array of the size you want, and modulo the result by 4.

Build an array [0,0,1,1].

Use the result of the modulo to select a value from this array.

gray

From: 
softimage-boun...@listproc.autodesk.com<mailto:softimage-boun...@listproc.autodesk.com>
 [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Ponthieux, 
Joseph G. (LARC-E1A)[LITES]
Sent: Thursday, September 05, 2013 7:06 PM
To: softimage@listproc.autodesk.com<mailto:softimage@listproc.autodesk.com>
Subject: RE: arrays yet again

OR

An array that looks like

0,1,4,5,8,9,12,13,16,17,20,21,etc

would also do...

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: 
softimage-boun...@listproc.autodesk.com<mailto:softimage-boun...@listproc.autodesk.com>
 [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Ponthieux, 
Joseph G. (LARC-E1A)[LITES]
Sent: Thursday, September 05, 2013 6:51 PM
To: softimage@listproc.autodesk.com<mailto:softimage@listproc.autodesk.com>
Subject: arrays yet again

Howdy,

I want to build a 100 index array in ICE that looks like

0,0,1,1,0,0,1,1,00,1,1 etc

I'm guessing that this is doable, but I'm stumped.

--
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.



Re: arrays yet again

2013-09-05 Thread Daniel Brassard
The other array is also a modulo, this time devided by 2 to select between
two values in an array {1,3} and add to the previous number in the main
array like so, starting at zero, previous plus one, previous plus three,
previous plus one, previous plus three and so on.


On Thu, Sep 5, 2013 at 7:44 PM, David Barosin  wrote:

> Where are the values coming from?   You could convert a string to an array
> (String to Array Node)
> Or use a (build array from constant node) and replace the values with
> whatever method you need (modulo etc...)
>
>
>
> On Thu, Sep 5, 2013 at 7:06 PM, Ponthieux, Joseph G. (LARC-E1A)[LITES] <
> j.ponthi...@nasa.gov> wrote:
>
>>  OR….
>>
>> ** **
>>
>> An array that looks like
>>
>> ** **
>>
>> 0,1,4,5,8,9,12,13,16,17,20,21,etc
>>
>> ** **
>>
>> would also do…
>>
>> ** **
>>
>> 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:* softimage-boun...@listproc.autodesk.com [mailto:
>> softimage-boun...@listproc.autodesk.com] *On Behalf Of *Ponthieux,
>> Joseph G. (LARC-E1A)[LITES]
>> *Sent:* Thursday, September 05, 2013 6:51 PM
>> *To:* softimage@listproc.autodesk.com
>> *Subject:* arrays yet again
>>
>> ** **
>>
>> Howdy,
>>
>> ** **
>>
>> I want to build a 100 index array in ICE that looks like
>>
>> ** **
>>
>> 0,0,1,1,0,0,1,1,00,1,1 etc
>>
>> ** **
>>
>> I’m guessing that this is doable, but I’m stumped.
>>
>> ** **
>>
>> --
>>
>> 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.
>>
>> ** **
>>
>
>


RE: arrays yet again

2013-09-05 Thread Ponthieux, Joseph G. (LARC-E1A)[LITES]
OR

An array that looks like

0,1,4,5,8,9,12,13,16,17,20,21,etc

would also do...

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: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Ponthieux, Joseph 
G. (LARC-E1A)[LITES]
Sent: Thursday, September 05, 2013 6:51 PM
To: softimage@listproc.autodesk.com
Subject: arrays yet again

Howdy,

I want to build a 100 index array in ICE that looks like

0,0,1,1,0,0,1,1,00,1,1 etc

I'm guessing that this is doable, but I'm stumped.

--
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.



RE: arrays yet again

2013-09-05 Thread Grahame Fuller
For the first case, here's one way:

Build an index array of the size you want, and modulo the result by 4.

Build an array [0,0,1,1].

Use the result of the modulo to select a value from this array.

gray

From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Ponthieux, Joseph 
G. (LARC-E1A)[LITES]
Sent: Thursday, September 05, 2013 7:06 PM
To: softimage@listproc.autodesk.com
Subject: RE: arrays yet again

OR

An array that looks like

0,1,4,5,8,9,12,13,16,17,20,21,etc

would also do...

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: 
softimage-boun...@listproc.autodesk.com<mailto:softimage-boun...@listproc.autodesk.com>
 [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Ponthieux, 
Joseph G. (LARC-E1A)[LITES]
Sent: Thursday, September 05, 2013 6:51 PM
To: softimage@listproc.autodesk.com<mailto:softimage@listproc.autodesk.com>
Subject: arrays yet again

Howdy,

I want to build a 100 index array in ICE that looks like

0,0,1,1,0,0,1,1,00,1,1 etc

I'm guessing that this is doable, but I'm stumped.

--
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.

<>

Re: arrays yet again

2013-09-05 Thread David Barosin
Where are the values coming from?   You could convert a string to an array
(String to Array Node)
Or use a (build array from constant node) and replace the values with
whatever method you need (modulo etc...)



On Thu, Sep 5, 2013 at 7:06 PM, Ponthieux, Joseph G. (LARC-E1A)[LITES] <
j.ponthi...@nasa.gov> wrote:

>  OR….
>
> ** **
>
> An array that looks like
>
> ** **
>
> 0,1,4,5,8,9,12,13,16,17,20,21,etc
>
> ** **
>
> would also do…
>
> ** **
>
> 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:* softimage-boun...@listproc.autodesk.com [mailto:
> softimage-boun...@listproc.autodesk.com] *On Behalf Of *Ponthieux, Joseph
> G. (LARC-E1A)[LITES]
> *Sent:* Thursday, September 05, 2013 6:51 PM
> *To:* softimage@listproc.autodesk.com
> *Subject:* arrays yet again
>
> ** **
>
> Howdy,
>
> ** **
>
> I want to build a 100 index array in ICE that looks like
>
> ** **
>
> 0,0,1,1,0,0,1,1,00,1,1 etc
>
> ** **
>
> I’m guessing that this is doable, but I’m stumped.
>
> ** **
>
> --
>
> 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.
>
> ** **
>