Difference between revisions of "Houdini learning"
Jump to navigation
Jump to search
(Created page with "=Houdini learning= === Increase Volume Density === <pre> // In a volumewrangle @density*=10; </pre>") |
|||
Line 5: | Line 5: | ||
@density*=10; | @density*=10; | ||
+ | |||
+ | </pre> | ||
+ | |||
+ | === Substract any VDB === | ||
+ | <pre> | ||
+ | // In a volumewrangle | ||
+ | |||
+ | if (volumesample(1,"surface",@P)<0)@density=0; | ||
+ | |||
+ | //inverse: | ||
+ | |||
+ | if (volumesample(1,"surface",@P)>0)@density=0; | ||
</pre> | </pre> |
Revision as of 18:37, 9 March 2020
Houdini learning
Increase Volume Density
// In a volumewrangle @density*=10;
Substract any VDB
// In a volumewrangle if (volumesample(1,"surface",@P)<0)@density=0; //inverse: if (volumesample(1,"surface",@P)>0)@density=0;