Sie sind nicht angemeldet.

image360

Fortgeschrittener

  • »image360« ist der Autor dieses Themas

Beiträge: 215

Wohnort: Austin, TX and Chicago, IL

Beruf: Photographer

  • Nachricht senden

1

Samstag, 22. Mai 2010, 05:59

Multi-frame options?

I've tried the multi-frame batch file and in general think I understand what its doing but I'm not making much progress in trying to control it beyond the default next/previous buttons.

Any chance you could note the options for this before the rest of the update documentation?

Tried using a very simple

set(image.frame, 2,1,1) to change the frame but it did not seem to work.

Any insight/documentation for multi-frames greatly appreciated.

Regards,

Robert

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »image360« (22. Mai 2010, 06:28)


2

Dienstag, 25. Mai 2010, 14:39

Hi,
Tried using a very simple

set(image.frame, 2,1,1) to change the frame but it did not seem to work.
the "image.frame" is a simple (integer) variable,
e.g. to set it to 2:

Quellcode

1
set(image.frame, 2);


best regards,
Klaus

image360

Fortgeschrittener

  • »image360« ist der Autor dieses Themas

Beiträge: 215

Wohnort: Austin, TX and Chicago, IL

Beruf: Photographer

  • Nachricht senden

3

Dienstag, 25. Mai 2010, 15:30

other options?

thanks klaus,

I'l try that.

But then what are the options in the generated example?

dec(image.frame 1,1,1);

and

inc(image.frame 1, get(image.frame), get(image.frames));

Regards,

Robert

4

Dienstag, 25. Mai 2010, 19:46

RE: other options?

But then what are the options in the generated example?

dec(image.frame,1,1,1);

and

inc(image.frame,1, get(image.frame), get(image.frames));
Hi Robert,
You've highlighted the saturation options for the dec and inc functions.
- inc(var,byvalue*,max*,min*)
- dec(var,byvalue*,min*,max*)
---- increase/decrease values (with saturation)
---- byvalue - add/sub this value to the var, default=1
---- max - max limit, when reaching it, the var will be set to min
---- min - min limit, when reaching it, the var will be set to max

.....................--from releasenotes-1.0.8.10.txt

So applying this to the examples you cited:

dec(image.frame,1,1,1);

In the above example, dec decreases the image.frame value by 1 until it passes the minimum value of 1 (in which case it sets it to 1). So no matter how many times you call dec, the image.frame value never goes lower than 1 (which is the frame number of the first frame). In other words, it never let's you rewind past the first frame.

inc(image.frame,1, get(image.frames), get(image.frames));

Here, inc increases the image.frame value by 1 until it exceeds the maximum value of image.frames in which case it sets it to image.frames). Here you keep increasing the value of image.frame until it reaches the last frame number (image.frames) and then it stops incrementing. So it never let's you fast forward past the last frame.

Hope this helps

steve

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »pinsane« (27. Mai 2010, 20:35)


image360

Fortgeschrittener

  • »image360« ist der Autor dieses Themas

Beiträge: 215

Wohnort: Austin, TX and Chicago, IL

Beruf: Photographer

  • Nachricht senden

5

Dienstag, 25. Mai 2010, 23:20

thanks Steve!

Wonderful, thanks, should have found that myself in the release notes. But like your recent wonderful tutorial on arugments - I'll have one of those too *thumbsup* , it's great to have someone go beyond helpful.

thanks again,

Robert

6

Donnerstag, 27. Mai 2010, 18:30

I want my pano to jump to the first frame when pressing the next-button while viewing the last frame (and the other way around). Is it possible? How?
0100011101101100011001010110100101100011 0110100000100000011010110110110001100001 0111010001110011011000110110100001110100 0110010101110100001011000010000001001010 0111010101101110011001110110010100101110 0010000001000101011000110110100001110100 0010000001101010011001010111010001111010 0111010000101110

7

Donnerstag, 27. Mai 2010, 19:57

I want my pano to jump to the first frame when pressing the next-button while viewing the last frame (and the other way around). Is it possible? How?


try:

Quellcode

1
inc(image.frame,1,get(image.frames),1);


this will set the image.frame to 1 when it exceeds the last frame.

similarly:

Quellcode

1
dec(image.frame,1,1,get(image.frames));


will wrap to the last frame when pressing the prev-button after getting to the first frame.

steve

8

Donnerstag, 27. Mai 2010, 20:44

Works perfectly. Thank you very much. *smile*
0100011101101100011001010110100101100011 0110100000100000011010110110110001100001 0111010001110011011000110110100001110100 0110010101110100001011000010000001001010 0111010101101110011001110110010100101110 0010000001000101011000110110100001110100 0010000001101010011001010111010001111010 0111010000101110

Ähnliche Themen