
But in Houdini, they range from 0 to 1.
How to do colour matching in Houdini for colours being used in other apps? Is there a way the colour SOP allows values from 0-255 and reinterprets them from 0 to 1 equivalent?
fit(ch("pscolorx"), 0, 255, 0, 1)
proceduralist
How to do colour matching in Houdini for colours being used in other apps? Is there a way the colour SOP allows values from 0-255 and reinterprets them from 0 to 1 equivalent?
Andr
or you can create a new spare vector parameter, name it `pscolor`, set it to range 0-255 and then apply the following expression to the color parameter:fit(ch("pscolorx"), 0, 255, 0, 1)
that remaps the 0-255 values from your input into the 0-1 range used by Houdini
check the example file
AndrThat seems to work! The hex values of the RGB values generated by your file are matching exactly! Thanks a ton!
If you click on the parameter to open the colour editor, you can copy/paste a hex color code like CCABDF
jsmackproceduralist
How to do colour matching in Houdini for colours being used in other apps? Is there a way the colour SOP allows values from 0-255 and reinterprets them from 0 to 1 equivalent?
The colors won't match anyway. Those values are for 8bit video space color, the values in Houdini and other CG apps are floating point linear color.