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
   
 
Controlled (custom) tearing
Posted: 16 September 2016 04:29 AM   [ Ignore ]  
Total Posts:  8
Joined  2016-08-30

Hello guys!

I am new to C4D. I was wondering if it is possible to control a tearing effect (cloth, paper, etc.)
using splines as “guides”, black/white texture maps or vertex painting?

Best regards,
Michael

Profile
 
 
Posted: 16 September 2016 04:42 AM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Dr. med. univ. Mich_ael K_l_i_m_a_s,

Would you mind to share a sketch or somthing like that?

Besides many ways to just animate it, with pre-pared set-ups, the typical way is discuessed here :

https://www.cineversity.com/vidplaytut/cloth_simulation_part_08

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: 16 September 2016 05:17 AM   [ Ignore ]   [ # 2 ]  
Total Posts:  8
Joined  2016-08-30

Hello Dr. Sassi!

From what I have seen in multiple tutorials on the internet a tear simulation
has random tear lines. What I am after are custom tear lines (guided by splines, b/w maps, vertex paint)
to achieve an effect like you see in the following pictures.

Custom tear lines with random edges

http://img07.deviantart.net/c8a4/i/2005/270/6/c/cracks_in_the_paint_by_enframed.jpg
http://kingfisher.scene7.com/is/image/Kingfisher/Walls_Paintflaking_66_01?wid=260&hei=190
http://static8.depositphotos.com/1469828/1029/i/950/depositphotos_10295095-Old-cracked-paint-on-the.jpg
http://nusitegroup.com/wp-content/uploads/2013/05/foundation-floor-crack-toronto.jpg
http://www.structuredfoundationrepairs.com/images/medium/732968.png
http://image.shutterstock.com/z/stock-vector-crack-on-a-sheet-of-paper-eps-100059020.jpg
http://www.adelinedemonseignat.com/uploads/projects//PaperOverCracks.jpg/cache/5b672c2bad6f5f612bf8e02ac45976c4.jpg
https://i.ytimg.com/vi/VnqOMQ2RYyQ/maxresdefault.jpg
http://i.imgur.com/03rsx.jpg
http://www.sherwin-williams.com/wcm/idc/groups/public/@swpublic/@sherwin-williams/@content/documents/webcontent/mdaw/mda4/~edisp/sw-levelbdirpeelcrack.jpg
https://image.freepik.com/free-photo/cracked-paint-texture_19-139210.jpg

The goal is to stop the simulation after a couple of frames -> then, if necessary adjust the torn geometry in ZBrush.


Unless there is a way to delete geometry based on custom splines drawn onto the geo (or vertex paint, b/w maps for that matter)
and then diffuse-grow the points in x,y,z direction to create randomly shaped egdes… is there?

Thank you for your response.

Best regards,
Michael


Edit: Thank you, but, unfortunately, the link to the video does not exist…

Profile
 
 
Posted: 16 September 2016 05:37 AM   [ Ignore ]   [ # 3 ]  
Total Posts:  8
Joined  2016-08-30

This guy has exactly THAT feature on his roadmap

https://cgcookiemarkets.com/all-products/clothfx-dynamic-tearing-tool/

Future Plans(Price May Increase):
- GreasePencil based tearing(For custom tears)

Profile
 
 
Posted: 16 September 2016 02:12 PM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Dr. med. univ. Mich_ael K_l_i_m_a_s,

How about Voronoi and Dynamics with a little bit of XPresso?
Here is a file with a sketch of my idea to this theme.
https://www.amazon.com/clouddrive/share/K1X26QnmxVSBOBPSiU1kIu25r11yS7c8Mjz5lq1uBQv?ref_=cd_ph_share_link_copy

Since you like the edges more fractured:
https://www.amazon.com/clouddrive/share/UdFsPUuG8eTx0CakNCoJUwgEXjiJdsS15bf6XeoqJZi?ref_=cd_ph_share_link_copy
I left that edge option out in file _01, to keep it simple.
A preview clip is here, one minute long:
https://www.amazon.com/clouddrive/share/Ih8jvPL2qs3SAJoBNnmtW83z70I6ehRN3gJEu8zLBKt?ref_=cd_ph_share_link_copy

More about Voronoi and how to cut and slice things:
https://www.cineversity.com/vidplaytut/voronoi_fracture_reference_introduction

If you like to tear things via Splines, you might cut the surface with splines and use then the created parts as “clones” in a Fracture Object. [@ 02:50]
https://www.cineversity.com/vidplaylist/new_in_cinema_4d_r18/cut_lines_and_splines_in_polygon_models_with_c4ds_line_cut_tool

Anything more, as in “one push button” solutions, would require perhaps that you write a Python script, or find an plug in developer who does it. OR, you suggest this function to MAXON directly:
https://www.maxon.net/en-us/support/suggestions/

I hope you enjoy exploring this option and get the results you are after.

One little note, in The XPresso set up, I use a formula “?($1<trunc($2/3);1;0)” the 3 is the number that slows down the progress. You can speed it up e.g. with a 2 or slow it down with a 4, etc.  In the example files I have a = instead of a <, with the = you can keep the clones close to the origin, as they fly back “home” based on the Transition time in the Dynamic Tag. Which is just an idea.
To make the effect more clear, I have created a scene for you. Click on the XPresso Tag one time, and chose the User Data in the Attribute manager.
https://www.amazon.com/clouddrive/share/pPuzWC46l2Y2XHDN9ylviXNwCHUqEZQs2rN63rUdQNS?ref_=cd_ph_share_link_copy

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: 20 September 2016 04:45 AM   [ Ignore ]   [ # 5 ]  
Total Posts:  8
Joined  2016-08-30
Dr. Sassi - 16 September 2016 02:12 PM

Hi Dr. med. univ. Mich_ael K_l_i_m_a_s,

How about Voronoi and Dynamics with a little bit of XPresso?
Here is a file with a sketch of my idea to this theme.
https://www.amazon.com/clouddrive/share/K1X26QnmxVSBOBPSiU1kIu25r11yS7c8Mjz5lq1uBQv?ref_=cd_ph_share_link_copy

Since you like the edges more fractured:
https://www.amazon.com/clouddrive/share/UdFsPUuG8eTx0CakNCoJUwgEXjiJdsS15bf6XeoqJZi?ref_=cd_ph_share_link_copy
I left that edge option out in file _01, to keep it simple.
A preview clip is here, one minute long:
https://www.amazon.com/clouddrive/share/Ih8jvPL2qs3SAJoBNnmtW83z70I6ehRN3gJEu8zLBKt?ref_=cd_ph_share_link_copy

More about Voronoi and how to cut and slice things:
https://www.cineversity.com/vidplaytut/voronoi_fracture_reference_introduction

If you like to tear things via Splines, you might cut the surface with splines and use then the created parts as “clones” in a Fracture Object. [@ 02:50]
https://www.cineversity.com/vidplaylist/new_in_cinema_4d_r18/cut_lines_and_splines_in_polygon_models_with_c4ds_line_cut_tool

Anything more, as in “one push button” solutions, would require perhaps that you write a Python script, or find an plug in developer who does it. OR, you suggest this function to MAXON directly:
https://www.maxon.net/en-us/support/suggestions/

I hope you enjoy exploring this option and get the results you are after.

One little note, in The XPresso set up, I use a formula “?($1<trunc($2/3);1;0)” the 3 is the number that slows down the progress. You can speed it up e.g. with a 2 or slow it down with a 4, etc.  In the example files I have a = instead of a <, with the = you can keep the clones close to the origin, as they fly back “home” based on the Transition time in the Dynamic Tag. Which is just an idea.
To make the effect more clear, I have created a scene for you. Click on the XPresso Tag one time, and chose the User Data in the Attribute manager.
https://www.amazon.com/clouddrive/share/pPuzWC46l2Y2XHDN9ylviXNwCHUqEZQs2rN63rUdQNS?ref_=cd_ph_share_link_copy

All the best

Hello Dr. Sassi!

Thank you for your efforts!
I have been away for the weekend, however I was able to take a look at your setup yesterday.
I tried to modify your c4d files to get the result I am after and also including a greyscalegorilla workflow I saw the other day, but to no avail..
The other option you are suggesting, using the created parts as clones in a fracture object, I do not understand how the outcome would resemble a custom tear/crack
since I just expect the edges/the vertices at the edge where the spline cut has been made to become distorted in xyz axis.

I mean how could one approach the process of creating a cracked paint, torn cloth or burnt cigarette paper semi-procedurally..
without alpha-map trickery and without ZBrush.
..Houdini only?

I will however suggest it to Maxon although I don’t get my hopes up high
since there is more generic stuff they are taking care of.

Thank you.

Best regards,
Michael

Profile
 
 
Posted: 20 September 2016 01:15 PM   [ Ignore ]   [ # 6 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Michael,

You ask about a very broad area, (cracked paint, torn cloth or burnt cigarette paper) and typically each would have a different approach. Your question feels like a request for a Swiss-Knife and all with a nearly one button automated option.

Just to push a little bit your explorer spirit, I have prepared two one minute clips. Just experiment a little, which is certainly more rewarding then to push buttons on a solution that doesn’t exist now ;o)
https://www.amazon.com/clouddrive/share/im7trZXZ9RkfOMWQ4SSs5vKVPbSSEpgez8xtEhvhKw3?ref_=cd_ph_share_link_copy
and to “chip” things off, have a look on the follow up of this:
https://www.amazon.com/clouddrive/share/CWwKyzAZCBpChZ8idpm91WbGXpse5fYqH62mb8gUetG?ref_=cd_ph_share_link_copy
The MoSpline random distortion is something I have used successfully to create Voronoi patterns [BTW]—small ones where the MoSpline is and larger outside of it. With the original spline intact and editable.

The idea of “I just expect the edges/the vertices at the edge where the spline cut has been made to become distorted in xyz axis.” sounds good and nothing wrong with it. But besides the R18 Knife options to cut based on a Spline, there is no option to make it automatically crackle, tear or even burn based on Spline information. Certainly, that would be a great tool to have.

Besides, you have certainly watched all Siggraph 2016 presentations, especially this one here @ 17:40 min:sec
https://www.cineversity.com/vidplaytut/siggraph_2016_rewind_-_derya_ozturk_new_mograph_features_in_r18

For me, the main idea is the final product, how it looks, and how it is done is secondary, as most people will never know. But, I understand it is also fun to see it “live” and interact with such option, just for the fun of it. :o)

Yes, please suggest this to MAXON.

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: 21 September 2016 11:23 AM   [ Ignore ]   [ # 7 ]  
Total Posts:  8
Joined  2016-08-30

Hello Dr. Sassi,

Dr. Sassi - 20 September 2016 01:15 PM

You ask about a very broad area, (cracked paint, torn cloth or burnt cigarette paper) and typically each would have a different approach. Your question feels like a request for a Swiss-Knife and all with a nearly one button automated option.

I disagree with the Swiss-Knife notion.
And, actually, I consider it the same principle in all three cases, especially, when considering that the (my) displayed end-result is a still image and not an animation or simulation.

This is how I would approach it in 3ds max, which is the first DCC I learned in my time as a student
(and then abandoned it because of Autodesk).

>> a texture based solution <<

Cylindrical low poly mesh with UVs

>>  Turbosmooth Modifier (subdivide)
>>  Vol.Select Modifier by b/w texture map (select vertices or polygons via texture map)
>>  MeshSmooth Modifier (subdivide selected area only)
>>  Vol.Select by same texture map
>>  MeshSmooth selected area again (increasing polycount only in areas where it’s needed)
>>  Vol. Select by same texture map
>>  DeleteMesh modifier

...with maxscript >> Automatically select all boundary edges
>> Edit Poly / Soft Selection + Grow Selection
>> Mesh Select
>> Noise Modifier (randomly displace selected/cracked edges)

>> ..further editing with ZBrush if needed.

 

Just to push a little bit your explorer spirit, I have prepared two one minute clips. Just experiment a little, which is certainly more rewarding then to push buttons on a solution that doesn’t exist now ;o)
https://www.amazon.com/clouddrive/share/im7trZXZ9RkfOMWQ4SSs5vKVPbSSEpgez8xtEhvhKw3?ref_=cd_ph_share_link_copy
and to “chip” things off, have a look on the follow up of this:
https://www.amazon.com/clouddrive/share/CWwKyzAZCBpChZ8idpm91WbGXpse5fYqH62mb8gUetG?ref_=cd_ph_share_link_copy
The MoSpline random distortion is something I have used successfully to create Voronoi patterns [BTW]—small ones where the MoSpline is and larger outside of it. With the original spline intact and editable.

WHOAHA grin This, the second flick, is definitely going in the direction which I had in mind!!
what I think is missing in C4D is something like a 3dsMax “Volume Select”-Modifier, perhaps also a “grow” selection and/or a soft-selection and a “a Mesh Select Modifier” to pass on information on vertices/edges which are selected to the next “node” for further operations

Do you mind sharing those two files for further examination. I can hardly make out the letters in the object manager
and my alleged super vlc-player is having issues with playing back your videos fluently.

But besides the R18 Knife options to cut based on a Spline,
there is no option to make it automatically crackle, tear or even burn based on Spline information. Certainly, that would be a great tool to have.

I think you misunderstood me. As stated above, I never had a fancy one-click solution like that in mind.
Just a semi-procedural custom setup to create gaps in geometry by drawing splines onto it (or by using b/w textures or vertex painting) for further manipulation in ZBrush or C4D.

Besides, you have certainly watched all Siggraph 2016 presentations, especially this one here @ 17:40 min:sec
https://www.cineversity.com/vidplaytut/siggraph_2016_rewind_-_derya_ozturk_new_mograph_features_in_r18

yes, I have skimmed through his presentation, but I can not dedicate time to delve into all those presentation videos
since I have a pretty busy job and family. That particular spline technique you are referring to, however, is something I have already discovered in C4D. grin


Best regards,
Michael

Profile
 
 
Posted: 21 September 2016 11:32 AM   [ Ignore ]   [ # 8 ]  
Total Posts:  108
Joined  2015-11-30

hi all, I didn’t read the whole thread properly but wanted throw in my 2 cents anyway.
You can create a tear map by painting a vertex map which maps the weakness in the cloth. There’s vertex map field next to Tear in the cloth tag.
If you want to use an image rather than hand painting the vertex map (painting is easier and faster imo), then you can use xpresso and a cloner set to object, then iterate clone positions to sample shader effector and map strength to vertex points.
So if you really wanted to use spline you could use proximal shader as the shader effector input, its all pretty complicated if you want a dynamic tear map and not to just paint the vertex map manually.

Profile
 
 
Posted: 21 September 2016 02:02 PM   [ Ignore ]   [ # 9 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Thanks a lot, NNenov,

Thanks for your efforts.

Yes, as you said, you haven’t read the whole thread. Your suggestion is correct and addressed in the tutorial I linked in my first reply, which covers these common fabric practice nicely. But click on all the images in his post, well one or two are sufficient already to get the point, as I would say it fractal defined effects via splines on an object, and from there automatically.

Your reply indicates that you relate to the headline, which I have to change later: It is misleading. What he wants is a spline based automated Color Chip/crackle, paper tear and cigarette burn, etc etc, effect, with as mentioned, a fractal based “cut” line with varies outcome, as in dried color, paper or fabric. The fabric seemed more an hint and related to an plug in announcement he has seen for a different app.

All in all his request, if someone would get this right, would make for a very nice VFX tool, no question.

Thanks again

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: 21 September 2016 02:48 PM   [ Ignore ]   [ # 10 ]  
Total Posts:  108
Joined  2015-11-30

ahh yep.. thats a very specific effect! does bring houdini to mind

Profile
 
 
Posted: 21 September 2016 02:54 PM   [ Ignore ]   [ # 11 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi NNenov,

Very Good Point! Thanks a lot for bringing that up.

Yes of course and with the options to integrate this as “plug in” inside of Cinema 4D:

https://www.cineversity.com/vidplaytut/getting_started_with_houdini_engine_what_is_the_houdini_engine

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: 25 September 2016 01:08 PM   [ Ignore ]   [ # 12 ]  
Total Posts:  8
Joined  2016-08-30
NNenov - 21 September 2016 11:32 AM

hi all, I didn’t read the whole thread properly but wanted throw in my 2 cents anyway.
You can create a tear map by painting a vertex map which maps the weakness in the cloth. There’s vertex map field next to Tear in the cloth tag.
If you want to use an image rather than hand painting the vertex map (painting is easier and faster imo), then you can use xpresso and a cloner set to object, then iterate clone positions to sample shader effector and map strength to vertex points.
So if you really wanted to use spline you could use proximal shader as the shader effector input, its all pretty complicated if you want a dynamic tear map and not to just paint the vertex map manually.


Hi Nikola!

Thank you for chiming in and providing your input!
Yes, I can pull off a vertex map trick like that in 3ds max. Within Cinema4D I am stuck though.
This, probably, resembles pretty much your suggestion, doesn’t it?
https://vimeo.com/104573203

..but how would one manage to have the pieces “stay in place”?
..just achieving the cracks..?


As a C4D beginner, with a (more than a) full-time job and family, I don’t have the time to “push a little bit my explorer spirit”
and “experiment” for hours, as Mr. Sassmannshausen is suggesting, nor do I have to beg for c4d sample files on account of bad video compression, thus I’d be happy to pay YOU for

a) an explanation on what HE did at 00:30 sec in this video:
https://www.amazon.com/clouddrive/share/im7trZXZ9RkfOMWQ4SSs5vKVPbSSEpgez8xtEhvhKw3?ref_=cd_ph_share_link_copy
the other steps seem okay to follow up on… and so does the second video.

and/or

b)a little semi-procedural c4d-setup to create cracks/gaps in geometry (no simulation needed) by painting vertex maps onto geo (as you suggested)

If you are interested in my offer, please contact me at klimas[nospaceinbetween]md[at]gmail[dot]com for further details.

Also, you mentioned Houdini.
If you are proficient enough in Houdini and have time to tutor me a little, holla at me as well.

@Sassi
And, genuinely, thank you for YOUR effort, even though it seems that you see it beneath you to respond to my last post.
On a different note, no average-Joe new to Cinema 4D knows what the definition of a “fractal” is, hence, if you would kindly NOT RENAME my thread into [Fractal based], because there is no fractal involved whatsoever. Kindly, leave the name as it was.
THANK YOU.

Best regards,
Michael

Profile
 
 
Posted: 25 September 2016 02:59 PM   [ Ignore ]   [ # 13 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Dr. med. univ. Mich_ael K_l_i_m_a_s,

You’re welcome. I think this thread has gotten quite out of proportion, don’t you think?

I normally answer to all, no idea why I missed this post. It is not in my e-mail notification. Sorry about that, no it is not beneath me, as I have already answered many times with great effort on my side, but such a projection (C.G.Jung wise) shows something about how you might operate.

Your reply makes me uncomfortable, as I certainly have tried to give you tons of examples here. I guess you have not even watched the Cineversity series about tearing fabric apart. Your reply shows that clearly, as it doubles the information that NNenov already gave and I mentioned it in links as well. Donavan Keith did such a great job here. (skimmed is not really watching it) So, you have no time for that, but I have to invest this time to make it accessible in a faster way? This is not how it works here. Sorry to disappoint you.

Did you had an additional question there? I did not saw one. What should I have answered: That the weight map was already mentioned many times? ;o)

Again: The tear effect weight map was mentioned/explained already several times. Looking now at your post, I did not see any addition to the series given here on Cineversity. But yes, I did not watched the whole hour, that would be a little bit over the top to expect. Sorry if I missed something.

The tearing in those coast like shapes is a fractal Noise like pattern, and showed in all these images [linked above] from you.

Fractal noise in Ae Cs4
Fractal noise in Electric image plug ins
Fractal Noise 3D in AEscripts.
etc.etc.

I’m not with you on that questionable remark that the “average joe” has no clue about that. To layer noise by changing the scale is a nearly 20 year old technique.
… and there is Google, who puts everyone in a minute into that knowledge. Use fractal noise and google it, just for giggles. So, please can we stop with this ego driven stuff here. Thank you very much.
As per your wish, I have take it out of the headline. No Problem. I had hopes that it clarifies things.

mjk_itb - 25 September 2016 01:08 PM

@Sassi
And, genuinely, thank you for YOUR effort, even though it seems that you see it beneath you to respond to my last post.
On a different note, no average-Joe new to Cinema 4D knows what the definition of a “fractal” is, hence, if you would kindly NOT RENAME my thread into [Fractal based], because there is no fractal involved whatsoever. Kindly, leave the name as it was.
THANK YOU.

Best regards,
Dr. med. univ. Mich_ael K_l_i_m_a_s
Ärztekammer Wien

(a real “Dr.”)

I will close that thread, as it seems you found your answers already, since we repeat here already stuff, it would be not fair to other to go on and on.

My best wishes for your project.

Take care.

Message was edit after criticized to have too much “yadda yadda yadda” in it. I hope it is better now.

 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