Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] General Discussion => Topic started by: hitman60 on 2018-11-08, 22:37:01

Title: Corona SSS and Daz3D People
Post by: hitman60 on 2018-11-08, 22:37:01
Hello!

It is possible to optimize Corona's SSS or skin shader for models which have multiple materials with different textures connected together? Like people from DAZ 3D.

Be cause I got such lines/seams, at place where happens connection of materials with different textures.

Currently I use V-Ray in my work, and it doesn't have such problem with DAZ 3D Characters.
Title: Re: Corona SSS and Daz3D People
Post by: hitman60 on 2018-11-09, 11:07:06
Corona SSS itself has nothing to do with texture tiling. It's more of UV/tiling issue than related to the SSS.

Such seams appear only while using SSS, as was mentioned above.

Corona is very good, but I cannot use it because of this :(
Title: Re: Corona SSS and Daz3D People
Post by: hitman60 on 2018-11-09, 11:27:11
Can you upload the scene and the assets here ? This way the devs will be able to reproduce this issue and give you an proper answer. https://corona-renderer.com/upload

Thank you.

It is done: 1541759113_SSS-Test.zip.

It happens in both skin shader and main shader with volumetrics ON.

Title: Re: Corona SSS and Daz3D People
Post by: Beanzvision on 2018-11-09, 13:12:53
I can also confirm this issue. We'll need to investigate.
(https://forum.corona-renderer.com/index.php?action=dlattach;topic=22359.0;attach=93445;image)
Title: Re: Corona SSS and Daz3D People
Post by: maru on 2018-11-09, 16:40:49
I can also confirm this issue. We'll need to investigate.
It's a core issue. Already reported in our secret tracker, id=271549170
Title: Re: Corona SSS and Daz3D People
Post by: Eddoron on 2018-11-09, 19:26:09
Daz just has a terrible UV layout, imho. UV cuts should always be in non-visible areas or strong occluded ones. Oh...and clothes help too.
edited*
edi2* -seems to be a problem more prevalent in DAZ characters. The normal map seems to play the biggest role in all my other tests.

current workaround: Recut UV's and/or reproject normals/regenerate using different dilation settings.


Title: Re: Corona SSS and Daz3D People
Post by: PROH on 2018-11-09, 22:26:03
This is not UVW or bump/displacement related, and can't be fixed this way. It's all about Coronas SSS function. Different workarounds are found in another related thread, but they can't always be used. This problem makes SSS unusable in many cases. So we need a proper fix.
Title: Re: Corona SSS and Daz3D People
Post by: hitman60 on 2018-11-11, 01:29:40
It's a core issue. Already reported in our secret tracker, id=271549170

Hope this will be fixed soon, cannot wait to try Corona in full scale projects!
Title: Re: Corona SSS and Daz3D People
Post by: maru on 2018-11-12, 17:06:50
Related threads:
https://forum.corona-renderer.com/index.php?topic=19163.0
https://forum.corona-renderer.com/index.php?topic=20714.0
https://forum.corona-renderer.com/index.php?topic=10364.0


There is a workaround by Nekrobul [3ds max]: instead of using 2 different material IDs directly, use a Blend material, connect the two SSS materials to it, and blend them using a mask (for example CoronaMultiMap). Will test and confirm if it works.
Another workaround: use CoronaMultiMap: https://forum.corona-renderer.com/index.php?topic=19163.msg134584#msg134584

Title: Re: Corona SSS and Daz3D People
Post by: houska on 2018-11-12, 18:30:53
There is a workaround by Nekrobul [3ds max]: instead of using 2 different material IDs directly, use a Blend material, connect the two SSS materials to it, and blend them using a mask (for example CoronaMultiMap). Will test and confirm if it works.
Another workaround: use CoronaMultiMap: https://forum.corona-renderer.com/index.php?topic=19163.msg134584#msg134584

There's no CoronaMultiMap in C4D. The Variation Shader is missing the mask feature, so I guess the C4D solution would be:
Use Corona Layered Material and blend using masks
Title: Re: Corona SSS and Daz3D People
Post by: Beanzvision on 2018-11-13, 16:45:28
^^ Just tried a quick test using a layered material and this "seams" to be working so far. Next step is to do it with several materials and masks.
Title: Re: Corona SSS and Daz3D People
Post by: hitman60 on 2018-11-18, 04:38:09
^^ Just tried a quick test using a layered material and this "seams" to be working so far. Next step is to do it with several materials and masks.

Can you please provide some examples how to use it on DAZ figures?
Title: Re: Corona SSS and Daz3D People
Post by: romullus on 2018-11-18, 09:32:01
Usually i set up material for Daz people like in attached screen. No seams and it's much easier to adjust single skin material than go through dozens of them and repeat the same changes.
Title: Re: Corona SSS and Daz3D People
Post by: Sainsy on 2018-11-22, 16:59:25
I solved this using the Corona Bitmap node, and set the UV tiling mode to Udim (do this first).  Then select your daz image file (I found renaming them Diffuse_1001.jpg, Diffuse_1002.jpg etc.) worked a treat.  It will then treat the whole area as one (from a SSS point of view) and load the corresponding map where required (so face, lips, ears is 1001, torso is 1002).

Hope this helps :)

Title: Re: Corona SSS and Daz3D People
Post by: draekser on 2018-11-23, 00:20:13
I solved this using the Corona Bitmap node, and set the UV tiling mode to Udim (do this first).  Then select your daz image file (I found renaming them Diffuse_1001.jpg, Diffuse_1002.jpg etc.) worked a treat.  It will then treat the whole area as one (from a SSS point of view) and load the corresponding map where required (so face, lips, ears is 1001, torso is 1002).

Hope this helps :)

wtf ?  it works perfectly... but I don't understand how he can correctly replace the maps?

and thank you
Title: Re: Corona SSS and Daz3D People
Post by: Gruender on 2018-11-23, 11:16:52
Great tip! Saved my ass today :)
Title: Re: Corona SSS and Daz3D People
Post by: Sainsy on 2018-11-23, 12:41:44
Great tip! Saved my ass today :)
My pleasure - glad it helped :)
Title: Re: Corona SSS and Daz3D People
Post by: hitman60 on 2018-12-01, 09:59:28
@Sainsy
it works. thank you

but not for me, I need materials that should be separated in C4D material manager for each ID\selection tag :(
Title: Re: Corona SSS and Daz3D People
Post by: Gruender on 2018-12-03, 09:28:30
I did exactly that and it worked for me, needed to do this workflow on all materials that use sss and touch.
Title: Re: Corona SSS and Daz3D People
Post by: hitman60 on 2019-02-07, 02:50:10
Does this was fixed in Final Builds?
Title: Re: Corona SSS and Daz3D People
Post by: romullus on 2019-02-07, 10:47:19
Hi,
Unfortunately, this issue isn't fixed yet.
Title: Re: Corona SSS and Daz3D People
Post by: maru on 2019-02-08, 13:48:38
I'll check this with the newest volumes/refraction fix. Not sure if it's affected or not.
Title: Re: Corona SSS and Daz3D People
Post by: romullus on 2019-02-08, 14:46:44
I'll check this with the newest volumes/refraction fix. Not sure if it's affected or not.

I already checked - seams are still present.
Title: Re: Corona SSS and Daz3D People
Post by: kanne on 2019-03-06, 23:23:28
I solved this using the Corona Bitmap node, and set the UV tiling mode to Udim (do this first).  Then select your daz image file (I found renaming them Diffuse_1001.jpg, Diffuse_1002.jpg etc.) worked a treat.  It will then treat the whole area as one (from a SSS point of view) and load the corresponding map where required (so face, lips, ears is 1001, torso is 1002).

Hope this helps :)



Sadly, i can't manage to get it working. Does this Workaround still works for anyone?
Title: Re: Corona SSS and Daz3D People
Post by: Miche67 on 2019-09-10, 18:04:27
...Is this bug fixed in vs 5?
Thank's
Title: Re: Corona SSS and Daz3D People
Post by: romullus on 2019-09-10, 18:44:50
No, it hasn't been fixed yet.
Title: Re: Corona SSS and Daz3D People
Post by: hitman60 on 2020-08-31, 12:47:17
Hello, any news?
Title: Re: Corona SSS and Daz3D People
Post by: crazybum2 on 2021-03-05, 12:12:56
I solved this using the Corona Bitmap node, and set the UV tiling mode to Udim (do this first).  Then select your daz image file (I found renaming them Diffuse_1001.jpg, Diffuse_1002.jpg etc.) worked a treat.  It will then treat the whole area as one (from a SSS point of view) and load the corresponding map where required (so face, lips, ears is 1001, torso is 1002).

Hope this helps :)



Sadly, i can't manage to get it working. Does this Workaround still works for anyone?

Up ! It doesn't work for me too.... So sad
Title: Re: Corona SSS and Daz3D People
Post by: webru on 2021-04-22, 16:05:10
Is this problem still not fixed in 2 years? This is strange..
Title: Re: Corona SSS and Daz3D People
Post by: Fedin.jpg on 2021-11-01, 19:20:23
Is this problem still not fixed in 2 years? This is strange..
I solved this problem like this. it is good enough and correct
https://vk.com/video-84168351_456239114