knit the strand

Plugins linking to this thread: (hide)

Knit Strand ProAuthor: Anto Matkovic
This plugin by Kristinka Hair author Anto Matkovic is a newer version of the 2009 release »Knit the Stand«, which generates realistic procedural fabric by interweaving ICE strands following the UV lines of a given NURBS surface. For increased realism it supports customizable weaving patterns, position noise, tip flattening etc..

The new version adds some major features: better distribution, now strand size always fits between neighboring strands, whatever deformation is used lighter in render time: strand segments are generated sparingly, also there are built-in strand resolution attributes default is spread in X-Z plane. NURBS surface is optional, strands will fit to NURBS only if NURBS is connected diagonal distribution, like common fabrics. Should be much faster than old one. Fitting on strand size rely on simple, 'parallel' computation, not on geometry query by distance.

Thumnail image above (large version) was created by Piotrek Marczak using the old version of this plugin. Follow the 5+ page thread on si-community (Note: Download of new version is on page 4 of that thread).

local backup: knit_strand_pro.rar

Discussions about SOFTIMAGEs© Interactive Creative Environment©
User avatar
nbreslow
Posts: 23
Joined: 14 Feb 2012, 21:17
Location: New York, NY
Contact:

Re: knit the strand

Post by nbreslow » 16 Apr 2012, 18:53

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

hidalgo
Posts: 113
Joined: 03 Feb 2012, 20:50

Re: knit the strand

Post by hidalgo » 16 May 2012, 17:37

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

User avatar
Mathaeus
Posts: 1677
Joined: 08 Jun 2009, 21:11
Location: Zagreb, Croatia
Contact:

Re: knit the strand

Post by Mathaeus » 16 May 2012, 20:49

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
The renderer "turtle" used by this scene, is not currently available. The "turtle" renderer will be used instead.

hidalgo
Posts: 113
Joined: 03 Feb 2012, 20:50

Re: knit the strand

Post by hidalgo » 16 May 2012, 21:23

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

User avatar
Mathaeus
Posts: 1677
Joined: 08 Jun 2009, 21:11
Location: Zagreb, Croatia
Contact:

Re: knit the strand

Post by Mathaeus » 17 May 2012, 00:59

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.
The renderer "turtle" used by this scene, is not currently available. The "turtle" renderer will be used instead.

Chris_TC
Posts: 411
Joined: 22 Mar 2010, 17:43

Re: knit the strand

Post by Chris_TC » 24 Apr 2013, 17:29

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.

Bullit
Moderator
Posts: 2341
Joined: 24 May 2012, 09:44

Re: knit the strand

Post by Bullit » 24 Apr 2013, 17:59

Btw there is some new compounds available:



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

User avatar
Mathaeus
Posts: 1677
Joined: 08 Jun 2009, 21:11
Location: Zagreb, Croatia
Contact:

Re: knit the strand

Post by Mathaeus » 24 Apr 2013, 20:49

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.
The renderer "turtle" used by this scene, is not currently available. The "turtle" renderer will be used instead.

Chris_TC
Posts: 411
Joined: 22 Mar 2010, 17:43

Re: knit the strand

Post by Chris_TC » 24 Apr 2013, 21:00

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!

User avatar
Mathaeus
Posts: 1677
Joined: 08 Jun 2009, 21:11
Location: Zagreb, Croatia
Contact:

Re: knit the strand

Post by Mathaeus » 24 Apr 2013, 21:37

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.
The renderer "turtle" used by this scene, is not currently available. The "turtle" renderer will be used instead.

Chris_TC
Posts: 411
Joined: 22 Mar 2010, 17:43

Re: knit the strand

Post by Chris_TC » 24 Apr 2013, 22:54

Oh very cool, thank you! :)

User avatar
McNistor
Posts: 593
Joined: 06 Aug 2009, 17:26

Re: knit the strand

Post by McNistor » 27 Apr 2013, 17:48

This is freaking amazing Mathaeus. ^:)^
The society that separates its scholars from its warriors will have its thinking done by cowards and its fighting done by fools.
-Thucydides

izze
Posts: 171
Joined: 24 Sep 2009, 20:02

Re: knit the strand

Post by izze » 28 Jan 2015, 16:50

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

User avatar
Mathaeus
Posts: 1677
Joined: 08 Jun 2009, 21:11
Location: Zagreb, Croatia
Contact:

Re: knit the strand

Post by Mathaeus » 29 Jan 2015, 10:20

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.
The renderer "turtle" used by this scene, is not currently available. The "turtle" renderer will be used instead.

izze
Posts: 171
Joined: 24 Sep 2009, 20:02

Re: knit the strand

Post by izze » 29 Jan 2015, 14:48

Thank you so much. Especially when I keep asking so many questions. Your keeping XSI alive for all us mathematically challenged folks.

Post Reply

Who is online

Users browsing this forum: Yandex [Bot] and 1 guest