Tint of the texture in C4D. Mistake or not.

Announcements, requests and support regarding the Cinema 4D exporter
Post Reply
15 posts • Page 1 of 1
User avatar
wlf_alex
Posts: 99
Joined: Tue Aug 28, 2012 9:26 pm
Location: Russia-Moscow, Spain-Alicante
Contact:

Tint of the texture in C4D. Mistake or not.

Post by wlf_alex » Mon Apr 15, 2013 2:54 am

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..
Attachments
texture test.rar
attached C4D file with textures.
(587.28 KiB) Downloaded 293 times
ArchiCAD 14, Cinema 4D r13, IndigoRender, VrayforC4D

User avatar
N.G.
Posts: 36
Joined: Tue Dec 18, 2012 1:31 am
Location: Russia

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

Post by N.G. » Mon Apr 15, 2013 3:37 am

I confirm. the problem exists. :(

User avatar
galinette
1st Place Winner
Posts: 923
Joined: Sat Jan 09, 2010 1:39 am
Location: Nantes, France
Contact:

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

Post by galinette » Mon Apr 15, 2013 3:43 am

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
Eclat-Digital Research
http://www.eclat-digital.com

User avatar
wlf_alex
Posts: 99
Joined: Tue Aug 28, 2012 9:26 pm
Location: Russia-Moscow, Spain-Alicante
Contact:

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

Post by wlf_alex » Mon Apr 15, 2013 4:18 am

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. :)
ArchiCAD 14, Cinema 4D r13, IndigoRender, VrayforC4D

User avatar
galinette
1st Place Winner
Posts: 923
Joined: Sat Jan 09, 2010 1:39 am
Location: Nantes, France
Contact:

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

Post by galinette » Mon Apr 15, 2013 9:43 am

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
Eclat-Digital Research
http://www.eclat-digital.com

User avatar
wlf_alex
Posts: 99
Joined: Tue Aug 28, 2012 9:26 pm
Location: Russia-Moscow, Spain-Alicante
Contact:

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

Post by wlf_alex » Tue Apr 16, 2013 6:01 am

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..
ArchiCAD 14, Cinema 4D r13, IndigoRender, VrayforC4D

User avatar
galinette
1st Place Winner
Posts: 923
Joined: Sat Jan 09, 2010 1:39 am
Location: Nantes, France
Contact:

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

Post by galinette » Tue Apr 16, 2013 6:05 am

Could you upload the pigs for this scene?

Etienne
Eclat-Digital Research
http://www.eclat-digital.com

User avatar
Zom-B
1st Place 100
Posts: 4700
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

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

Post by Zom-B » Tue Apr 16, 2013 6:19 am

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!
polygonmanufaktur.de

User avatar
wlf_alex
Posts: 99
Joined: Tue Aug 28, 2012 9:26 pm
Location: Russia-Moscow, Spain-Alicante
Contact:

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

Post by wlf_alex » Tue Apr 16, 2013 6:38 am

of course ..
Attachments
texture test.rar
IGS file
(963.49 KiB) Downloaded 429 times
ArchiCAD 14, Cinema 4D r13, IndigoRender, VrayforC4D

User avatar
wlf_alex
Posts: 99
Joined: Tue Aug 28, 2012 9:26 pm
Location: Russia-Moscow, Spain-Alicante
Contact:

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

Post by wlf_alex » Tue Apr 16, 2013 6:44 am

Thanks for the reply, Zom-B ! I added C4D file in the first post.

regards..
ArchiCAD 14, Cinema 4D r13, IndigoRender, VrayforC4D

User avatar
Zom-B
1st Place 100
Posts: 4700
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

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

Post by Zom-B » Tue Apr 16, 2013 7:32 am

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.
polygonmanufaktur.de

User avatar
galinette
1st Place Winner
Posts: 923
Joined: Sat Jan 09, 2010 1:39 am
Location: Nantes, France
Contact:

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

Post by galinette » Tue Apr 16, 2013 8:39 am

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 263 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
Eclat-Digital Research
http://www.eclat-digital.com

User avatar
wlf_alex
Posts: 99
Joined: Tue Aug 28, 2012 9:26 pm
Location: Russia-Moscow, Spain-Alicante
Contact:

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

Post by wlf_alex » Tue Apr 16, 2013 9:23 am

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 !
ArchiCAD 14, Cinema 4D r13, IndigoRender, VrayforC4D

User avatar
Zom-B
1st Place 100
Posts: 4700
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

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

Post by Zom-B » Tue Apr 16, 2013 9:38 am

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 -.-' )
polygonmanufaktur.de

User avatar
wlf_alex
Posts: 99
Joined: Tue Aug 28, 2012 9:26 pm
Location: Russia-Moscow, Spain-Alicante
Contact:

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

Post by wlf_alex » Tue Apr 16, 2013 9:59 am

I see ... we will wait for it .. Thanks Zom-B !
ArchiCAD 14, Cinema 4D r13, IndigoRender, VrayforC4D

Post Reply
15 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 41 guests