Hi all
Download for version 1.14:
Samples And Compounds
Short change log:
- kH Emit Guides and kH Emit Hair:
Number of clean-ups. 'Density' parameter in 'Emit Hair' is now linked to values in 'Emit Guides'. It's not only for cleaner PPG - it seems this can can help in avoiding the nasty rendering problem, related only to kH Emit Hair, when some of hairs just disappear in rendering, even everything looks OK in view ports. At least, problem is gone for me - of course I would be very interesting if someone notice that issue, again.
For strand rendering size, there is only one parameter, that affects both points and strands. Actually, point size is linked to the size of first strand segment.
- Motion Blur:
Now it should behave equally in all Softimage versions from 7.01 above, there is no need for special compound. 'Emit Hair' will automatically take velocity values from 'Emit Guides', also 'Follow NURBS' will take velocities from underlying NURBS surface. So, if 'Guides' point cloud is simulated, only this one need caching. If underlying NURBS surface for 'Follow NURBS' is simulated, it's good idea to cache just NURBS surface.
For point clouds, only position and velocity attributes, both for point and strands, should be enough for caching.
- kH Loft Shape In Render compound:
It overrides default, segment strand type, and offers all other types of points-strands for rendering. Strands are aligned automatically, by using up vectors and tangents from Follow NURBS, or Cross Sections modifier.
- kH Follow NURBS:
Now it's supports animated deformations, in a way that functions of underlying NURBS surfaces, can be separated - second NURBS surface can move the strands. In case nothing is moved-simulated, you just plug the same NURBS in two ports - internally it's the same structure as before. In 'Simulation-Follow-NURBS-SICloth' sample, SI Cloth is used for simulation, only this engine supports the NURBS. If you want to use meshes instead, I've described procedure in mentioned sample file.
'Negative push' option, that mimics behavior of 'Follow 2 NURBS' - it's not the same, but I think it's enough to always use only 'single' kH Follow NURBS.
Few small changes: cutoff distance can be limited by angle too, a few parameters for better strand distribution, mainly for working together with 'kH Offset Curves'.
- kH Offset Curves and kH Follow Curve
Better interface for connecting the array of control curves. Now, only standard, 'purple' geometry reference can be used. Every curve still need to be plugged into two ports. In order to allow multiple ports feature to works correctly, two small compounds, 'kH Add Curve Root', and 'kH Add Curve Ratio', need to be in folder that Softimage recognizes when loading. Both compounds are using UV distance for searching points, instead of 3d.
- kH Optimize Strands
It can be found in 'Length-And-Optimize' sample. Purpose is to get lighter point cloud in rendering, trying to keep original shape. It removes segments from strands, except a few of them, almost equally distributed by 'segment length' value. Then it keeps segments with angle to neighbor, higher than 'min angle'. Also it always keeps first and last segment.
Suggested usage is to first set count of segments in kh Emit Guides, to get smooth shape, then to gradually increase 'segment length' and 'min angle' parameters in kH Optimize Strands.
This compound should go as 'last before rendering'. If second, 'hair filler' point cloud is used, kH Optimize Strands should go *only* on second point cloud. Because kH Emit Hair takes strand positions from three closest points from guides, variable array of strands that kH Optimize produces, if kH Optimize is applied to 'guides' point cloud, can cause problems.
Compound will transfer some attributes, such as size and velocity, to newly created array - I've got it to work with motion blur too. Anyway, if you notice any problems in rendering animations, this one may be first to turn off.
- One Point Dynamics
Now it can 'clamp' strands movement, using distance between simulated points and their emit location.
- MT compounds
Three of them were always been in distribution, but not in samples. All three are just 'convenience packing' of originals from Helge Mathe's MT Strands Addon. 'kH Prepare For MT Extrusion' has a few more options, for taking variable strand size, and orientation.
Cheers