PDA

View Full Version : Casting Shadows using HDRI


joeycampbell
05-17-2012, 09:50 AM
Hi - I have tracked some background footage and rotoscoped out the foreground objects.
I've done some test renders using default lighting & basic 3d objects and I'm happy with my tracking and rotoscoping.
I'm ready to comp in my 3D assets in C4D.

1:
I have a hdri panoramic image shot with the same lens as my footage (tokina 11-16) and taken in the same location.
I'm trying to position the hdri image within C4D so as it lines up with the first frame of my video plate. This is proving difficult and the objects in my hdri image appear to be further away than the objects in my video plate scene. Do they both have to sync up perfectly at the start or is it just a matter of getting them roughly aligned ?

2:
My second question relates to adding in shadows.
Anything I've worked on to date with matchmoving & HDR I would have added in some virtual lights to cast shadows onto a ground plane with a shadow catcher material.
Any of the posts I've checked on this topic they all seem to be 4-5 years old. They all say that its too difficult to base the shadows in your scene from the hdri light and even if you do manage to get it working the results are not great. is this still the case - is the best way to add virtual shadows to 'fake it' positioning basic 3d lights or is there a conventional method currently being used ?

Even though I'm using C4D I would have no problem switching to Max or Maya to harness the shadows from my hdri light if it was a straight forward process.

Any suggestions or advice would be great.

lllab
05-18-2012, 06:05 PM
i think no need to switch to max or maya:-)
c4d can do this certainly. the new v13 is already quite better if you have it, and/or if you add V-Ray as engine which is also available in c4d direct, you can have superb sharp shadows, caustics and all from hdri images (exactly like a real area light, via the vray dome light)

stefan

georgedrakakis
05-24-2012, 06:06 AM
1:
I have a hdri panoramic image shot with the same lens as my footage (tokina 11-16) and taken in the same location.
I'm trying to position the hdri image within C4D so as it lines up with the first frame of my video plate. This is proving difficult and the objects in my hdri image appear to be further away than the objects in my video plate scene. Do they both have to sync up perfectly at the start or is it just a matter of getting them roughly aligned ?

2:
My second question relates to adding in shadows.
Anything I've worked on to date with matchmoving & HDR I would have added in some virtual lights to cast shadows onto a ground plane with a shadow catcher material.
Any of the posts I've checked on this topic they all seem to be 4-5 years old. They all say that its too difficult to base the shadows in your scene from the hdri light and even if you do manage to get it working the results are not great. is this still the case - is the best way to add virtual shadows to 'fake it' positioning basic 3d lights or is there a conventional method currently being used ?

Even though I'm using C4D I would have no problem switching to Max or Maya to harness the shadows from my hdri light if it was a straight forward process.

Any suggestions or advice would be great.

hi,
i assume that you are a using a spherical panorama shoot of the location.
i am not aware if the latest release of cinema4d supports spherical camera projection,
but it's doable in Thea render (i think Vray does also).
If you want 3d assets to intergrate in correct scale, then you have to Camera Map the panorama.
Since you shoot it yourself, it's easier to estimate the distance of each 3d object.

Catching Hdri sharp shadows shouldn't be a problem, unless you are using a low-res blurred Hdri.

regards,
george

grrinc
05-25-2012, 10:58 PM
I'm unsure of what you have asked for regarding shadow catching, but this tutorial and free download has been extremely useful to me......

http://www.vfxdaily.com/tutorial-05-c4d-multi-pass-renderingcompositing-and-shadow-catching/

CGTalk Moderation
05-25-2012, 10:58 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.