A new version of Cineversity has been launched. This legacy site and its tutorials will remain accessible for a limited transition period

Visit the New Cineversity
   
 
Fixing hair to a Voronoi Fracture object
Posted: 08 April 2019 06:21 PM   [ Ignore ]  
Total Posts:  76
Joined  2013-11-16

Hi

Trying to fix hair to a fracture object so that when it breaks apart the hair stays attached to the pieces. Can’t find a tutorial online.
Help please.

Example attached.

Cheers
Chris

File Attachments
Fract hair test.zip  (File Size: 118KB - Downloads: 30)
Profile
 
 
Posted: 09 April 2019 12:52 AM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Chris,

Thanks for the file, always better to work with direct data

The problem with Voronoi Fracture is that it obviously generate itself every single frame. You can place it in a Connect object as a parent over the Fracture and use it in the Hair as a link. But you will see only frame one of the dynamic, then it starts over. AFAIK.

What you can do is use the Current State to Object, and use the resulting polygons (connect and delete) with it. See the example below.

Scene file
https://www.amazon.com/clouddrive/share/dqkUg6vfYhmg3F0MYvmWyUIUoaaq37YuODE367PHutf


Let me know if that answers your question.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 09 April 2019 05:34 AM   [ Ignore ]   [ # 2 ]  
Total Posts:  76
Joined  2013-11-16

Thanks Dr Sassi

However I want to animate the pieces using random and plain effectors and maybe dynamics and I want the hair to stick in position on the pieces. I couldn’t get it to work using Fracture/connect objects.

Thanks

Profile
 
 
Posted: 09 April 2019 06:05 AM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

You’re welcome, Chris.

If you had mentioned animation, I would have added a few parts.

It is not a simple set up, but I hope you the idea is communicated with the file below. Please have a look here:

Scene file
https://www.amazon.com/clouddrive/share/M4ZRaRmSfZEvuPAkauMr4xlCY46d20kffvcRUyzOn8b

I hope it works for your project.

In any case, do not use the weld option in the Connect Object, I use it here more like an Instance.

Let me know if there is anything else, I’m happy to look into it.

Cheers

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 09 April 2019 06:33 AM   [ Ignore ]   [ # 4 ]  
Total Posts:  76
Joined  2013-11-16

Thanks

Wow

That makes my head hurt…

There’s a full tutorial in that little file.

That sort of does what I want although when the plane isn’t broken up (no gaps between the pieces when everything is in place) there are more hairs along the fracture edges of the pieces. That is, the distribution is not even across the plane before it is animated because of the extra points along the fracture lines. Is there a way to distribute the guides evenly (like polygon area) across the whole plain but still have thenm remain in place when the pieces are animated?

Thanks

Thanks

Profile
 
 
Posted: 09 April 2019 07:15 AM   [ Ignore ]   [ # 5 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Chris,

Yes, that would be a little tutorial series already, going through all steps needed.

Please have a look here:
Scene file
https://www.amazon.com/clouddrive/share/hYiqhUYRaY9T4nQ4J7qbUtKOBHqoIAfypTF9q5NVRcN

I have set the gap to 0.01, it should be invisible. If not, you need to copy the Voronoi Fracture and have this copy running with no gap. It should be in sync with the other (Copy) and is only there to be rendered.

The set up is now: polygon area.

Cheers

P.S.: I really stress tested it, and in a rare case, scrubbing and refreshing, etc, I was able to flip a polygon. If you have any trouble, I would set up a back up and run it on frame zero, then the Voronoi/Xpresso takes over. Just brainstorming here.

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 09 April 2019 07:38 PM   [ Ignore ]   [ # 6 ]  
Total Posts:  76
Joined  2013-11-16

Thanks

I’ll see if I have any issues with the actual job…

Profile
 
 
Posted: 09 April 2019 11:20 PM   [ Ignore ]   [ # 7 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Thanks for the reply, Chris.

Here is a file with a double Back-Up. Just for the peace of mind. I hope you have no trouble of course.

This set up has one Voronoi Fracture to work for the rendering only, in case you need a gap-less starting point.
The second one is with gaps, to be equal at any time with the Polygon object.
To keep things stable, I have made a copy of the Polygon and write this on Frame zero into the Polygon.Main object.

This is all over the top, just to be on the safe side. The main problem that I have encountered was based on the Correction Object. (I guess?) I pressed Freeze or reset at one point, and then the trouble started.

Scene file:
https://www.amazon.com/clouddrive/share/Df5qCGueaedgSCYiCVZBK2EPV2hQQWNZj7qBWorNDqP

On the other hand, if you have your set up with the Polygon-object, use the Cappucino and record the PLA (You might have to set frame zero manually). This is the safest way, so far I can tell now.
Scene file
https://www.amazon.com/clouddrive/share/ief2s8APFfynY1YwIY1HE8UxICrfzwxmHCh8E07ISIx

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 10 April 2019 06:10 AM   [ Ignore ]   [ # 8 ]  
Total Posts:  76
Joined  2013-11-16

Many Thanks

Much more stable. I understand the “Render only” fracture but why do you need all three of the other Fracture objects? The XP version doesn’t seem to be in the Xpresso but it’s got the Mograph cache tag for example. Are you able to give a rough summary in a couple of sentences as to what is happening and what each component does. It would stop my head hurting…

Cheers

Profile
 
 
Posted: 10 April 2019 06:56 AM   [ Ignore ]   [ # 9 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Thanks, Chris!

I hope it will work, it is just a workaround, as Hair was not created to work with generators.

Fingers crossed.

Cheers

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile