Having a hard time wrapping my head around an issue... what I'm trying to do is convert an Octane Diffuse channel's Color RGB values to C4D's RGB value with no success. My closest attempt was feeding the Octane's RGB value (0 to 1) through a Range Mapper using a min/max of 0 and 255 to Octane's 0 to 1 and that didn't quite work... doing that gave me a properly range mapped number, but apparently the Octane 0 to 1 value doesn't really map to C4D's 0 to 255 to give me the correct RGB value.
I hope I explained that well enough for someone to figure out what I'm getting at and hopefully have a solution... I have a feeling it's something obvious that I'm missing (or perhaps not)... dabbled with float conversions and stuff like that and was way off.
Anyone who's got some insight to my conundrum would be greatly appreciated!
Feed Octane RGB values to C4D RGB values?
Moderators: ChrisHekman, aoktar
Make a color tranform with python
linear -> srgb
or
srgb -> linear
don't forget to multipy octane values by 255.0 for 8bit color outputs
https://developers.maxon.net/docs/Cinem ... sformColor
linear -> srgb
or
srgb -> linear
don't forget to multipy octane values by 255.0 for 8bit color outputs
https://developers.maxon.net/docs/Cinem ... sformColor
Octane For Cinema 4D developer / 3d generalist
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
THANK YOU! I will give that a shot, but given that post comes from you, I'm confident it will do the trick (:aoktar wrote:Make a color tranform with python
linear -> srgb
or
srgb -> linear
don't forget to multipy octane values by 255.0 for 8bit color outputs
https://developers.maxon.net/docs/Cinem ... sformColor
Check this bonus scene;)
- Attachments
-
- 1.rar
- (98.1 KiB) Downloaded 245 times
Octane For Cinema 4D developer / 3d generalist
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw