Page 1 of 12

Re: Kristinka Hair 3.0 released

Posted: 13 Jul 2011, 04:13
by Mathaeus
izze wrote:Strand Fcurve does not work with the Size input on emitter from nurbs,
There is a special 'Strand Size' compound, you put it at the end of ICE tree. 'Size' in emitters is just a point size, shouldn't work as a strand size anymore. Didn't worked well, btw...

As for future versions, this one and small update, probably this weekend, should serve for a very long time...

cheers

Re: Kristinka Hair 3.0 released

Posted: 16 Jul 2011, 01:00
by Mathaeus
Hi all,

Izze, I think you founded a bug in Softimage. I've tried memo-camera together with factory nodes which deals with camera position, got crash in my own 7.01. Let's say, un-simulated ICE tree, standard Emit From Surface, Align Particles To Camera node, store a few memo-cameras, try to call them... crash. Honestly I forgot memo-cameras, as I didn't used them since XSI 4 (they are lost in crash-backup).
Another possible problem with kH Strand Screen Size In SI Units, could be a reference to camera FOV after the GetData - if anyone still needs this node, I would suggest exposing the FOV as a separate reference. Compound itself is really simple, distance from camera to strand position, tangens from FOV, plus some basic math.

There is a small 'hotfix' :) downloadable at same links from first post:

"kH Grouping by Polygons" should work nicely for now. Just for info, problem was caused by a new method of emitting from triangle corners. In 'guides and filler' mode, some points are initially on the same position. This is 'melted' later with hair filler, but if something tries to find the closest point before, ICE gets confused, being unable to sort the points. So for now, this node randomizes the positions before searching stage, and moves them back after getting the attributes.

The rest of changes are small improvements here and there: paint density in kH Hair Filler is now 'exact rate', always close to initial rate in emitters. kH Grouping has a few options more, internal nodes for sorting are based on nicer (a bit faster) methods, so on.

In docs, there is a short list of 'form' nodes (basic styling nodes) which rely on distance to point/hair root ( and which part of geometry is considered) - so it's not good idea to animate these parts. Btw, no big deal to add inputs for 'reference geometry' for animation, but this will add even more inputs and parameters. Imho, there is already too much.


good luck !

Re: Kristinka Hair 3.0 released

Posted: 19 Jul 2011, 19:59
by izze
Right on. Thanks for updating!

Re: Kristinka Hair 3.0 released

Posted: 20 Jul 2011, 13:04
by dmetren
tell please, how to use weight map for tweaking some kristinka node parameters

Re: Kristinka Hair 3.0 released

Posted: 20 Jul 2011, 13:50
by Mathaeus
dmetren wrote:tell please, how to use weight map for tweaking some kristinka node parameters
1. apply weight map property to emitter (mesh or NurbS)
2. bring 'Get Weightmap Value' factory node to ICE tree (in my XSI, this node is somewhere under particles/getters)

Take look at sample called 'in_between_curves.emdl', as it already has connection to weight map.

cheers

Re: Kristinka Hair 3.0 released

Posted: 20 Jul 2011, 17:55
by dmetren
oh, thank you

Re: Kristinka Hair 3.0 released

Posted: 19 Aug 2011, 04:45
by fjg
Is strand extrusion the only way to instance a shape, or is it possible to use an instance shape node with KH3?

Re: Kristinka Hair 3.0 released

Posted: 19 Aug 2011, 20:52
by Mathaeus
fjg wrote:Is strand extrusion the only way to instance a shape, or is it possible to use an instance shape node with KH3?
Whatever works with factory strand nodes, should be possible to allow with kH3 too. But it is up to you to build and troubleshot the connection. A 'compatibility warning' I've added into docs is just a warning.
All shape creation nodes ('form') creates a strand up vector. If you want to use extrusions from 2012, afaik you can switch to 'vector mode', and utilize kh3 up vector, by 'kH3 Get Strand Up Vector' node.
That I know, most popular are extrusions, also direct deformations (direct deformation: you assign parts of mesh to points in point cloud by some criteria, then appropriate strands are used as deformers).

Re: Kristinka Hair 3.0 released

Posted: 19 Aug 2011, 21:05
by fjg
Thanks for the reply about the warning - I'll give it a shot. I just found an earlier sample file that helps with this too - I'm trying to export to octane/maxwell.

Re: Kristinka Hair 3.0 released

Posted: 19 Aug 2011, 21:33
by Mathaeus
Suggested setup for extrusions is a bit more complicated in kh3, just to allow one strip to drive the three guides. On the other side, there is no node which can cause a 'variable' size of strand array. It's always the same size of strand array, btw because 3delight don't like the 'variable' size.
I think you can just add 'prepare for mt extrusion' to point cloud, and extrude the all strands, just in one step (no intermediate stuff).

Re: Kristinka Hair 3.0 released

Posted: 22 Aug 2011, 14:39
by j3st3r
Hey,

For some reasons I can't UV map the extruded strips. I used a mesh as a source, I made my ICE Tree, and the extrusions are created, but unfortunately I can't UV map the extruded mesh (procedurally)

Any idea?



Cheers


Jester

Re: Kristinka Hair 3.0 released

Posted: 22 Aug 2011, 20:17
by Mathaeus
hi there,

'mesh source', this probably belongs to extrusions in SI 2012 - if so, here is the thread. I don't believe there is something specific with kH3, about UV generation.

Re: Kristinka Hair 3.0 released

Posted: 02 Sep 2011, 13:53
by AlexanderM
Good update.
Can I use kH3 Grouping compound with "Guides and Filler Triangles" mode? When I try, I get the problem where the roots. Also, is it possible to perform extrusions along strands with this mode? I noticed there beams, which are needed to address the problems of interpolation. I need single guide strands to make extrusion for connecting ICE Syflex dynamics.
I understand that "nurbs" method is easier to work with him and less of a problem, but I preferred "polymesh" and I want to find out

Re: Kristinka Hair 3.0 released

Posted: 02 Sep 2011, 20:24
by Mathaeus
AlexanderM wrote:Good update.
Can I use kH3 Grouping compound with "Guides and Filler Triangles" mode?
Yes, there are examples for both ('cross_sections_grouping' and 'stick_to_...'). Probably you want to compare these setups with yours, before going to forum. Especially ICE tree on emitter, correct reference to UV property.
Suggested setup for attaching to extrusions is one-mesh-strip-per-triangle (or, three guides) - to prevent Syflex sim, to do not explode with overlaps.
Btw, interpolation could look better with (almost) equal size of triangle's sides.

Cheers

Re: Kristinka Hair 3.0 released

Posted: 23 Sep 2011, 02:33
by tupu
Hi,

I am modeling a spider, from one master leg(which is the emitter object for all pointclouds) I use the deform hair compound to transfer the strands to the animated(deformed) legs.
It worked on the 3 legs but when trying to do the exact same thing on the fourth I can't make it work?

If I duplicate the fourth leg and try transfering between these two(leg_4 and new one Leg_5) it works, but for som reason it doesn't work from the "master" object.

The objects are all identical with same number of points and polys and so on and I have searched for differences in them but can't find any, is there something I am missing?

Here's a screenshot if it helps.

Image

Re: Kristinka Hair 3.0 released

Posted: 23 Sep 2011, 15:33
by Mathaeus
tupu wrote:Hi,

I am modeling a spider, from one master leg(which is the emitter object for all pointclouds) I use the deform hair compound to transfer the strands to the animated(deformed) legs.
It worked on the 3 legs but when trying to do the exact same thing on the fourth I can't make it work?

If I duplicate the fourth leg and try transfering between these two(leg_4 and new one Leg_5) it works, but for som reason it doesn't work from the "master" object.

The objects are all identical with same number of points and polys and so on and I have searched for differences in them but can't find any, is there something I am missing?

Here's a screenshot if it helps.
Hi,

well this should work.... my wild guess is, probably references to objects are screwed up, sometime during duplicating - afaik ICE behaves differently than standard operators, there (let's say, you have reference to many curves in ICE tree, select and rename them all, you'll get a mass...). So maybe you can try to create all new references to all geometries, save and reload the scene. afaik#2, you'll see a 'real' result only after reload.