Page 1 of 1

Fur thickness attribute ?

Posted: Tue Feb 25, 2020 6:22 pm
by WoutTgh
Hi,

is the fur thickness attribute accessible on a point per point basis ?

Re: Fur thickness attribute ?

Posted: Tue Feb 25, 2020 9:48 pm
by juanjgon
Hi,

The Octane plugin gets the fur thickness from the "width" float point attribute, if available in the curve primitives.

Thanks,
-Juanjo

Re: Fur thickness attribute ?

Posted: Tue Feb 25, 2020 10:26 pm
by WoutTgh
Oh, interesting, that seems to work, but what about the tip thickness ? thanks !

Re: Fur thickness attribute ?

Posted: Wed Feb 26, 2020 3:16 am
by galleon27
WoutTgh wrote:Oh, interesting, that seems to work, but what about the tip thickness ? thanks !
Just do a gradient on curves and call it width.
If you use resample node and turn on curveu attribute, you should be able to do it easily. Turn off resampling if you don't need it.
After that create a wrangle node and write @width = @curveu;
@curveu attribute goes from 0 to 1 so you can fit it to whatever value you want. So the code should be:
@width = fit01(@curveu, min, max);

Re: Fur thickness attribute ?

Posted: Wed Feb 26, 2020 3:04 pm
by WoutTgh
ooh of course, cool. And then just keep the obj paramteres setting at the default, or both 1 or whatever.

Thanks ! :)

Re: Fur thickness attribute ?

Posted: Wed Feb 26, 2020 3:20 pm
by galleon27
WoutTgh wrote:ooh of course, cool. And then just keep the obj paramteres setting at the default, or both 1 or whatever.

Thanks ! :)
Yea keep it at default, it doesn't really matter. If you have width attribute, it's gonna override whatever you have in obj level.

Re: Fur thickness attribute ?

Posted: Wed Feb 26, 2020 3:22 pm
by WoutTgh
Yes, thank you, very helpful :)