Breaking Glass In Redshift With Voronoi Fracture
-
Hello, I'm trying to make the effect where a transparent object starts whole and then gets broken apart. The issue I'm having is the cracks continue to appear even while the object is whole. I've tried techniques suggested from both of the tutorials below but have yet to find a working solution. Any help anyone might have would be much appreciated, thanks!
An old solution using the physical shader (utilizes AO to generate black where when the pieces are close to each other):
https://www.youtube.com/watch?v=K0C7bnXmObM&t=106sThe answer is possibly in here but the reference project/image is no longer available:
https://www.cineversity.com/forums/viewthread/4975/ -
@Jiveon ok so I think the issue may have something to do with the overall thickness of the geometry, I applied my AO based effect shader to a 1cm thick piece of geometry and the effect worked fine, anything thicker than that and the cracks begin to appear.
-
Haha ok I figured out what the issue was, the solution was much more prosaic than some hidden feature of a dusty node. I simply needed to stop and start the IPR then it would work as I imagined. Once I turned the IPR off and back on it worked fine not matter the geometries thickness. Here is a breakdown of the method I used:
When using the Voronoi Fracture to break glass:
Two glass materials, one for the the inside faces and the other for the outside faces, activate and assign the relevant selection tags to the relevant geo.
For the inside faces material add and AO node connected to a Ramp node connected to the Opacity input of the material.
The AO can be left default, on the Ramp pull the black knot to 99.9%.
You should be good to go. phew.
-
Ok well, I was wrong, the above only partially works. The AO and Ramp nodes together leave too much latent opacity. Meaning that if I compare the same geometry with the same material applied without the AO setup to fix the cracks I get a full featured glass material with lots of bright reflections, etc. Compared to the version that 'works' the glass is far more transparent and has loss much of its character. I'll have to try something else. perhaps a material blender? I'll post if I ever figure a solution.
-
Hi Jiveon,
Please have a look here:
Is this sufficient?
Edit -Checked in 2025, just to keep thing updated:
CV4_2025_drs_24_RSgs_01.c4d
/edit.I have set the "inside" faces to Thin Walled. I'm not saying it is perfect, but perhaps the project you want to use it for shows no artifacts.
Enjoy
-
Hi Dr. Sassi,
Thanks so much for your help unfortunately that doesn't give me quite what I'm looking for as I miss all of the detail on the 'broken' parts of the glass. This is a hero logo resolve and I need the glass to have lots of complexity and visual interest. I can run a vertex map onto the geometry controlled with a field to swap the materials as needed if I this is a dead end or just render it twice and fix it in comp. Sure would be nice though to accomplish this in a more procedural and flexible way though. I'll continue to play with it.
Best!
-
Hi Jiveon,
Since I have no file, it isn't easy to follow where things won't work.
If I understand your reply correctly, you need the broken "inner faces" detailed and not showing up when "connected", but if apart, they need to show.This is pure brainstorming and perhaps wasting your time (working with a file makes more sense).
Cache the whole thing while having enough vertices available, then use a Vertex Tag to create a mask between two Settings.
Example (explore frame zero to 12, in RS Render View)
CV4_2024_drs_24_RSvg_11.c4dAll the best
-
Dr. Sassi.
Thanks so much for this approach, I have been using the Volume Mesher, which works but yields some limitations, I'm going to explore this method as your demo looks amazing.
Best!
-
Thank you very much for your feedback, Jiveon.
I will write a Feature Request to make this process easier. My first idea might be a distance field to any other object.
The second is to have maybe more data and options based on "Glue" function in Voronoi Fracture. So it works in concert with Simulation.If you have a few minutes, please share your needs here:
https://www.maxon.net/en/support-center
"Share Your Idea"My best wishes