Making a dial

Sep 14, 2007 at 2:03pm

Making a dial

Hi folks,

do you know if exist a solution to quickly build a “dial” jpg for using it with the pictctrl object?
That is, a jpg with a sequences of images progressive rotated…

I’m trying right now with Macromedia Flash: it can export a sequence of jpg (or pict or whatever), but is only half of the work, because I should copy/paste any pict in a big jpg using photoshop or something like this.

Alternatevely, I’m seeing that Flash can export an animated gif, that is maybe what I’m looking for.
However, I don’t know how to convert an animated gif to a jpg sequence…

Any help will be really appreciated!

Regards
Carlo

#33677
Sep 14, 2007 at 2:26pm

Take a look at this thread:

http://www.cycling74.com/forums/index.php?t=msg&goto=91671

Best,
Dan

At 8:03 AM -0600 9/14/07, carlo rossi wrote:
>Hi folks,
>
>do you know if exist a solution to quickly build a “dial” jpg for
>using it with the pictctrl object?
>That is, a jpg with a sequences of images progressive rotated…


Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X / Major
Malfunction
http://www.defectiverecords.com

http://www.jackosx.com

#112501
Sep 14, 2007 at 11:10pm

Ops
Thank you :)

#112502
Sep 15, 2007 at 9:06am

If you are on a mac and don’t mind some programming (as if anyone
patching would mind that) there is a very nice program which you can
easely code to do all kinds of freaky stuff: http://www.nodebox.net
don’t know if it would be the best thing for it but at least you can
generate some pdf’s that you can brake apart in illustrator or flash
or something like that

anyway it’s a great program to mess with

best

pieter

On 14 Sep 2007, at 16:26, Dan Nigrin wrote:

> Take a look at this thread:
>
> http://www.cycling74.com/forums/index.php?t=msg&goto=91671
>
> Best,
> Dan
>
> At 8:03 AM -0600 9/14/07, carlo rossi wrote:
>> Hi folks,
>>
>> do you know if exist a solution to quickly build a “dial” jpg for
>> using it with the pictctrl object?
>> That is, a jpg with a sequences of images progressive rotated…
>
> —
> Dan Nigrin
> Defective Records
> 202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X /
> Major Malfunction
> http://www.defectiverecords.com
> http://www.jackosx.com
>
>

#112503
Sep 16, 2007 at 11:35am

Thank you, it seems to be a great program.
However, I solved using the photoshop script, it works perfectly.

But I have a strange issue if I try to use a jpg with height bigger than 50px, I can’t understand what is happening…

I attach a file containing a test patch and two jpg, the first works fine, the second not.

Thank you for helps!

Carlo

#112504
Sep 16, 2007 at 11:38am

Oh sorry, it was just because I set a wrong number of frames!

Sorry for spam :)

#112505
Sep 23, 2007 at 3:50am

I’ve thought about this a lot and realized that really, one should just create the dial in GL and then use the GL commands with a counter to rotate it, capturing the frames each tick. The only problem is that the dial needs all the images in a single file, in a row :: any way to automatically do this, as opposed to saving 128 (or however many) separate files?

Some kind of magic with the dstrect command and a really long, skinny matrix… probably.

That would be cool, an automatic dial-creator right in Max, for use in Max!

–CJ

#112506
Sep 23, 2007 at 7:16am

heres what I had made to that effect, sorry for the lack of documentation. I haven’t used it in a while but maybe later Ill clean it up so its more user friendly. Load in a movie and set the dimensions and frame numbers and click go and then export a pict.

#P button 419 199 15 0;
#P user jit.pwindow 429 273 192 52 0 1 0 0 1 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 490 201 30 196617 read;
#P number 437 180 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 437 201 50 196617 frame $1;
#P newex 433 239 99 196617 jit.qt.movie 190 50;
#P message 41 120 84 196617 exportimage tiff;
#P newex 41 538 118 196617 jit.scissors @columns 8;
#P newex 398 540 118 196617 jit.scissors @columns 8;
#P user jit.pwindow 579 576 534 90 0 1 0 0 1 0;
#P user jit.pwindow 30 577 534 90 0 1 0 0 1 0;
#P newex 170 539 222 196617 jit.scissors @columns 16;
#P message 40 99 86 196617 exportimage pict;
#P button 368 329 15 0;
#P message 208 182 75 196617 matrixcount $1;
#P number 170 181 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 152 205 82 196617 outputmatrix $1;
#P user jit.pwindow 457 380 730 156 0 1 0 0 1 0;
#P newex 237 159 64 196617 prepend dim;
#P newex 121 450 66 196617 prepend size;
#P newex 230 131 43 196617 pak 0 0;
#P user jit.pwindow 207 461 192 52 0 1 0 0 1 0;
#P comment 129 79 21 196617 go;
#P newex 381 350 38 196617 * 100;
#P newex 357 376 43 196617 pak 0 0;
#P comment 266 83 42 196617 hsize;
#P number 265 99 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 217 84 42 196617 vsize;
#P number 170 100 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 49 79 69 196617 importmovie;
#P newex 294 279 27 196617 – 1;
#P number 222 99 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 135 100 15 0;
#P newex 135 144 44 196617 uzi 128;
#P newex 140 237 164 196617 jit.matrixset 128 4 char 100 100;
#P newex 189 278 38 196617 * 100;
#P newex 273 305 31 196617 + 99;
#P newex 189 330 156 196617 pack 0 0 0 0;
#P message 189 401 172 196617 dstdimstart $1 $2 , dstdimend $3 $4;
#P newex 190 435 200 196617 jit.matrix 4 char 100 3200 @usedstdim 1;
#P comment 169 83 42 196617 frames;
#P connect 21 0 19 0;
#P connect 21 0 39 0;
#P fasten 6 0 1 0 145 427 195 427;
#P fasten 6 0 19 0 145 453 213 453;
#P connect 32 7 31 0;
#P connect 1 0 29 0;
#P fasten 1 0 23 0 195 528 438 528 438 361 463 361;
#P connect 37 0 36 0;
#P connect 7 2 25 0;
#P connect 7 2 37 0;
#P connect 38 0 35 0;
#P connect 40 0 35 0;
#P fasten 22 0 6 0 242 232 145 232;
#P connect 22 0 35 0;
#P connect 36 0 40 0;
#P connect 36 0 35 0;
#P connect 35 0 39 0;
#P connect 9 0 5 1;
#P connect 9 0 20 0;
#P fasten 9 0 10 0 227 125 299 125;
#P fasten 9 0 27 0 227 122 373 122;
#P fasten 9 0 17 1 227 124 414 124;
#P connect 29 15 32 0;
#P connect 17 0 16 1;
#P connect 27 0 17 0;
#P connect 12 0 7 1;
#P fasten 12 0 26 0 175 131 213 131;
#P fasten 12 0 17 0 175 203 386 203;
#P connect 14 0 20 1;
#P fasten 14 0 3 3 270 218 338 218;
#P connect 14 0 16 0;
#P connect 10 0 4 1;
#P connect 4 0 3 2;
#P connect 5 0 3 0;
#P fasten 5 0 4 0 194 300 278 300;
#P fasten 20 0 21 0 235 228 126 228;
#P connect 20 0 22 0;
#P connect 2 0 1 0;
#P connect 28 0 1 0;
#P connect 34 0 1 0;
#P fasten 16 0 1 0 362 420 195 420;
#P connect 3 0 2 0;
#P fasten 25 0 24 0 175 202 157 202;
#P connect 25 0 5 0;
#P connect 11 0 6 0;
#P connect 24 0 6 0;
#P fasten 26 0 6 0 213 203 145 203;
#P connect 8 0 7 0;
#P connect 29 0 33 0;
#P connect 33 1 30 0;
#P window clipboard copycount 41;

#112507

You must be logged in to reply to this topic.