Easing functions questions [SOLVED]

  • #1, by red363Monday, 11. July 2022, 03:26 A year ago
    Hi!

    Can you please tell me if it is possible to disable the "easing function" if I want to enlarge a part of the scene, rotate an object, etc.?

    Where I just wrote "none":
    shaderViewport(50, 945-19, 265-11, 0, 7000, none)

    Thanks

    Forum Fan

    101 Posts


  • #2, by esmeraldaMonday, 11. July 2022, 12:11 A year ago
    just leave it empty or use the linear easing (easeLinearIn)
    there is even easeNoneIn, that should wait for the time set as delay and then jump to the designated scale.
    (and of course these easing exist as ...Out and ...InOut like any other easing)

    Key Killer

    508 Posts

  • #3, by red363Monday, 11. July 2022, 17:49 A year ago
    just leave it empty or use the linear easing (easeLinearIn)
    there is even easeNoneIn, that should wait for the time set as delay and then jump to the designated scale.
    (and of course these easing exist as ...Out and ...InOut like any other easing)
    Thanks for the answer.
    Maybe I don't fully understand something...

    If I leave it empty, nothing happens.
    If I use "easeNoneIn" the increase is instantaneous, without a smooth fade.
    If I use "easeLinearIn" - the increase occurs along a curve, but I just don't need it.

    I need to have the usual smooth increase over a given period of time to the desired size without deflecting the camera trajectory in the process.

    Forum Fan

    101 Posts

  • #4, by afrlmeMonday, 11. July 2022, 20:22 A year ago
    easeLinearInOut is the default one, which should be a straight line from point A to point B without any curving. If you want the start to have the same curve as the end then you need to include InOut at the end of the easing type.

    Also what you are saying is not making a lot of sense to me, so I'm probably misunderstanding what it is you are trying to do.

    Imperator

    7278 Posts

  • #5, by red363Monday, 11. July 2022, 21:19 A year ago
    Thanks everyone, I think I figured out what the problem was. Found the answer here:

    https://www.visionaire-studio.net/forum/thread/shaderviewpor...

    Forum Fan

    101 Posts