I could make this array in my sleep with Perl. But....this 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.

Reply via email to