* * *

Voting Booth

Voting Booth

Click image to go cast your vote,
 then go
===> NEW: 2020 voting thread!
to post it in the forum!

Award Info

    Votes Need --- Award

   10,000 -- Platinum Award
     5,000 --- Gold Award
     2,500 --- Silver Award
     1,000 --- Bronze Award
        300 --- Pewter Award
        100 --- Copper Award

2020 Voting Awards

Bronze Pewter

Featured Art



Weekly Winners

Click images to view

Elven girl near an oak © reserv888



Sadie's Invite © Aelin


Your Art
Mystical Dance © ArtByCajunBeauty



Weekly winners get:

3 prizes from Sponsors Showcase and

1 prize from Fantasies Realm Market

Sponsor ShowcaseFRM



We have many special projects and every now and then a Special Cause that requires your generous help.

There are times when we do a collection to help a member in need of assistance and all those proceeds go directly to that member.

All donations of what ever size are WELCOME.

Thank you.

Contest Information!


Monthly Competitions

Kythorn ~ The Time of Flowers ~ Deep Space ~ June 2020 Contest

Details Found HERE

Album Located HERE


Mirtul ~ The Melting ~ Beneath the Sea ~ May 2020 Contest

Winners Announced HERE 


Site Skins!

Welcome, Guest. Please login or register.
June 04, 2020, 05:53:53 PM

Login with username, password and session length

  • Total Posts: 332833
  • Total Topics: 17262
  • Online Today: 285
  • Online Ever: 545
  • (May 12, 2020, 06:45:00 AM)
Users Online

In the Seelie Court

Giveaway of the Day

Author Topic: Shadow Catcher by Bagginsbill  (Read 261 times)

0 Members and 1 Guest are viewing this topic.

Online DarkAngel

  • Queen of Confusion
  • Administrator
  • Reckoning Force
  • ***************
  • Posts: 14048
  • Madness abounds so don't make me eat you.
    • Fantasies Realm
Shadow Catcher by Bagginsbill
« on: March 23, 2019, 07:48:58 PM »
This is rather old but may still work for grabbing shadows then tinting them to work with your background image in Photoshop/PSP/what ever editing program you use. The following is instructions for using it -- from his site:

 Shadow Catcher
NOTE: I have been promising some people to upload this for ages. I postponed it because I did not have good documentation. I still don't. I need to make some screen shots and demo renders but I haven't had time. So I'm posting this with only textual instructions. I'll do a better job explaining things some day. :) Baggins.
NOTE: Jan 9, 2012 I added an updated shadow catcher specifically designed to work right in Poser 8+/PP2010+ where you want to use IDL. That is Shadow Catcher 2012-R.mt5 below. This new one is using refraction and is capable of very accurate shadow tinting.
A shadow catcher is a special material used on props to "catch" shadows from your 3D lighting.

It is useful when you are trying to compose a photo on the Poser background, or a one-sided square, or an environment sphere with some 3D objects in a scene, directly within Poser, not in postwork. In order to make the characters and props seem like they're really part of the scene, you want their shadows to fall on the "ground" of the background image. But the geometry of the background object doesn't permit these shadows to fall at the right angles.

Also, a photograph of real life has shadows that are still "lit" by the ambient lighting. Other non-shadowed areas are lit by the ambient lighting as well as the direct lighting. For example, outdoors, if sunlight falls on the street it is gray, but if there is a shadow, there's a blue tint to the shadow because of the ambient light from the sky.

So this shadow catcher allows you to "tint" the shadows to match the photograph.

The material works by examining the incoming light to the surface. If it is above a certain threshold brightness, the material is completely transparent. Below this threshold the material becomes progressively opaque. Thus it darkens your view of the photo behind it. This is what produces the shadow. How much it darkens the photo is adjustable. In order to control this, you must "calibrate" the shadow catcher. This is so it knows what your 3D lighting is producing. The actual color of the shadow will be determined by nodes that you can adjust. Using the Poser color picker, you can "pick" the lit and shadow colors out of your photo, and drop them right into the material. Once you have calibrated the shadow catcher by identifying your 3D lit color, your 3D shadow color, your photo lit color, and your photo shadow color, then the shadow catcher will be able to correctly map almost any color in the scene to the corresponding color in the photo.

To use the shadow catcher, first you must choose which one you want. There are three versions:

ShadowCatcher-D operates on the principles of direct lighting - the shadows produced by infinite, spot, and point lights, i.e. the shadows produced by your Poser lights.

ShadowCatcher-AO operates on the principles of ambient occlusion - the shadows produced by taking into account ambient light being blocked in all directions by nearby objects, not just light coming from a particular light.

ShadowCatcher-DAO does both.

If you are using an IBL without AO, choose one of the AO versions to perform the AO calculation in the material. If you already have AO on your IBL use the D version, since the AO effect will already be produced by your Poser light.

Having chosen which to use, you must load it on a prop. You can load it on the Poser ground plane if you like. However, there are a couple reasons not to do that. One is that the entire ground plane will be involved in the calculation and it is often possible to speed things up by using something smaller, like a one-sided square. The other disadvantage of the ground plane is you cannot tilt it. If you have a need to make the shadow angles correspond to a sloped or curved ground surface, you want to use some other prop.

Whatever prop you choose for your shadow catcher, simply load the desired shadow catcher material on it.

Now you must calibrate it.

Select your shadow catcher prop and go into the material room. Load the desired shadow catcher material. Make sure you're in Advanced mode so you can see the material nodes. On the left side are the key controls for the shadow catcher.

The first control is the "Calibrate" node. This should be set to 1 initially. When Calibrate=1, the material renders completely opaque - no transparency. It renders as if it is a solid white surface. Once you have your lighting set up as you like, do a render with shadows enabled.

The shadow catcher prop will show what is produced by your lighting in directly lit areas as well as shadowed areas. Make sure you arrange your windows so that you have the shadow catcher material nodes on the left visible, as well as your render. The render doesn't have to be big or high quality. It just needs to show some lit areas and shadow areas.

Now click on the "Calibrate Lit" node Color value. This activates the Poser color picker. Click on your render in a spot where the prop is fully lit. This will copy that value into the material. It now knows what "fully lit" is for your scene.

Now click on the "Calibrate Shadow" node Color value. This actives the Poser color picker again. Click on your render in a spot where the prop is fully in shadow. This will copy that value into the material. It now knows what "fully shadowed" is for you scene.

Now set Calibrate Value_1 = 0 and render again. The shadow catcher should activate and darken the areas of your photo that are behind any part of the shadow catcher that is in shadow.

The shadows probably don't match at this point. You can now teach the material what colors should be produced.

Still with your scene on the screen, click on the Lit Color node, activating the color picker, and then click on the render on part of the scene ground that is fully lit. Now your material knows what "fully lit" is for your photo.

Finally, click on the Shadow Color node, activating the color picker, and click on the render on part of the scene ground that is fully in shadow. Now your material knows what "fully shadowed" is for your photo.

Render again. The results should be closer to the photo.

You may have to try sampling the photo colors a couple times. Try to find two spots very near each other that are lit and shadowed. You're trying to find colors that are actually the same ground color, but showing differently only because of lighting.

If you pick two spots that in real life were different colors to begin with, the calculations will be messed up. For example, if you clicked on a lit area of grass, and a shadowed area of dirt, this is not useful information as those colors are different even when lit the same.

Sometimes you have a photo where the ground is so noisy with different colors all over the place it's impossible to find the same color twice even when you click in the same area. In such cases, it can be helpful to load the photo into an image editor and blur the heck out of it. Calibrate your shadow catcher by sampling the blurred image instead of the original. This will smooth out the colors in the photo, allowing you to get more consistent results.

This is his url for the above info and zips: download links at bottom of the page

He has many other items listed to the left side of the page too.
Fear not,
You are never alone,
I am there to comfort and guide you...

Offline RodS

  • A.S.S.O. (Attic Special Security Officer)
  • Ranking poster
  • *******
  • Posts: 2568
  • Wizard of Weird...
    • Rod's Lair
Re: Shadow Catcher by Bagginsbill
« Reply #1 on: March 23, 2019, 09:07:44 PM »

Thanks, Aelin! I have a bunch of BB's stuff, but I missed this one.. More experimenting - wheeee!

I wonder if he's still around the 3D world - haven't heard anything from him in years. I know he used to be on the Poser development team..

If you wanted to know about shaders, he was the man.

If all is not lost, why can't I find it??  :thud:

Offline Aelin

  • Great Priestess of the corridors
  • Administrator
  • Reckoning Force
  • ***************
  • Posts: 35176
  • archaeologist-cheerleader of Attic
Re: Shadow Catcher by Bagginsbill
« Reply #2 on: March 24, 2019, 03:01:14 PM »
Thanks, Aelin! I have a bunch of BB's stuff, but I missed this one.. More experimenting - wheeee!

I wonder if he's still around the 3D world - haven't heard anything from him in years. I know he used to be on the Poser development team..

If you wanted to know about shaders, he was the man.

:tearlaugh: It's more thank you Mary than me.

I always haven't understood how to use his matmatic or parmatic thing, I don't remember the one of two :lostme:

Online thelufias

  • The Sane One
  • Administrator
  • Reckoning Force
  • ***************
  • Posts: 78425
  • Straight Jackets are FREE
    • The Fantasy Attic
Re: Shadow Catcher by Bagginsbill
« Reply #3 on: March 25, 2019, 12:05:45 PM »
I grabbed all the stuff in there a couple of years ago....and I even put the items in their own folder LOLOL.....
We Shall Stand



Click image to go to Daz to read all about the program.

Daz Studio--Free