Page 4 of 4

Re: knit the strand

Posted: 24 Apr 2013, 21:00
by Chris_TC
Alright, I'll see if I can dig into your compound and find the attributes I need. It may be a few years old, but it's very cool and useful, so thank you!

Re: knit the strand

Posted: 24 Apr 2013, 21:37
by Mathaeus
Chris_TC wrote:Alright, I'll see if I can dig into your compound and find the attributes I need. It may be a few years old, but it's very cool and useful, so thank you!
Of course there's question with diagonal distribution, what to do when array reaches the boundary of NURBS surface, These old compounds creates another emission, in order to fill the corners. Here's a bit newer one which does 'reflection' on boundaries, allowing only one basic emission, more uniform strand distribution as well.
Anyway, if I'll do it again, I think I'll try to use basic pattern, created manually, compound then should be responsible for variations. Should be much easier to figure out by user. But this is only idea, for now.

Re: knit the strand

Posted: 24 Apr 2013, 22:54
by Chris_TC
Oh very cool, thank you! :)

Re: knit the strand

Posted: 27 Apr 2013, 17:48
by McNistor
This is freaking amazing Mathaeus. ^:)^

Re: knit the strand

Posted: 28 Jan 2015, 16:50
by izze
I am always using your tools in ways that they were never meant to be used.... But, is is possible to have the root and tip of the strands taper in size? I'm trying to make a piece of burlap cloth and was trying to get frayed edges. Can you say if this is possible? I would greatly appreciate any help.

Image

Re: knit the strand

Posted: 29 Jan 2015, 10:20
by Mathaeus
izze wrote:I am always using your tools in ways that they were never meant to be used.... But, is is possible to have the root and tip of the strands taper in size? I'm trying to make a piece of burlap cloth and was trying to get frayed edges. Can you say if this is possible? I would greatly appreciate any help.
In Melena, there's compound called 'get strand ratio' or something, able to remap the strand array to 0 - 1 float range, that is, suitable to plug into fCurve node. fCurve node goes into Set Data, Self.StrandSize . Perhaps you'll need to put Self.StrandPosition into vector input of 'get strand ratio' compound.
This will do something meaningful only if you have a 'symmetrical' function curve. All that only with pattern like in pic. In other 'knit' nodes, having for example a diagonal pattern, by nature of thing, strands are not aligned like hair, root close to root. Function curve won't be useful.
Anyway you could transfer the values for Self.StrandSize from another geometry, for example using Get Closest Location, taking the weight map 'weights' attribute from external mesh grid, aligned to knit network.

Re: knit the strand

Posted: 29 Jan 2015, 14:48
by izze
Thank you so much. Especially when I keep asking so many questions. Your keeping XSI alive for all us mathematically challenged folks.