No option to keep the Main Camera active

Slate Forums Support No option to keep the Main Camera active

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1203
    Breaking Fourth
    Participant

    There may be some circumstances where we want a Slate cutscene to control everything *except* the camera, so in these circumstances we’d like the Main Camera’s active state to be unchanged. Unfortunately, there doesn’t seem to be an option to control this without modifying code. Perhaps this should be rolled into the “Auto Handle Active State” setting?

    #1205
    coverpage
    Participant

    I’m not in front of my PC but I have you tried disabling or removing the director camera in SLATE timeline editor. This should allow you to use your own main camera as the director camera is never active.

    #1206
    Breaking Fourth
    Participant

    You mean, disable or remove the “* Director” group? That would mean sacrificing other action clip types that have only been implemented as DirectorActionClips, such as “Raise Unity Event”.

    Maybe we could disable the Director’s Camera track, but another use-case that’s just sprung to mind – what if we wanted to use a Slate cutscene to drive a Render-To-Texture camera? For instance, to render a cutscene to an in-world screen? In that situation, we’d want to keep the Main Camera active and just give the Render Camera a target texture. Disabling or removing the Camera track would make the cutscene render nothing.

    #1208
    coverpage
    Participant

    True, it’s a simple change to DirectorCamera.cs

    Of course the camera depth needs to be higher for the main camera.

    Not sure if it’ll break other user’s project so we might want to add it as a separate checkbox.

    #1218
    Gavalakis
    Keymaster

    Hello guys,

    If you don’t want a cutscene to affect your active camera at all (thus keeping your current camera active), you can simply -like you said- disable the Camera Track, or even delete it completely.

    As for still rendering the cutscene for the purposes of render to texture only but retain your current camera active, I can certainly add such an option in the next version if you find it useful. This will require a few minor changes across DirectorCamera code.
    Just let me know if you want such an option/feature! 🙂

    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

    #1226
    coverpage
    Participant

    Yes a checkbox for “Don’t disable Main Camera upon start” will value-add in my opinion. It will be more transparent, we know what’s happening at all times, the cutscene doesn’t do anything to active gameobjects.

    Then we can use it as a timeline editor rather than a cutscene editor easier. The director camera is still usable, just switch cams whenever you want.

    #1227
    Gavalakis
    Keymaster

    Thanks for the further input.
    I will probably add such or a similar option in the next version. I want to avoid adding a lot of options there though, so maybe I will streamline the existing options into fewer ones based on the cases a Slate Cutscene can be used.

    Thanks 🙂

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.