Page 1 of 1

Tint of the texture in C4D. Mistake or not.

Posted: Mon Apr 15, 2013 2:54 am
by wlf_alex
I have some texture of the leaf. I need to change its tone. For example, with the RGB (250,127,127). I do this in three ways, and get different results. Textures from right to left:
1. Main texture.
2. Mixed by Blend material with RGB (250,127,127).
3. Mixed through the layers of C4D.
4. Mixed through the layers of Photoshop.
I especially do not like the difference between the third and fourth textures. Is that correct? Or is it a bug in Indigo?

Image

regards..

Re: Tint of the texture in C4D. Mistake or not.

Posted: Mon Apr 15, 2013 3:37 am
by N.G.
I confirm. the problem exists. :(

Re: Tint of the texture in C4D. Mistake or not.

Posted: Mon Apr 15, 2013 3:43 am
by galinette
wlf_alex wrote:I have some texture of the leaf. I need to change its tone. For example, with the RGB (250,127,127). I do this in three ways, and get different results. Textures from right to left:
1. Main texture.
2. Mixed by Blend material with RGB (250,127,127).
3. Mixed through the layers of C4D.
4. Mixed through the layers of Photoshop.
I especially do not like the difference between the third and fourth textures. Is that correct? Or is it a bug in Indigo?

Image

regards..
If the fourth one is a photoshop mix of the main texture with a red color (250,127,127 is red), it should not be greener than the main texture.
Also, Indigo mixes in linear space while photoshop mixes in gamma (srgb) space. Hence the result which are necessarily different.

I do not know for C4D

Etienne

Re: Tint of the texture in C4D. Mistake or not.

Posted: Mon Apr 15, 2013 4:18 am
by wlf_alex
galinette wrote:
wlf_alex wrote:I have some texture of the leaf. I need to change its tone. For example, with the RGB (250,127,127). I do this in three ways, and get different results. Textures from right to left:
1. Main texture.
2. Mixed by Blend material with RGB (250,127,127).
3. Mixed through the layers of C4D.
4. Mixed through the layers of Photoshop.
I especially do not like the difference between the third and fourth textures. Is that correct? Or is it a bug in Indigo?

Image

regards..
If the fourth one is a photoshop mix of the main texture with a red color (250,127,127 is red), it should not be greener than the main texture.
Also, Indigo mixes in linear space while photoshop mixes in gamma (srgb) space. Hence the result which are necessarily different.

I do not know for C4D

Etienne
Example textures are from right to left. That is the right texture is a major, but the left is fixed in PS. :)

Re: Tint of the texture in C4D. Mistake or not.

Posted: Mon Apr 15, 2013 9:43 am
by galinette
wlf_alex wrote:Example textures are from right to left. That is the right texture is a major, but the left is fixed in PS. :)
Ooops...

Hence the linear vs gamma issue remains. You may try to do the blend in 32-bit/channel mode under photoshop, and convert to 8bit/channel at the end (using exposure and gamma mode, with exposure=0 and gamma=1). In that case, photoshop does linear-space blends, which should match indigo behavior

Etienne

Re: Tint of the texture in C4D. Mistake or not.

Posted: Tue Apr 16, 2013 6:01 am
by wlf_alex
I think that this is a problem converting materials. In C4D all three versions of this material have the same effect. But Indigo gives different results, perhaps because the Indigo does not support all the shaders C4D. But then where do I find out exactly which shader support Indigo? And what a way to correctly to paint the texture in Cindigo?

regards..

Re: Tint of the texture in C4D. Mistake or not.

Posted: Tue Apr 16, 2013 6:05 am
by galinette
Could you upload the pigs for this scene?

Etienne

Re: Tint of the texture in C4D. Mistake or not.

Posted: Tue Apr 16, 2013 6:19 am
by Zom-B
wlf_alex wrote:But then where do I find out exactly which shader support Indigo? And what a way to correctly to paint the texture in Cindigo?
Cindigo bakes each C4D Shader, you can doublecheck that resulting texture, it gets saved in the same folder where you export your IGS to do a external rendering using Indigo GUI version.

If you could also upload the c4d file we can have a look at it too!

Re: Tint of the texture in C4D. Mistake or not.

Posted: Tue Apr 16, 2013 6:38 am
by wlf_alex
of course ..

Re: Tint of the texture in C4D. Mistake or not.

Posted: Tue Apr 16, 2013 6:44 am
by wlf_alex
Thanks for the reply, Zom-B ! I added C4D file in the first post.

regards..

Re: Tint of the texture in C4D. Mistake or not.

Posted: Tue Apr 16, 2013 7:32 am
by Zom-B
wlf_alex wrote:Thanks for the reply, Zom-B ! I added C4D file in the first post.
Your red materials has set brightness to 80 in the diffuse tab.
By that you reduce your 250, 127, 127 material to 200, 102, 102.

Here the render after "fixing" that:
blend.jpg
BTW: for such materials turn on "Step Blend" Checkbox for faster rendering ;)
Using that Indigo clamps pixel information to full black or full white, creating a "sharp" blend mask.

Re: Tint of the texture in C4D. Mistake or not.

Posted: Tue Apr 16, 2013 8:39 am
by galinette
And this is what I got after the change suggested by zom-b and doing the photoshop blend in linear colorspace instead of gamma colorspace:
C4D-Indigo_texture test.jpg
You can see the strong effect of blending with different colorspaces by downloading this PS file
AM106_023_color_leaf.7z
(206.55 KiB) Downloaded 332 times
, and going to Image>Mode>32bit/channel, and choose "Don't merge". If you then merge and go back to 8bit mode, by using "Local Adaptation" with Exposure=0 and Gamma=1, you get exactly the same results as Indigo. Technical explanations are possible if some are interested....

Etienne

Re: Tint of the texture in C4D. Mistake or not.

Posted: Tue Apr 16, 2013 9:23 am
by wlf_alex
Thanks a lot Zom-B and galinette ! Anyway but I learned a lot for myself. But the target is the material on the left leaf. But now I understand that this is only possible through the baking. Some question: Glare plans in the future full support for Shaders of C4D ?

Many thanks guys !

Re: Tint of the texture in C4D. Mistake or not.

Posted: Tue Apr 16, 2013 9:38 am
by Zom-B
wlf_alex wrote:Some question: Clare plans in the future full support for Shaders of C4D ?
I hope there will be more ISL based shaders, that allow easy access to effects like fresnel/falloff etc. but full C4D Shader support is rather unlikely as fas as I know.

I have to admit that don't miss many C4D Shaders, but the few I do can be "replicated" as ISL Shaders :)
(Sadly Ambient Occlusion isnt atm -.-' )

Re: Tint of the texture in C4D. Mistake or not.

Posted: Tue Apr 16, 2013 9:59 am
by wlf_alex
I see ... we will wait for it .. Thanks Zom-B !