Shadow pass technique explanation

Forums: Shadow pass technique explanation
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

Shadow pass technique explanation

Postby LanceClayton » Mon Jul 17, 2017 1:15 pm

LanceClayton Mon Jul 17, 2017 1:15 pm
Hi

I'm having a difficult time getting the shadow pass technique worked out within Octane/C4D.

When I render a full image from cinema my shadow is appropriately balanced (darker at back), but when I render the shadow pass and try to composite it appears that the front/back shadows in the shadow pass have almost similar darkness, with the front being perhaps even more dominant.

ShadowsReference2.jpg


I used this tutorial as guidance:

https://www.youtube.com/watch?v=mST_-dmZYHc

Could someone more experienced take a look and try to guide me on the process for getting a decent shadow pass that is in line with appears when the whole scene is rendered out in full.

Project file and reference image attached. Thanks
Attachments
ShadowPass.c4d.zip
(660.52 KiB) Downloaded 96 times
LanceClayton
Licensed Customer
Licensed Customer
 
Posts: 19
Joined: Wed May 31, 2017 3:45 am

Re: Shadow pass technique explanation

Postby niestudio » Mon Jul 17, 2017 2:56 pm

niestudio Mon Jul 17, 2017 2:56 pm
The shadow you're compositing is rendered from a flat surface, not from the grass.
When you disable the grass and render a shadow on a flat surface, Octane cannot take the grass into account when creating your shadow therefore it looks different that what you see in the live viewer.

Watch the inlifethrill series on vimeo, but specifically this one https://vimeo.com/119848103
Attachments
grass_shadow.jpg
OSX 10.12.4 | Intel 12 core @ 3.33 ghz | 128 gb ram | NVIDIA GeForce GTX 1080TI | Ubuntu Linux slave with 3x 1080ti
niestudio
Licensed Customer
Licensed Customer
 
Posts: 265
Joined: Fri Aug 21, 2015 10:03 pm

Re: Shadow pass technique explanation

Postby LanceClayton » Mon Jul 17, 2017 8:56 pm

LanceClayton Mon Jul 17, 2017 8:56 pm
Thanks for the quick reply.

The trouble with the scene is that the grass just takes really really really long to render on my machine.

Do you have any thoughts on how to speed up the render of the grass? I've already dropped the count as low as it can viably go and reduced the hair segments too.]]


Alternatively, is there a workflow that you could suggest to achieve breaking the grass and the shadow into separate passes so that the grass is only rendered once then simply used as a pre-rendered backplate as new assets and shadows are composited on top to visually look the same as rendering out in full without passes?

Thanks a tonne.
LanceClayton
Licensed Customer
Licensed Customer
 
Posts: 19
Joined: Wed May 31, 2017 3:45 am

Re: Shadow pass technique explanation

Postby LanceClayton » Mon Jul 17, 2017 9:05 pm

LanceClayton Mon Jul 17, 2017 9:05 pm
Maybe I could try rendering out the grass Shadow Pass will a lower hair count so that it's close to what it would have been but takes lets time to render because of lower hair count?...
LanceClayton
Licensed Customer
Licensed Customer
 
Posts: 19
Joined: Wed May 31, 2017 3:45 am

Re: Shadow pass technique explanation

Postby niestudio » Mon Jul 17, 2017 9:14 pm

niestudio Mon Jul 17, 2017 9:14 pm
could you create a secondary patch of grass that is the full blade count, but is just big enough to catch your shadow?
OSX 10.12.4 | Intel 12 core @ 3.33 ghz | 128 gb ram | NVIDIA GeForce GTX 1080TI | Ubuntu Linux slave with 3x 1080ti
niestudio
Licensed Customer
Licensed Customer
 
Posts: 265
Joined: Fri Aug 21, 2015 10:03 pm

Re: Shadow pass technique explanation

Postby TonyBoy » Mon Jul 17, 2017 10:19 pm

TonyBoy Mon Jul 17, 2017 10:19 pm
Also, it appears to have two light sources which accounts for the fact that the shadow next to the object is darker because it's lit from two directions and the overlap shows darker. How much video RAM do you have?
TonyBoy
Licensed Customer
Licensed Customer
 
Posts: 238
Joined: Thu Dec 13, 2012 4:47 pm

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: No registered users and 11 guests

Thu Mar 28, 2024 2:17 pm [ UTC ]