Shadow pass in Octane V3 (C4D)

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

Moderators: ChrisHekman, aoktar

TheOracle
Licensed Customer
Posts: 71
Joined: Sat Jun 04, 2011 9:14 pm

Hi,

I need a shadow pass for an important project that i'm doing.
Somehow the shadow pass is not showing like in version 2.4.

I created an example scene to illustrate my problem and approach.
shadows_on_floor.jpg
I have:
* An object (floor) with an material set to matte
* An octane tag on the floor with layer ID set to 2
* In the rendersettings I anabled render layers, set it to 2 and anabled the shadows checkbiox.

In the render it remains white.
I guess i'm missing something?

There is a shadow in my scene (it shows when i disable render layers - see image)
shadows_are_there.jpg
Last edited by TheOracle on Sat Jun 25, 2016 11:10 am, edited 1 time in total.
Win 10 64 bit + Linux Ubuntu | Nvidia RTX 2080TI | AMD Ryzen Thredripper CPU 2970WX 24-Cores/48-Threads | Houdini - Cinema 4D - Maya - 3Dsmax
TheOracle
Licensed Customer
Posts: 71
Joined: Sat Jun 04, 2011 9:14 pm

Oh yes,

And I already do know about this post:
viewtopic.php?f=30&t=51998

Pointing to the 3 render passes tutorials (done in version 2.24)

However in his tutorials, when he enabled the black shadows of shadow pass, it did show the shadows, that's what i need now as well in V3.
When I enable black shadows in V3 it stays blank for some reason. I hope i'm doing something wrong.

(in his tutorial example)
black_shadows.jpg
Win 10 64 bit + Linux Ubuntu | Nvidia RTX 2080TI | AMD Ryzen Thredripper CPU 2970WX 24-Cores/48-Threads | Houdini - Cinema 4D - Maya - 3Dsmax
TheOracle
Licensed Customer
Posts: 71
Joined: Sat Jun 04, 2011 9:14 pm

Can anybody confirm of recreate the problem?

These effects as shown in the following tutorial (creating shadows with the render passes) seems not to work in V3 on my system
Is this a bug?

https://vimeo.com/119841910
https://vimeo.com/119848103
Win 10 64 bit + Linux Ubuntu | Nvidia RTX 2080TI | AMD Ryzen Thredripper CPU 2970WX 24-Cores/48-Threads | Houdini - Cinema 4D - Maya - 3Dsmax
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

TheOracle wrote:Can anybody confirm of recreate the problem?

These effects as shown in the following tutorial (creating shadows with the render passes) seems not to work in V3 on my system
Is this a bug?

https://vimeo.com/119841910
https://vimeo.com/119848103
It's working.
Attachments
1.rar
Sample
(92.53 KiB) Downloaded 186 times
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
TheOracle
Licensed Customer
Posts: 71
Joined: Sat Jun 04, 2011 9:14 pm

I thing I see where the miscommunication is taking place.

It does the following: (see image)
shadow_pass.jpg
Shadows are visible in there, but it's not a shadow pass.
(I'm using the definition we all got to learn with all previous render engines, Mental Ray, Vray, Maxwell, Arnold, Redshift etc)
A shadow pass would leave only the shadow.

In other words, even when i add a material to the plane (floor) and check "matte" in there
it leaves no pure shadows. That would be a great feature to add in the future if possible.
Win 10 64 bit + Linux Ubuntu | Nvidia RTX 2080TI | AMD Ryzen Thredripper CPU 2970WX 24-Cores/48-Threads | Houdini - Cinema 4D - Maya - 3Dsmax
FlowFireGames
Licensed Customer
Posts: 26
Joined: Mon Dec 28, 2015 10:33 pm

This looks like you have the wrong ID, the ground needs to be transparent, not your object
TheOracle
Licensed Customer
Posts: 71
Joined: Sat Jun 04, 2011 9:14 pm

Yes this was an image from the file I received above.
Like i said in my post, when i use the "matte" checkbox in the ground material, the shadows stop working alltogether.
Win 10 64 bit + Linux Ubuntu | Nvidia RTX 2080TI | AMD Ryzen Thredripper CPU 2970WX 24-Cores/48-Threads | Houdini - Cinema 4D - Maya - 3Dsmax
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

TheOracle wrote:Yes this was an image from the file I received above.
Like i said in my post, when i use the "matte" checkbox in the ground material, the shadows stop working alltogether.
why do you use matte and render layer together? I can't see any reason for purpose. If you use matte then use alpha channel.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
TheOracle
Licensed Customer
Posts: 71
Joined: Sat Jun 04, 2011 9:14 pm

Because compositors don't need extra data in the shadow pass. Only shadows.
no colors, no reflections etc. (otherwise it's not an shadow pass)
I did not yet find a way to do this in Octane. It could be that i'm missing something.

Like in the next example (image nr 6 on the left)
That's a shadow pass in most other engines.
render_channels.jpg
Win 10 64 bit + Linux Ubuntu | Nvidia RTX 2080TI | AMD Ryzen Thredripper CPU 2970WX 24-Cores/48-Threads | Houdini - Cinema 4D - Maya - 3Dsmax
TheOracle
Licensed Customer
Posts: 71
Joined: Sat Jun 04, 2011 9:14 pm

In Vray and Arnold they often reverse the black and white data in the shadow pass (or matte shadow pass as it is called in vray)

In Arnold:
arnold shadow catcher.jpg
In Vray:
vray _shadow matte.jpg
Win 10 64 bit + Linux Ubuntu | Nvidia RTX 2080TI | AMD Ryzen Thredripper CPU 2970WX 24-Cores/48-Threads | Houdini - Cinema 4D - Maya - 3Dsmax
Post Reply

Return to “Maxon Cinema 4D”