CINEVERSITY

    Maxon Logo
    • Login
    • Search
    • Recent
    • Popular
    • Users
    • Groups

    Camera tracking Background and Shadows?

    Question & Answers
    2
    7
    114
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Capprim last edited by

      Morning Dr.Sassi! I'm working with a basic camera tracking scene. Things have changed as I don't see the Background object.I'm new with Redshift! How do I see a test render of the 3D object with the footage background? Besides, how do I have the shadows in the alpha channel with some transparency?
      I can't enclose the scene as it is too large. Is just a clip of 15 seconds walking on a road, taken with an iphone, and stopping in front of a clear space in the road, where a 3D cube will be. Very basic. Thanks for your help!

      1 Reply Last reply Reply Quote
      • Dr. Sassi
        Dr. Sassi last edited by

        Good Morning, and Happy Sunday, Capprim,

        This seems like a simple question, but it is typically the content of a ten-part series. I try to keep it short... šŸ˜‰

        I might share more than you need, as I'm not familiar with your background or that of anyone reading along.

        Please keep in mind that the iPhone has a lot of things going on between lens and file. It is not always a "simple" case with iPhones.

        Not always the best idea. Besides, that tiny lens might have more "options" to have an axial shift than a full frame lens, a logical thing based on the size.

        Camera tracking runs along a lens distortion workflow. Here, the trouble begins when trying to do it completely in Cinema 4D. Tracking works with the original footage while using a lens distortion file. Which needs to be from the iPhone you have used, with the lens that you had set up. Any external data is useless.
        The footage for the background needs to be rendered with that distortion first.

        Why is that? Because background footage is done in post, not in the rendering, for various reasons, light-wrap, for example, keeping the original footage untouched. Consider that a lens distortion "fix" is applied to the footage; each pixel is moved, most likely in a nonpixel distance, meaning it gets mixed with the neighbors. Which results in you degrading a 4K pristine footage to a simple SD footage. Hence, the renderings, which are typically available in any resolution, will be adapted to match the original footage, not the other way around.

        To see the result of the background, the footage needs to be undistorted, like the tracker used with the lens distortion grid, but already back in for the background. Again, this destroys the quality. I mention that even many photographers I'm aware of apply lens distortion fixes as if that were without penalty. Therefore, the suggestion to use undistorted footage for the background is for testing purposes only, and any other use is highly questionable.

        The footage for the RS-Camera needs to be an image sequence, not a QuickTime file (such as an MP4 or other container format).

        In the Render Settings, you will find Redshift. In Advanced mode, the AOV (Arbitrary Output Variables) section contains an AOV named Shadow. This gives you the option to define the Shadow in a composition. There are numerous questionable ideas about this on the web, such as inverting and applying it via multiplication. This is not the best way to do it. The idea to have back for no shadows means zero for that area, and anything in the Shadow is above zero to one. This can be applied to a process, even to simple tasks like a Level or Curve adjustment. Here, you can match them comfortably in terms of the density and color of a shadow. Typically, a shadow is not black, except the blacks are crunched. We are in the era of HDR video, which means a huge number of values defining the blacks to achieve a larger dynamic range, not only with extremely bright content. For me, the real quality in HDR lies in the darker areas, specifically in color fidelity. Black shadows are super rare.

        If the tracking was done in Standard render, the camera might not match the needs of Redshift. Place an RS camera below the Standard camera and zero out pos and rot while the Scale is 1. Check the focal length and the Sensor size.

        All steps are done, as usual, with the current version (2025.2), as I do not answer from memory; things change, and outdated information from the past can cost you time, if not longer.

        In any case, for comfortable compositing of all elements, explore the Red Giant Super Comp.

        Enjoy

        Dr. Sassi Sassmannshausen Ph.D.
        Senior Trainer, Maxon Master Trainer, L&D - Strategist
        Cinema 4D mentor since 2004, Member of VES, DCS.

        1 Reply Last reply Reply Quote
        • C
          Capprim last edited by Dr. Sassi

          Hi DrSassi! I already did the tracking and is ok. I used to do in past versions. However I’m new to redshift, so I need to check some frames how the 3D object looks on the background first, and how to render the shadow. Redshift seems to have changed many things

          1 Reply Last reply Reply Quote
          • Dr. Sassi
            Dr. Sassi last edited by

            Yes, Capprim,

            As mentioned, I overshare here, as we are in a forum. You said you are working with tracking, but if I just imagine that you do all these steps, I might miss some, so I feel like sharing these details. Lens distortion workflow is something that comes to mind here. Without mentioning it, things might go wrong in many ways.

            The "background" has changed and is now inside the Camera.

            Please note that the problem with the background is that you need to have the Render settings exactly as the footage resolution. There is an option called "Fit", but that doesn't automatically produce a Pixel to Pixel match.

            You render a shadow with an object that resembles the floor, and that object needs an RS Render Tag placed on it.

            See, here I made the assumption that you know about setting shadow, and now I am uncertain about it. My mistake.

            All the best

            Dr. Sassi Sassmannshausen Ph.D.
            Senior Trainer, Maxon Master Trainer, L&D - Strategist
            Cinema 4D mentor since 2004, Member of VES, DCS.

            1 Reply Last reply Reply Quote
            • C
              Capprim last edited by

              Hi Dr.Sassi! Thanks for your reply. I never compose the footage with 3D in C4D, that has to be made in Davinci, Motion, AE, Nuke, etc But I like to have a rough quick view in C4D I'm sorry to make you write. The problem with text is that the interface of C4D, and ways to do things, change a lot, so it's difficult to find the tool in the right menu. And C4D has infinite menus. It will be good if you point me to a tutorial. There are too many and with different opinions, so at the end you waste a lot of time in youtube until you find the right one. And may be outdated! Regards

              1 Reply Last reply Reply Quote
              • Dr. Sassi
                Dr. Sassi last edited by

                Hi Capprim,

                Yes, things change, hence why I recreate as much as possible when I get a question. Answering from memory has shown over the past two decades that it doesn't work.

                I have searched for a video that fits your scope of questions, but nothing for Cinema 4D that I found is clearer than the documentation.
                https://help.maxon.net/c4d/2025/en-us/Default.htm#html/ORSCAMERA-RSCAMERAOBJECT_GROUP_BACKGROUND.html#RSCAMERAOBJECT_BACKGROUND_TYPE

                I can't find a question about the background object in any "Ask The Trainer", nor is there an entry here:
                https://cineversity.forums.maxon.net/category/3/tutorial-suggestions
                Please feel free to express your needs.

                My best wishes.

                Dr. Sassi Sassmannshausen Ph.D.
                Senior Trainer, Maxon Master Trainer, L&D - Strategist
                Cinema 4D mentor since 2004, Member of VES, DCS.

                1 Reply Last reply Reply Quote
                • C
                  Capprim last edited by Capprim

                  Hi Dr.Sassi! What do you think of this tutorial? That's what I plan to do with a footage very similar
                  https://www.youtube.com/watch?v=K0uD1BpwVHE Is there something missing?

                  1 Reply Last reply Reply Quote
                  • First post
                    Last post