Chaos Corona Forum
Chaos Corona for Cinema 4D => [C4D] I need help! => Topic started by: edoardo_explorer on 2024-05-11, 17:51:47
-
Hello!
I'm working on an interior scene: I have to add some furniture on an photograph of a palace room.
So the plan was to model just the furniture and use Corona Shadow Catcher to project the shadows on the photograph.
I built the room and applied the Shadow Catcher material used as backplate, added a Sky and a Sun, but the geometry of the room doesn't affect the shadows.
I supposed that if a material has SC material doesnt' project shadows, so I tried to duplicate the room and add a compositing but the situation doesn't change.
How can i fix it?
There is other ways to render just the furniture and the shadows?
I read that shadows channel just let you lighten the shadows.
Thanks
-
Did you find a way to do it? If so, please share.
Not sure if there is a “right” way to do it, but I also roughly build the room and apply SC mat.
For lighting I use, basically the extreme old skool way of lighting a room - area light in front of windows. Corona lights with SC illuminator ticked on.
Agreed, that can’t be the right way, but it kinda works if you have highly diffused light.
Would be cool if the corona team can offer some help.
-
Hi Jojorender,
I asked to the Corona Help Center.
They fixed my file applying SC material to floor and walls and removing it from the ceiling so it can ben considered for GI.
The problem, I think, is that there is no way to avoid overall lighting/shadowing to an entire with shadows.
Attached their test image.
I think the only way is to render the furniture without using SC and then mask them with mask ID in photoshop, and manually add shadows and reflections on the floor.
But I don't know if there is a way to export just shadows and reflections ready to use.
I thought to render the room in white and put it in multiply but, again, there will be an overall shadowing on the entire floor!
Thanks
-
… render the furniture without using SC and then mask them with mask ID in photoshop, and manually add shadows and reflections on the floor.
But I don't know if there is a way to export just shadows and reflections ready to use.
What a nightmare. Can you imagine any revisions and then constantly photoshopping previews…NO, THANK YOU!
I tried shadow multipass, but I can’t get anything useful.
So they used sun and sky to light this scene? Is the red circled part a shadow from the new chair or already in the original image?
What are all these ghosty layers green circled? If this is what they got out of the VFB, it still needs a ton of photoshop.
While exterior shadow catch works OK, the interior part….well, could be better.
Virtual staging is pretty big in the nyc real estate market and you see a few good examples but a lot more horrible, generic light images that should not exists.
I guess most virtual stagers don’t use corona or found some workarounds.
-
Yes, they used sun and sky I put in the scene to simulate the real light coming through the windows in the photo.
The red circled part is shadow from the new armchair (because floor and walls are SC, only the ceiling is an object without SC) and the green circled are areas where the new shadows from the ceiling ovelaps the existing shadows of the photo.
So basically shadows of the room are doubled. But this time shadows of the ceiling only.
I really don't know how virtual stagers can do it easily!
A way could be use a 360° hdri of the space, give the SC to the entire model, so the room should not be affected by the light and the armchair is light correctly.
But if you don't have a 360° I don't know if it's possible
-
A way could be use a 360° hdri of the space, give the SC to the entire model, so the room should not be affected by the light and the armchair is light correctly.
Not sure I understand what you mean. Wouldn’t that be the same as sun & sky?
The 360 just for lighting, since you still need the room geo to catch the shadow on floor, walls, etc..
Anyways, all requests I’ve ever gotten for virtual staging had all regular 2D images…
-
I thought that 360 provide the same light of the room geometry (maybe because it emits only where should be the windows??) and the entire room, with a SC material, just catches shadows and don't generate GI.
Anyway Corona support stop answering me.
Maybe there's no solution 😅
-
Not sure what you mean by stopped answering you - was there a ticket number, where you are not receiving any replies? Thanks!
-
Have you thought about applying the background photo onto your CGI model of the room using a corona material with frontal projection? If the camera is setup so your CGI model matches the room in the photo, and you recreate light placements as in the photo, i can only imagine you will get a decent result. I tend to only use shadow catcher materials on ground planes for product visualisations on white backgrounds or where I know the shadows won't cast onto walls and furniture in a room.
-
Another tip is to use a disc object centered under the chair, but large enough to cover any shadows. Apply the Shadow Catcher material to that abject. In this way, it avoid adding any extra shadows around the room as using the entire floor would do. I have also added an Opacity Map to the SC to further limit and soften the shadows should they creep too far from the disc object.
You can also render so that your chair is output with the shadow all in one file (See attachment. You'll have to download it to see). If you have several shots set up in that same angle, you can just drop that file onto the other images and it will be ready to go. You can slide the chair a bit along the wall after the render. Same process could be added to the wall near the chair so there is a shadow behind the chair. Yes, I realize this isn't a super flexible solution, but easier to deal with one piece.
One limitation is that the shadows that are captured do not show any geometry bumps that may be present in the floor, just smooth shadow which may or may not be a problem.
-
in the old days, Ambient occlusion sufficed, and most of the time still does ;)
-
Have you thought about applying the background photo onto your CGI model of the room using a corona material with frontal projection? If the camera is setup so your CGI model matches the room in the photo, and you recreate light placements as in the photo, i can only imagine you will get a decent result. I tend to only use shadow catcher materials on ground planes for product visualisations on white backgrounds or where I know the shadows won't cast onto walls and furniture in a room.
Hi CambridgeCreative,
I think that in this way the walls create anyway a shadow on the floor and walls that already exists in the original photo/material.
Yep, shadow catcher works well with open spaces and product visualisations
-
Not sure what you mean by stopped answering you - was there a ticket number, where you are not receiving any replies? Thanks!
Hi TomG, no he didn't stop answering me.
He was trying different solutions, he came back to me with some alternatives!
-
Another tip is to use a disc object centered under the chair, but large enough to cover any shadows. Apply the Shadow Catcher material to that abject. In this way, it avoid adding any extra shadows around the room as using the entire floor would do. I have also added an Opacity Map to the SC to further limit and soften the shadows should they creep too far from the disc object.
You can also render so that your chair is output with the shadow all in one file (See attachment. You'll have to download it to see). If you have several shots set up in that same angle, you can just drop that file onto the other images and it will be ready to go. You can slide the chair a bit along the wall after the render. Same process could be added to the wall near the chair so there is a shadow behind the chair. Yes, I realize this isn't a super flexible solution, but easier to deal with one piece.
One limitation is that the shadows that are captured do not show any geometry bumps that may be present in the floor, just smooth shadow which may or may not be a problem.
Hi BigAl3D,
yes use a disc object could be a solution to reduce the visible shadows, but in my case I think that the shadows of wall will be seen anyway.
I was trying to achieve the same result of the car you attached. How did you do it? Is it a set (curved floor+wall) with a Shadow catcher material?
But my doubt was to obtain masked furniture+shadow but with a light coherent with the light of the room.
Maybe a simple area light from the left?
-
in the old days, Ambient occlusion sufficed, and most of the time still does ;)
Hi burnin,
I'm not sure I understood!
I mean, I can do it in photoshop, with a brush to simulate shadows, but for complex scene I think it's a little tricky.
-
Thank you for all you responses.
Fortunately jojorender gave me the correct name of the process "virtual staging" and I found a useful tutorial on youtube (www.youtube.com/watch?v=YSwU0eF6euM&ab_channel=SoloTraceur).
Apparentely using a Corona light material with the background image applied to a Corona Sky in frontal projection is the solution.
I added a couple of area light to simulate the sun and it's working.
Floor and walls have two SC materials, matte and reflective.
Attached a wip.
-
Thanks for the link, that room modeling with image projection is pretty cool.
Since you can’t really use a corona sun, it’s still not clear how to recreate direct sun light with a corona “area” light. Is cranking up the directionality the only way?
Just as example, how would you recreate the light to hit your furniture in the attached image?
-
I made some tests and actually you can use a Corona Sun because it works with a geometry with shadow catcher material.
The problem is just with the sky, and the only solution is to use the Cinema/Corona Light material.
I don't know why!
-
Thanks for your test.
I thought the whole point is, that the shadows created by C-sun and or C-sky are not realistic when you build the room, leave an opening for light to enter and apply SC mat to wall floor and ceiling. See attachment. That shadow never changes regardless of what you use.
Just like your first post said, even when you make an “outer shell” with regular material that should just block the sun and/or sky light, it’s ignored and the shadow catcher receives full sun light.
My question is exactly for these “edge cases”, how to correctly light a scene where part of the furniture is in direct sun light and part in diffused bouncy light.
Did you ever get a better answer from the corona team?
-
Hi Corona team,
What is the right approach to lighting a “interior shadow catcher scene” to mimic direct sunlight entering a room? See above for context…
I was looking around the max forum to maybe find some clues…
https://forum.corona-renderer.com/index.php?topic=28846.msg168169#msg168169
Just make a copy of object with ordinal material and change properties to not see in render but cast shadows
This does not work in C4D.
-
Thanks for your test.
I thought the whole point is, that the shadows created by C-sun and or C-sky are not realistic when you build the room, leave an opening for light to enter and apply SC mat to wall floor and ceiling. See attachment. That shadow never changes regardless of what you use.
Just like your first post said, even when you make an “outer shell” with regular material that should just block the sun and/or sky light, it’s ignored and the shadow catcher receives full sun light.
My question is exactly for these “edge cases”, how to correctly light a scene where part of the furniture is in direct sun light and part in diffused bouncy light.
Did you ever get a better answer from the corona team?
Hi jojorender, yes you're right neither C-sun is realistic, but better than C-sky.
As you said a solution could be to use area lights with directionality.
I showed the yuoutube tutorial to Corona support team and they said that it's actually a clever solution and a technique used in film industry for matte painting creation. 😅
This is the best I have gotten!
-
Thanks edoardo_explorer,
changing the corona light "directionality" to imitate sun light doesn't really work for me. Doesn’t look realistic at all.
Maru, is this the wrong place to ask for help?
Do I need to open a support ticket for this? If so, is there someone in the support team that knows how lighting interior shadow catcher in C4D works?
-
Nothing?