|
| 1 | += GameDev Measure Curvature = |
| 2 | + |
| 3 | +#type: node |
| 4 | +#context: sop |
| 5 | +#internal: gamedev::sop_measure_curvarture::2.0 |
| 6 | +#icon: VOP/curvature |
| 7 | +#tags: tech, model |
| 8 | + |
| 9 | +""" Generates Point Colors based on the Curvature of the Model """ |
| 10 | + |
| 11 | +Measures the Curvature of a model and outputs it as Point Colors. |
| 12 | + |
| 13 | +Handy for all types of calculations, including scattering and polyreduction. Curvature is one of the fundamental mesh properties and is generally useful. |
| 14 | + |
| 15 | +By Default, green will represent Convex colors and Red will represent Concave colors. Unless `Single Color Value` is set. |
| 16 | + |
| 17 | +NOTE: |
| 18 | + This node doesn't still make use of the new Measure 2.0 SOP capabilities. |
| 19 | + |
| 20 | +[Image:/images/measure_curvature.png] |
| 21 | + |
| 22 | +@parameters |
| 23 | + == Curvature Values == |
| 24 | + Calculate Per Piece: |
| 25 | + Toggle the calculations as a whole or as diconnected pieces |
| 26 | + Method: |
| 27 | + Dropdown with several algorithms (some provided by community user Petz) |
| 28 | + Voxel Size: |
| 29 | + For Voxel based calculations, adjust the size of the voxel grid |
| 30 | + == Convex Adjustment == |
| 31 | + Range Scale: |
| 32 | + Multiply the range of the Convex Colors, similar to an intensity control, but before contrast/intensity are run |
| 33 | + Contrast: |
| 34 | + Tighten the contrast on the colors |
| 35 | + Intensity: |
| 36 | + Another multiplier on the colors |
| 37 | + Blur Amount: |
| 38 | + Optional Blur to soften the colors |
| 39 | + == Concave Adjustment == |
| 40 | + Range Scale: |
| 41 | + Multiply the range of the Convex Colors, similar to an intensity control, but before contrast/intensity are run |
| 42 | + Contrast: |
| 43 | + Tighten the contrast on the colors |
| 44 | + Intensity: |
| 45 | + Another multiplier on the colors |
| 46 | + Blur Amount: |
| 47 | + Optional Blur to soften the colors |
| 48 | + |
| 49 | + == Extra Settings == |
| 50 | + Visualize As Color: |
| 51 | + Output the Paramters as the Cd attribute |
| 52 | + Single Color Value: |
| 53 | + Toggle between the red/green output or a single value |
| 54 | + Fit To 0-1: |
| 55 | + Clamp the output between 0-1 |
| 56 | + |
0 commit comments