Include/Exclude Objects in Clipping Material

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Ilius
Licensed Customer
Posts: 33
Joined: Tue May 21, 2019 6:52 am

Is it possible? i tried to achive that, but the Clipping Material doesnt give a lot of options to play around and documentation is also not up to speed.
User avatar
bepeg4d
Octane Guru
Posts: 10325
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
is it not possible for you to use the C4D Object Manager for this?
If you parent some closed objects to the main clipped object, they are directly included in the clipping:
A3ED32CA-2588-45E5-81A0-6A709DF089EB.jpeg
ciao,
Beppe
Ilius
Licensed Customer
Posts: 33
Joined: Tue May 21, 2019 6:52 am

Sorry, i must have not been clear enough.

By Including and Excluding Geometry, what meant was to include/exclude Geometry that is to be clipped. Not Geometry that will clip.

Because right now, if i want to clip my scatter to have a clean grassline on the edge of a walkway, it just clips through everything and i would have a black hole looking into abyss.
jayroth2020
OctaneRender Team
Posts: 486
Joined: Mon May 04, 2020 7:30 pm

Materials with a priority higher than the clip material priority will be exempt from the clipping operation. Clipping uses the same priority as Nested Dielectrics. You can fine tune artifacts by using the Clip material Custom Ray Epsilon value.

To use your example, if you assign the sidewalk a higher priority than the Clipping material, it will be untouched by the operation.
Puget Systems / Intel Core Z790 ATX / RTX 4090 / Cinema 4D
Ilius
Licensed Customer
Posts: 33
Joined: Tue May 21, 2019 6:52 am

That kinda works, my floor is now excluded in clipping but my grass shows up now as kind of a ghost?
screenshot and scene attached
Attachments
Scatterclipping.rar
(21.44 MiB) Downloaded 91 times
Bild_2022-02-09_154711.png
jayroth2020
OctaneRender Team
Posts: 486
Joined: Mon May 04, 2020 7:30 pm

What version are you using?
Puget Systems / Intel Core Z790 ATX / RTX 4090 / Cinema 4D
jayroth2020
OctaneRender Team
Posts: 486
Joined: Mon May 04, 2020 7:30 pm

You are not using Octane Object tags in your scene. Add one to the Hof.1 object, and in the tag's Visibility tab, disable Shadow Visibility. This will remove the shadows from being cast from the clipped objects.
Clipped_Shadows.png
Puget Systems / Intel Core Z790 ATX / RTX 4090 / Cinema 4D
Ilius
Licensed Customer
Posts: 33
Joined: Tue May 21, 2019 6:52 am

Thanks, thats pretty counter-intuitive but it works now, cool thing, thank you
Ilius
Licensed Customer
Posts: 33
Joined: Tue May 21, 2019 6:52 am

I've noticed a new problem which i dont know a way around - the clipping material prohibits shadows from falling on objects that are "inside" the clipping objects. (See screenshots and scene attched)

is there a way to fix this?
Attachments
shadow-01.JPG
Shadowclipping.rar
(70.61 MiB) Downloaded 74 times
shadow-02.JPG
User avatar
SSmolak
Licensed Customer
Posts: 1157
Joined: Sat Feb 07, 2015 5:41 pm
Location: Poland
Contact:

I don't think that Clipping Material is good choice to make such things. Anyway it should not block shadows that coming from not clipped material...
Architectural Visualizations http://www.archviz-4d.studio
Post Reply

Return to “Maxon Cinema 4D”