Page 3 of 4

Re: knit the strand

Posted: 16 Apr 2012, 18:53
by nbreslow
origin wrote:sorry that was done some time ago so I dont really remember details.
I think the most annoying thing was nurbs mesh manipulation cause of how lame nurbs in SI are (workaround create nurbs from polymesh and manipulate the source polymesh instead)
as for extruding strands I think I used Fabricios or Guillaume's ice compounds.

I am going to give it a crack this week. Will see what I come up with. Thanks again!

-Nick

Re: knit the strand

Posted: 16 May 2012, 17:37
by hidalgo
whats the procedure if there is one, to change the pattern to look for example like wool or another type of fabric similar?
thanks

Hidalgo

Re: knit the strand

Posted: 16 May 2012, 20:49
by Mathaeus
hidalgo wrote:whats the procedure if there is one, to change the pattern to look for example like wool or another type of fabric similar?
thanks

Hidalgo
hi,

there is no built-in procedure for wool. Which wool, btw. It's build on what's called a 'modulo trick'. This method, occasionally, allows the enough pleasant creation of simple patterns, result of this method occasionally reminds to something from real world. For something more complex, I think the best way is manual creation of entire pattern, leaving only variations to ICE, but this isn't a short procedure, anymore.

cheers

Re: knit the strand

Posted: 16 May 2012, 21:23
by hidalgo
ouch got it, thats bad couse i have some animated cloth that where screaming for your compound :D

only thing is that cage deforming the nurbs (with your pattern) to the polymesh with syflex seems not working, i guess that your methode of creating the cloth from nurbs then exporting it to mesh and add that as a shape key might be the only way.

thanks for the info will try something out.

Hidalgo

Re: knit the strand

Posted: 17 May 2012, 00:59
by Mathaeus
hidalgo wrote:ouch got it, thats bad couse i have some animated cloth that where screaming for your compound :D

only thing is that cage deforming the nurbs (with your pattern) to the polymesh with syflex seems not working, i guess that your methode of creating the cloth from nurbs then exporting it to mesh and add that as a shape key might be the only way.

thanks for the info will try something out.

Hidalgo
latest setup is able to render the displacement/bump texture - that's what I would do when it comes to cloth.

Re: knit the strand

Posted: 24 Apr 2013, 17:29
by Chris_TC
Mathaeus wrote: Image
It appears that you got the strands to form diagonal patterns. How is this done? I can only seem to get them horizontal and vertical.

Re: knit the strand

Posted: 24 Apr 2013, 17:59
by Bullit
Btw there is some new compounds available:



http://staplex.ru/?p=589

Re: knit the strand

Posted: 24 Apr 2013, 20:49
by Mathaeus
Chris_TC wrote:
Mathaeus wrote: Image
It appears that you got the strands to form diagonal patterns. How is this done? I can only seem to get them horizontal and vertical.
Hi,
latest one is variation of what's displayed in first picture. Another pics were created by another set of compounds, downloadable on page 3 of this thread, link is bellow this pic.
Generally all of them are variations of early ICE samples by Helge Mathee - strand array is defined in advance, saved as attribute (' strand ratio' or something), then this attribute is used for re-mapping in many ways, including both components of 2d vector, used as input for UV to location node.

Didn't tried stuff from link posted by Bullit - but it looks like much more advanced than mine, from 2009.

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.