When importing material from .igm/.pigm into C4d, if internal medium is used, the rendering result won't be correct in C4d.
Bug1:
Specular which checked transparent with internal medium, will be rendered in a wrong way.
Use any liquids from indigo material lib to check this problem.
For example, apple juice.
This is how it should looks like:
And this is how it is in c4d:
Bug2:
When an interal medium uses another interal medium, the second one won't be imported into c4d.
Use the Fast skin material form indigo marterial lib to check this problem.
This is how it should looks like:
Its setting:
This is how it is in c4d:
In C4d, the first internal medium's internal medium channel is unchecked:
And in this channel, there is no data setting there.
Indigo version:
Indigo for Cinema 4D 4.2.21
I've tried several versions, all have same problems.
2 Bugs for material with Interal medium
Re: 2 Bugs for material with Interal medium
as i remember, it keeps the correct properties if you import the mat trough a new shader using "external" and your mat.
-
- Posts: 9
- Joined: Fri Jan 02, 2015 3:58 pm
Re: 2 Bugs for material with Interal medium
I did some further test, may find the key problem for Bug 1.
For example, in indigo, apple juice mat's internal medium uses SSS, and the gain value for absorption is 52.0702, the gain value for scattering is 4.127.
After importing this mat into C4d, the Gain value for absorption now is 5207% and gain value for scattering is 412.7%。
But, as my testing, gain value of 1.0 in indigo, does not have the same render result as gain value of 100% in C4d.
And, I found out, gain value of 1.0 in indigo actually has the same render result as gain value of 10% in C4d.
So, for this apple juice mat example, I update its gain value from 5207% and 412.7% to 520.7% and 41.27% in C4d.
Now, I have the same apple juice as it was in indigo.
Pls fix this bug, thanks.
For example, in indigo, apple juice mat's internal medium uses SSS, and the gain value for absorption is 52.0702, the gain value for scattering is 4.127.
After importing this mat into C4d, the Gain value for absorption now is 5207% and gain value for scattering is 412.7%。
But, as my testing, gain value of 1.0 in indigo, does not have the same render result as gain value of 100% in C4d.
And, I found out, gain value of 1.0 in indigo actually has the same render result as gain value of 10% in C4d.
So, for this apple juice mat example, I update its gain value from 5207% and 412.7% to 520.7% and 41.27% in C4d.
Now, I have the same apple juice as it was in indigo.
Pls fix this bug, thanks.
Re: 2 Bugs for material with Interal medium
Hi butaixianran,
I'm not sure the gain problem is a bug, but I will investigate to make sure.
Regarding the missing medium, I will make sure to fix that one.
I'm not sure the gain problem is a bug, but I will investigate to make sure.
Regarding the missing medium, I will make sure to fix that one.
Re: 2 Bugs for material with Interal medium
Ok I looked into this.
Bug 1:
What you describe is not actually a bug, but is something related to scale. A gain of 5207% corresponds to 52.0702. The imported values for the absorption spectrum and the values then passed to the renderer are correct.
However, I did find a bug related to the scattering rgb spectrum where the values passed to the renderer were not inversed when they should have been - I fixed that.
Absorption depeneds on the distance traveled through the medium, so scale matters. The reason the juice material (and other materials) dont show up properly in the preview is to do with the scale of the preview scenes. I'm adding a "preview scale" option to to the "extra options" in the material.
Bug 2:
The issue here was that the diffuse transmitter material types medium was not imported. Fixed that as well.
Bug 1:
What you describe is not actually a bug, but is something related to scale. A gain of 5207% corresponds to 52.0702. The imported values for the absorption spectrum and the values then passed to the renderer are correct.
However, I did find a bug related to the scattering rgb spectrum where the values passed to the renderer were not inversed when they should have been - I fixed that.
Absorption depeneds on the distance traveled through the medium, so scale matters. The reason the juice material (and other materials) dont show up properly in the preview is to do with the scale of the preview scenes. I'm adding a "preview scale" option to to the "extra options" in the material.
Bug 2:
The issue here was that the diffuse transmitter material types medium was not imported. Fixed that as well.
Who is online
Users browsing this forum: No registered users and 6 guests