Hi Ryan,

the DD::Image::OutputContext class has some handy functions for converting
to / from proxy values, far too many to list in an email. That should make
life a bit easier!

Dan.



On Thu, Mar 14, 2013 at 2:10 AM, ryan <[email protected]>wrote:

> **
> It just came to me.
>
> (input0().full_size_format().r() - input0().full_size_format().x() - 1) /
> (input0().format().r() - input0().format().x() - 1)
>
> *ryan wrote:*  How do I determine the proxy scale? I need to adjust some
> of my knob values proportionally to the proxy scale.
>
> The knobs I'm using don't have proxy scaling so I need to code it.
>
> Thanks!
>
> _______________________________________________
> Nuke-dev mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
>
>


-- 
Dan Ring, Ph.D.
Research Engineer
The Foundry
6th Floor, The Communications Building,
48 Leicester Square,
London, WC2H 7LT, UK
Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906
Web: www.thefoundry.co.uk
Email: [email protected]

The Foundry Visionmongers Ltd.
Registered in England and Wales No: 4642027
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to