Q about the Soft Dots VEX node
3903 7 0-
- KiLa
- Member
- 109 posts
- Joined: June 2008
- Offline
-
- animatrix_
- Member
- 4842 posts
- Joined: Feb. 2012
- Offline
Hi,
It controls the blurriness of the map. You have to setup your material like this.
It controls the blurriness of the map. You have to setup your material like this.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]

-
- KiLa
- Member
- 109 posts
- Joined: June 2008
- Offline
Thanks for the reply pusat.
It doesn't seem to do anything, not even in your file.
Now, i assume that if reduce the blur into 0, the edge between the white, the “mask” that Soft Dots will create, and the black color, should be straight, without any blur, and if i set it to high value, there should be a gradient from the center of the dot, to its “border”
And, yes, if your are creating “real” material, you need the surface model, but in my case i was just testing, and thats why the soft dots was connected directly to Cf.
-k
PS: here is two screenshot from my system, one with the low blur and one with the high value
It doesn't seem to do anything, not even in your file.
Now, i assume that if reduce the blur into 0, the edge between the white, the “mask” that Soft Dots will create, and the black color, should be straight, without any blur, and if i set it to high value, there should be a gradient from the center of the dot, to its “border”
And, yes, if your are creating “real” material, you need the surface model, but in my case i was just testing, and thats why the soft dots was connected directly to Cf.
-k
PS: here is two screenshot from my system, one with the low blur and one with the high value
-
- eetu
- Member
- 606 posts
- Joined: May 2007
- Offline
Yepp, it does nothing.
One can follow the trail.
The code on the node calls:
vop_StampPattern($layers, $dotsize, $dotrand, $blur, $ss*$sfreq - $soff, $srand, $tt*$tfreq - $toff, $trand, 1, 0, “bump”, $filter, $seed);
You can check the function in voplib.h, and it does use the blur(softness) to calculate the filter width:
du = vop_FilterWidth(px) * softness;
dv = vop_FilterWidth(py) * softness;
fwidth = max(du, dv);
But when it eventually calls vop_BumpStamp(fx, fy, fwidth, filter); You can see that the filter width is not actually used:
vop_BumpStamp(float px, py, fwidth; string filter)
{
float d = px*px + py*py;
return 1-smooth(0.0, 1.0, d);
}
To be fair, the vop_stampPattern() function is used by many of the other vop patterns as well, several of which actually use the blur value.
One can follow the trail.
The code on the node calls:
vop_StampPattern($layers, $dotsize, $dotrand, $blur, $ss*$sfreq - $soff, $srand, $tt*$tfreq - $toff, $trand, 1, 0, “bump”, $filter, $seed);
You can check the function in voplib.h, and it does use the blur(softness) to calculate the filter width:
du = vop_FilterWidth(px) * softness;
dv = vop_FilterWidth(py) * softness;
fwidth = max(du, dv);
But when it eventually calls vop_BumpStamp(fx, fy, fwidth, filter); You can see that the filter width is not actually used:
vop_BumpStamp(float px, py, fwidth; string filter)
{
float d = px*px + py*py;
return 1-smooth(0.0, 1.0, d);
}
To be fair, the vop_stampPattern() function is used by many of the other vop patterns as well, several of which actually use the blur value.
-
- KiLa
- Member
- 109 posts
- Joined: June 2008
- Offline
-
- eetu
- Member
- 606 posts
- Joined: May 2007
- Offline
-
- KiLa
- Member
- 109 posts
- Joined: June 2008
- Offline
-
- eetu
- Member
- 606 posts
- Joined: May 2007
- Offline
-
- Quick Links