works a treat!

 
Howard



>________________________________
>From: Ivan Busquets <ivanbusqu...@gmail.com>
>To: Howard Jones <mrhowardjo...@yahoo.com>; Nuke user discussion 
><nuke-users@support.thefoundry.co.uk>
>Sent: Tuesday, 25 October 2011, 23:40
>Subject: Re: [Nuke-users] OFlow: Source Frame at the current Frame using Speed?
>
>
>Here, this is what I would do it if "speed" is not constant:
>
>(please note the expression could use some further work to avoid divisions by 
>0, etc, but you get the idea)
>
>set cut_paste_input [stack 0]
>version 6.3 v4
>push $cut_paste_input
>Text {
> font /Library/Fonts/Arial.ttf
> size 240
> yjustify center
> box {457 389 1371 1167}
> center {914 778}
> name Text2
> selected true
> xpos -353
> ypos -32
>}
>Crop {
> box {0 0 1828 1556}
> name Crop1
> selected true
> xpos -353
> ypos -6
>}
>set Na4151610 [stack 0]
>OFXuk.co.thefoundry.time.oflow_v100 {
> method Blend
> timing Speed
> timingFrame 1
> timingSpeed {{curve x1 1 x38 3}}
> filtering Normal
> warpMode Simple
> correctLuminance false
> automaticShutterTime false
> shutterTime 0
> shutterSamples 1
> vectorDetail 0.2
> smoothness 0.5
> blockSize 6
> Tolerances 0
> weightRed 0.3
> weightGreen 0.6
> weightBlue 0.1
> showVectors false
> cacheBreaker false
> name OFlow
> selected true
> xpos -240
> ypos 71
>}
>push $Na4151610
>NoOp {
> name NoOp1
> selected true
> xpos -353
> ypos 156
> addUserKnob {20 User}
> addUserKnob {7 avg_speed}
> avg_speed {{"OFlow.timingSpeed.integrate(OFlow.first_frame,frame) / 
>(frame-OFlow.first_frame)"}}
> addUserKnob {7 test l frame R 0 1000}
> test {{"(frame-OFlow.first_frame) * avg_speed + OFlow.first_frame" i}}
>}
>
>
>
>On Tue, Oct 25, 2011 at 3:31 PM, Ivan Busquets <ivanbusqu...@gmail.com> wrote:
>
>Yes, you're right Howard.
>>That expression only works assuming the speed is constant.
>>
>>If the speed parameter is animated, you would have to find the average speed 
>>up until that point (the integrate from start to current, divided by 
>>current-start), and use that in place of "timingSpeed"
>>
>>
>>
>>
>>On Tue, Oct 25, 2011 at 2:52 PM, Howard Jones <mrhowardjo...@yahoo.com> wrote:
>>
>>Hi
>>>
>>>
>>>Just thought I'd try this but no luck, could be me.
>>> 
>>>Howard
>>>
>>>
>>>set cut_paste_input [stack 0]
>>>version 6.3 v5
>>>push $cut_paste_input
>>>add_layer {rgba rgba.beta}
>>>Text {
>>> font /Library/Fonts/Arial.ttf
>>> yjustify center
>>> box {480 270 1440 810}
>>> center {960 540}
>>> name Text1
>>> selected true
>>> xpos 1073
>>> ypos 139
>>>}
>>>set N2114dbf0 [stack 0]
>>>OFXuk.co.thefoundry.time.oflow_v100 {
>>> method Motion
>>> timing Speed
>>> timingFrame 1
>>> timingSpeed {{curve x16 0.5 x38 3}}
>>> filtering Normal
>>> warpMode Simple
>>> correctLuminance
 false
>>> automaticShutterTime false
>>> shutterTime 0
>>> shutterSamples 1
>>> vectorDetail 0.2
>>> smoothness 0.5
>>> blockSize 6
>>> Tolerances 0
>>> weightRed 0.3
>>> weightGreen 0.6
>>> weightBlue 0.1
>>> showVectors false
>>> cacheBreaker false
>>> name OFlow
>>> selected true
>>> xpos 1073
>>> ypos 242
>>>}
>>>push $N2114dbf0
>>>NoOp {
>>> name NoOp1
>>> selected true
>>> xpos 976
>>> ypos 238
>>> addUserKnob {20 User}
>>> addUserKnob {7 test l frame R 0 1000}
>>> test {{"(frame-OFlow.first_frame) * OFlow.timingSpeed + OFlow.first_frame"}}
>>>}
>>>
>>>
>>>
>>>
>>>>________________________________
>>>>From: Ivan Busquets <ivanbusqu...@gmail.com>
>>>>To: Nuke user discussion <nuke-users@support.thefoundry.co.uk>
>>>>Sent: Tuesday, 25 October 2011, 19:56
>>>>Subject: Re: [Nuke-users] OFlow: Source Frame at the current Frame using 
>>>>Speed?
>>>>
>>>>
>>>>
>>>>If it's set to speed, something like this should do it:
>>>>
>>>>(frame-OFlow.first_frame) * OFlow.timingSpeed + OFlow.first_frame
>>>>
>>>>
>>>>
>>>>On Tue, Oct 25, 2011 at 11:43 AM, David Schnee <dav...@tippett.com> wrote:
>>>>
>>>> 
>>>>>Does anyone know how to derive the actual source frames on the current
frame when using the 'Speed' timing method in OFlow?  I'm looking to
get a curve to export ascii data of the source frames on the current
frame for a range.
>>>>>
>>>>>Cheers,
>>>>>-Schnee
>>>>>--  \/ davids / comp \/ 177
/\ tippettstudio /\ sno 
>>>>>_______________________________________________
>>>>>Nuke-users mailing list
>>>>>Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
>>>>>http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>>>>
>>>>
>>>>_______________________________________________
>>>>Nuke-users mailing list
>>>>Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
>>>>http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>>>
>>>>
>>>_______________________________________________
>>>Nuke-users mailing list
>>>Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
>>>http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>>
>>
>
>
>
_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to