Everything related to SDK.
In this code
Code: Select all
				Cmaxwell::Ccoating mxmCoating = mxmBSDF.addCoating();

				Cmaxwell::Cattribute attr;
				attr.activeType = maxwellrender::MAP_TYPE_VALUE;
				attr.value = 5.0;

				mxmCoating.setThickness(attr); // Warning not work???

				//coating thickness min/max
				mxmCoating.setThicknessRange(101.0, 10001.0); // Warning not work??
no matter what value I set to thickness or min/max, every time I get that values.

thickness: 1000000.00
min/max: 999990.000/1000000.000

What I do wrong? How I must pass coating thickness or min/max property?

Coating texture pass work fine(of course, when attr.activeType = maxwellrender::MAP_TYPE_BITMAP; and mxmCoating.setPat(txtPath).
The values are out of range, and are being clamped, which is why you always get the same values back out; what you want to do is to scale the values by 1.0e-9. The same range applies to setScatteringThickness & setScatteringThicknessRange.

Just to confirm the Random UV material and Cubic p[…]

Fully working plugin for C4D

When you will be working on it please try to keep […]

Let's talk about Maxwell 5.2

Is there any update regarding CPU engine ? Som[…]

Hello, I agree with Jasper ... I still have this […]