Jerry is absolutely right, the 256 I've typed on the previous e-mail was a typo, the math on the hex2nuke is using the correct 255.
cheers, diogo On Tue, Dec 11, 2012 at 11:42 AM, Jerry Huxtable <[email protected]>wrote: > No, 255 is right. 255 should map to 1.0 > > Actually, though, if you've been given hex numbers in the range 0-255, > they're almost certainly not linear but probably in sRGB, so a simple > division won't give you the right colour. > > On 11 Dec 2012, at 13:32, Julik Tarkhanov <[email protected]> wrote: > > sorry by 256 > > On 11 dec. 2012, at 14:17, Julik Tarkhanov <[email protected]> > wrote: > > Divide 1 by 255 and multiply by the values given to you, for a value of > 123: > > > -- > Julik Tarkhanov | HecticElectric | Keizersgracht 736 1017 EX > Amsterdam | The Netherlands | tel. +31 20 330 8250 > cel. +31 61 145 06 36 | http://hecticelectric.nl > > _______________________________________________ > Nuke-users mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users > > > > _______________________________________________ > Nuke-users mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users >
_______________________________________________ Nuke-users mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
