[PD] Writing texture to different sides of cube in GEM

Kyle Klipowicz kyleklip at gmail.com
Mon Aug 25 02:55:02 CEST 2008


Yes! That is sweet. Thanks!

~Kyle

On Sun, Aug 24, 2008 at 4:33 AM, Steffen Leve Poulsen <
slagmark at worldonline.dk> wrote:

> Adityo Pratomo skrev:
>
>> i've tried this method yesterday, buat still found it hard to "stick"
>> the square's edge to form a cube. It still looked like a cube, but
>> it's not solid
>>
>>
> try attached.
>
> .:..:.::::.:..:.
>
> mvh Stef
>
> #N canvas 513 3 538 473 10;
> #X declare -lib gem;
> #X obj 131 41 declare -lib gem;
> #X obj 131 128 gemwin;
> #X msg 141 89 0 \, destroy;
> #X obj 134 164 gemhead;
> #X msg 131 65 lighting 1 \, create \, 1;
> #X obj 136 265 gemhead;
> #X floatatom 177 298 5 0 0 0 - - -;
> #X floatatom 251 299 5 0 0 0 - - -;
> #X obj 136 408 square;
> #X floatatom 186 387 5 0 0 0 - - -;
> #N canvas 433 24 674 632 transform 0;
> #X obj 75 528 outlet;
> #X obj 120 6 inlet;
> #X obj 173 309 unpack f f f;
> #X obj 284 237 list split 3;
> #X obj 75 130 gemhead;
> #X obj 368 339 unpack f f f;
> #X obj 75 491 rotateXYZ;
> #X obj 294 309 inlet;
> #X obj 492 340 inlet;
> #X obj 155 113 t b l b;
> #X obj 206 139 outlet;
> #X obj 120 33 b;
> #X floatatom 106 232 5 0 0 0 - - -;
> #X msg 155 62 0 0 1 0 0 0 \, 0 0 -1 0 -180 0 \, -1 0 0 0 -90 0 \, 1
> 0 0 0 90 0 \, 0 1 0 -90 0 0 \, 0 -1 0 90 0 0;
> #X floatatom 151 232 5 0 0 0 - - -;
> #X floatatom 190 231 5 0 0 0 - - -;
> #X obj 173 345 *;
> #X obj 215 345 *;
> #X obj 275 352 *;
> #X obj 368 375 *;
> #X obj 410 375 *;
> #X obj 470 382 *;
> #X floatatom 184 180 5 0 0 0 - - -;
> #X obj 75 265 rotateXYZ 212 45 -4;
> #X obj 75 391 translateXYZ;
> #X obj 75 201 translateXYZ 0 0 -1;
> #X connect 1 0 11 0;
> #X connect 2 0 16 0;
> #X connect 2 1 17 0;
> #X connect 2 2 18 0;
> #X connect 3 0 2 0;
> #X connect 3 1 5 0;
> #X connect 4 0 25 0;
> #X connect 5 0 19 0;
> #X connect 5 1 20 0;
> #X connect 5 2 21 0;
> #X connect 6 0 0 0;
> #X connect 7 0 16 1;
> #X connect 7 0 17 1;
> #X connect 7 0 18 1;
> #X connect 8 0 19 1;
> #X connect 8 0 20 1;
> #X connect 8 0 21 1;
> #X connect 9 0 4 0;
> #X connect 9 1 3 0;
> #X connect 9 2 10 0;
> #X connect 11 0 13 0;
> #X connect 12 0 23 1;
> #X connect 13 0 9 0;
> #X connect 14 0 23 2;
> #X connect 15 0 23 3;
> #X connect 16 0 24 1;
> #X connect 17 0 24 2;
> #X connect 18 0 24 3;
> #X connect 19 0 6 1;
> #X connect 20 0 6 2;
> #X connect 21 0 6 3;
> #X connect 22 0 25 3;
> #X connect 23 0 24 0;
> #X connect 24 0 6 0;
> #X connect 25 0 23 0;
> #X restore 136 337 pd transform to cube;
> #X obj 134 204 world_light;
> #X obj 204 159 loadbang;
> #X text 154 296 r *;
> #X text 217 296 phi *;
> #X msg 195 180 0.01 0.79 0.87;
> #X msg 204 263 1;
> #X connect 2 0 1 0;
> #X connect 3 0 11 0;
> #X connect 4 0 1 0;
> #X connect 5 0 10 0;
> #X connect 6 0 10 1;
> #X connect 7 0 10 2;
> #X connect 9 0 8 1;
> #X connect 10 0 8 0;
> #X connect 12 0 15 0;
> #X connect 12 0 16 0;
> #X connect 15 0 11 1;
> #X connect 16 0 6 0;
> #X connect 16 0 7 0;
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>


-- 
-----
------------
---- -----
---- -------- - ------
http://perhapsidid.wordpress.com
http://myspace.com/kyleklipowicz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080824/dc1d3113/attachment.htm>


More information about the Pd-list mailing list