WIP - Cloth Pattern Tool [Houdini Utility]

   11494   17   7
User Avatar
Member
13 posts
Joined: Sept. 2018
Offline
Hey All!

I'm currently working on an asset that in theory should make it much easier to create complex patterns for clothing in houdini.
It seems to me that making a complex pattern is today's main problem of creating clothes in houdini. The current method for sewing different pieces of a pattern with vellum drape requires the same number of points on the seams.
There is an excellent planar patch node, which implements the ability to set the number of points on the edges of the shape, which is exactly what is needed for correct seams. But with it, we can only create incredible rectangles, trapezoids and circles, while clothing patterns are quite complex shapes.
So I decided to try to improve the situation with the patterns a little)

The asset is in progress, I have some old work that proves the concept, but I took a slightly different approach.
I really hope that I will have time to make it work before the end of the competition.


The idea is this:
There is a set of polylines representing the pattern >>>
In my asset, in a multi-parameter similar to the one in vellum drape, all seams are indicated >>>
Pairwise resampling of polylines >>>
Meshing >>>
Pushing a multi-parameter to vellum drape (with button) to create attach constraints and welding of seams >>>
Constraints setup >>>
???
profit

So far I have implemented a multiparm for setting seams using python state (it was not easy, thanks to Paul and Simon for the video on python state )
Now I was planning to do resample of polylines and meshing.

I will write about my successes)
If you have any ideas - suggest!

Attachments:
process_01.gif (5.8 MB)

User Avatar
Member
144 posts
Joined: Aug. 2012
Offline
May I recommend integrating a small bit of Python code [forums.odforce.net] to allow your users to rearrange the order of the multiparms?
User Avatar
Member
13 posts
Joined: Sept. 2018
Offline
Jikian
May I recommend integrating a small bit of Python code [forums.odforce.net] to allow your users to rearrange the order of the multiparms?
of course!
it's strange that this functionality is not in the multiparms by default...
If there is time, I will definitely add
User Avatar
Member
13 posts
Joined: Sept. 2018
Offline
In the meantime, I have implemented pairwise polygon remesh and multiparms sending in vellum drape.
It already works with hairs

upd. it was inconvenient to press the button every time, so for all parameters in the multiparm block (group, target_group, cycle and reverse) I set a callback script that updates the multiparm in the vellum drape
Edited by ska__man - Sept. 11, 2021 16:36:54

Attachments:
process_02.gif (4.0 MB)

User Avatar
Member
447 posts
Joined: April 2018
Offline
Very interested to see how this develops! I'd like to use Houdini for draping, but the "equal points on both sides of a seam" thing is a deal-breaker.
Subscribe to my Patreon for the best CG tips, tricks and tutorials! https://patreon.com/bhgc [patreon.com]

Twitter: https://twitter.com/brianhanke [twitter.com]
Behance: https://www.behance.net/brianhanke/projects [www.behance.net]
User Avatar
Member
13 posts
Joined: Sept. 2018
Offline
Soooo. It looks like I have finished working on the main functionality. It remains to clean up the entire setup, rename the variables like f@AAA, try to get some errors from the python state аnd also make an interface for the asset.
The video below demonstrates the current capabilities.
To my surprise, it even works with pockets (at the end of the video)

User Avatar
Member
447 posts
Joined: April 2018
Offline
Whoa, this is FANTASTIC work, congrats! Bridging the gap beautifully between Marvelous Designer ease of use and Houdini power.
Subscribe to my Patreon for the best CG tips, tricks and tutorials! https://patreon.com/bhgc [patreon.com]

Twitter: https://twitter.com/brianhanke [twitter.com]
Behance: https://www.behance.net/brianhanke/projects [www.behance.net]
User Avatar
Member
13 posts
Joined: Sept. 2018
Offline
BrianHanke
Whoa, this is FANTASTIC work, congrats! Bridging the gap beautifully between Marvelous Designer ease of use and Houdini power.
Thanks!
User Avatar
Member
13 posts
Joined: Sept. 2018
Offline
There are a couple more ideas:
a) in the marvelous designer, when selecting lines for creating a seam, it is important where the cursor will be on the line. This is necessary to unambiguously determine the "direction" of the seam (see the picture below). I think it is quite possible to do this in the python state and then not be distracted by reverse toggles
b) When making a pattern, it is very difficult to immediately guess the different local sizes (T-shirt length, sleeve length, waist width, etc.). And in order not to recount the vellum drape every time (patterns can be very complicated), you can somehow change the pattern after it, when the clothes are already on the character.
The gif below shows the idea
c) it is necessary to be able to stitch 1 primitive with two or more. But I definitely won't have time for this(

Attachments:
pic_01.png (23.3 KB)
process_04.gif (14.4 MB)

User Avatar
Member
13 posts
Joined: Sept. 2018
Offline
Now, depending on where the cursor was at the moment of selecting the primitive, the "seam direction" is set
It seems that it's time to try the asset yourself and make a couple of examples before the deadline

Attachments:
process_05.gif (9.5 MB)

User Avatar
Member
12 posts
Joined: Oct. 2020
Offline
Fantastic work! You should continue to work on this even after the Tech Art Challenge, as it could become a real powerhouse workflow for clothes.

Maybe these will provide inspiration/further motivation:
https://youtu.be/aaAJNRqpf04?t=380 [youtu.be]
https://github.com/LucaScheller/VFX-LYNX [github.com]

Cheers!
User Avatar
Member
13 posts
Joined: Sept. 2018
Offline
Thank you all for your feedback. This month has been a challenge. This asset is my magnun opus
Published a post in the Best Houdini Utility Entries thread. You can test it
User Avatar
Member
447 posts
Joined: April 2018
Offline
Just made a simple shirt and I'm very impressed. Great work! I'll put together a more complicated drape in the next few days for a real stress test.
Subscribe to my Patreon for the best CG tips, tricks and tutorials! https://patreon.com/bhgc [patreon.com]

Twitter: https://twitter.com/brianhanke [twitter.com]
Behance: https://www.behance.net/brianhanke/projects [www.behance.net]
User Avatar
Member
13 posts
Joined: Sept. 2018
Offline
BrianHanke
Just made a simple shirt and I'm very impressed. Great work! I'll put together a more complicated drape in the next few days for a real stress test.

Attachments:
undefined - Imgur.gif (692.4 KB)

User Avatar
Member
447 posts
Joined: April 2018
Offline
Nothing fancy here, but I figured out a simple and flexible node tree. This COMPLETELY fixes the awful seam problem with the built in Houdini drape tools. Perfect. And being able to go back to the original pattern, modify the design, and rerun the sim is fantastic.

Subscribe to my Patreon for the best CG tips, tricks and tutorials! https://patreon.com/bhgc [patreon.com]

Twitter: https://twitter.com/brianhanke [twitter.com]
Behance: https://www.behance.net/brianhanke/projects [www.behance.net]
User Avatar
Member
7 posts
Joined: Aug. 2019
Offline
is this no longer available?
User Avatar
Member
12 posts
Joined: July 2017
Offline
I would vote this as first place winner,but didnt find this amazing tool in the winner page
User Avatar
Member
447 posts
Joined: April 2018
Offline
It was sooooo good.
Subscribe to my Patreon for the best CG tips, tricks and tutorials! https://patreon.com/bhgc [patreon.com]

Twitter: https://twitter.com/brianhanke [twitter.com]
Behance: https://www.behance.net/brianhanke/projects [www.behance.net]
  • Quick Links