Video questions

I'm trying to blend live action video with a background rendered in Carrara.  I want to find a way to use the live video (against a greenscreen) to cast shadows on the Carrara background.  I've gotten as far as having a plane in Carrara with the video as a texture with the greenscreen removed via the alpha channel.  Problem is, I can't figure out how to ONLY cast a shadow.  I don't want the video in the shot, just the shadow.

 

Any help?

Comments

  • HeadwaxHeadwax Posts: 9,987
    edited June 2017

    welcome back Kodiak3d

    :)

    pretty sure you could try putting an avi of the inverted alpha channel in a spotlight gel

     

    you could play with shadowcasting  shader mode as well but I don't think that would get you to the right place

     

    have a read of this if you strike problems https://www.daz3d.com/forums/discussion/37158/spotlight-gel-question

    Post edited by Headwax on
  • Kodiak3dKodiak3d Posts: 223

    Nice trick :-)  Thanks, Head Wax.  I'll have to play with it a little to get it exactly where I want it, but the effect works.  

    I love learning new stuff about Carrara. :-)

  • HeadwaxHeadwax Posts: 9,987

    pleasure, Carrara is a deep well full of good things :)

  • DesertDudeDesertDude Posts: 1,235
    edited June 2017

    This came to mind, probably not as elegant as head wax's method...but anyway:

    From your compositing app, output your green screen footage as a black and white (and nicely edge feathered grey) mask

    In Carrara, create a plane with the same dimensions/ratio as your footage. I made mine 640x480...or 6.40 ft x 4.80 ft in Carrara, then scaled appropriately

    Create a shader for your footage, set all to 'none'. In the Alpha Chanel, drop in your footage, set to Alpha Only, then copy that into the Glow Chanel.

    Whatever you are casting your shadow onto in Carrara, turn that shader into a Shadow Caster...I used a default Terrain.

    In the Assembly room, turn your Background to pure white.

    Adjust/Rotate your Light(s) to tatse and render.

    I wish I had a final render, but I was in such a hurry I closed the scene instead of rendering and I am in a total hurry and can't make a new one at the moment but it works and you should have a shadow only on a white background.

    Edit to say: maybe you don't need the Glow Chanel...will test later but I'm out the door. Bye for now

    chroma_key.jpg
    1163 x 516 - 94K
    shadow_catcher.jpg
    501 x 286 - 41K
    scene.jpg
    622 x 450 - 48K
    Post edited by DesertDude on
Sign In or Register to comment.