Page 1 of 2

Clippng material not cutting all objects

Posted: Mon Jun 06, 2022 11:21 pm
by zzdevzz
Hi all,

I'm trying to make an architectural animation and needed an animated 'section cut'.

The octane clipping material is what I need however it doesn't seem to fully work with my file - it leaves faces behind.
Here you can see some faces of objects are left behind (with no materials)
Here you can see some faces of objects are left behind (with no materials)
My geometry is exported from an external CAD software (Revit) and it causing issue specifically with the octane clipping material and not the native cineam4d boolean operation.

Is anyone able to explain why this happens and what the fix it? I know if i remove all the materials it helps (but leaves glitching faces). If I leave the materials, 1 face will always be visible.
If the objects have materials, then 1 face will be left behind when cut.
If the objects have materials, then 1 face will be left behind when cut.
It might help to add, the cad file exports everything 'hollow' e.g a cube will be 6 faces and empty inside. There's no way of changing this for the file format export (its a big file). I tried using the volume mesher in R23 and this DID SOLVE THE PROBLEM AT A SMALL SCALE - however due to the amount of geometry the building has, this isn't a solution fit for this project. And it rounds a lot of the corners which looks wrong.

I've attatched the native C4D boolean image to show how it should ideally cut (it just doesn't have the thick solid intersection cut which I'd like) unfortunately. But this works with and without the mateirals.
Standard Boolean operation in C4D
Standard Boolean operation in C4D
Any help would be much appreciated.

Re: Clippng material not cutting all objects

Posted: Tue Jun 07, 2022 1:52 am
by jayroth2020
Adjust the Custom Ray Epsilon value in the Clipping Material (you may need to take it either up or down). https://docs.otoy.com/cinema4d/ClippingMaterial.html

Re: Clippng material not cutting all objects

Posted: Tue Jun 07, 2022 6:48 am
by zzdevzz
jayroth2020 wrote:Adjust the Custom Ray Epsilon value in the Clipping Material (you may need to take it either up or down). https://docs.otoy.com/cinema4d/ClippingMaterial.html
I have done this and this doesn't effect it unfortunately. Only in the renderer it does but i end up losing half my scene to lose the artifacts.

Re: Clippng material not cutting all objects

Posted: Tue Jun 07, 2022 3:46 pm
by jayroth2020
Can you post a file so we can take a look?

Re: Clippng material not cutting all objects

Posted: Tue Jun 07, 2022 8:06 pm
by zzdevzz
Here it is:

https://wetransfer.com/downloads/8f5132 ... 252/011b17

Got the C4D file I used.
And 2 Raw FBX's.

Re: Clippng material not cutting all objects

Posted: Wed Jun 11, 2025 12:44 pm
by 3D3R
Hi,

i have this problem with CAD-Step Imports and can't fix it, is there a solution for this?
No ray epsilon change, i tried it first with octane 2023, but it never worked.

It would be great, because i have to switch to another renderer to get the job done.

C4D 2025.2.1
Octane 2025.2.1 and versions before

Thanks,
Stefan

Re: Clippng material not cutting all objects

Posted: Wed Jun 11, 2025 9:15 pm
by jayroth2020
Can we see your scene file, please?

Re: Clippng material not cutting all objects

Posted: Thu Jun 12, 2025 6:48 am
by 3D3R
Here is a stripped version of the STEP-Import, but you can see the error.

Image

Re: Clippng material not cutting all objects

Posted: Thu Jun 19, 2025 9:31 am
by Tim_Twisted
This problem occurs because of polygon faces of different objects being in the same exact place (but flipped). In CAD it's standard to draw objects without any space between objects, and because this value is exactly zero the ray epsilon doesn't make a difference (since it's dividing/multiplying 0).

If you ever so slightly move the object, it will work as expected but this is an enormous amount of work on complex models.

Re: Clippng material not cutting all objects

Posted: Thu Jun 19, 2025 9:59 am
by 3D3R
Thanks for the explanation.

But like you said, i can“t move hundreds of objects ... .