Skip to content

Commit d455708

Browse files
committed
[IGNORE] Snow Buildup Docs
1 parent d5963c1 commit d455708

File tree

10 files changed

+521
-61
lines changed

10 files changed

+521
-61
lines changed

Help/icons/snow_buildup.svg

Lines changed: 323 additions & 0 deletions
Loading

Help/images/snow_buildup.png

91 KB
Loading
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
= GameDev Snow Buildup =
2+
3+
#type: node
4+
#context: sop
5+
#internal: gamedev::sop_snow_buildup
6+
#icon: snow_buildup
7+
#tags: tech, model, gamedev
8+
9+
""" Adds geometry to an input mesh that mimics snow buildup """
10+
11+
This is a sample node for a common Houdini use case, modify at will to fit your needs.
12+
13+
One of the classic Houdini problems is to generate Snow Caps over objects. But there was no built in solution for this until now.
14+
15+
This works by scattering points on up facing polygons of the incoming mesh, copying some spheres onto those points and then voxelizing and smoothing the result.
16+
17+
This was original designed and used on our GDC 2019 Unity demo and subsequently released to the public.
18+
19+
[Image:/images/snow_buildup.png]
20+
21+
@parameters
22+
== Scattering Options ==
23+
Spread Angle:
24+
How far the snow will wrap around the object. 180 means full hemisphere, 0 means only surfaces perfectly facing up.
25+
Number of Snow Points:
26+
How many snow drops to generate on the surface
27+
Point Size (Min/Max):
28+
Size range on each snow drop, which turns into a sphere.
29+
== Meshing Options ==
30+
Smooth Iterations:
31+
Blur the snow volume
32+
Dilate/Erode:
33+
Grow or Shrink the snow volume
34+
Blurring Iterations:
35+
Blur the final generated snow mesh
36+
Color:
37+
Vertex Colors on the output mesh
38+
== Clean Up ==
39+
Reduce to # Polys:
40+
Limit the snow mesh to this polycount
41+
Boolean Against Original:
42+
Remove faces that are inside the interior mesh by boolean the 2 meshes together
43+
Keep Original:
44+
Output the original input mesh merged in as well
45+

otls/sop_snow_buildup.hda/INDEX__SECTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ Inputs: 1 to 1
1010
Subnet: true
1111
Python: false
1212
Empty: false
13-
Modified: Tue Mar 5 16:16:54 2019
13+
Modified: Wed Oct 23 11:42:57 2019
1414

Binary file not shown.

0 commit comments

Comments
 (0)