Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question What can I do with Computer animation in Unity?

Discussion in 'General Graphics' started by ch070414, Nov 18, 2022.

  1. ch070414

    ch070414

    Joined:
    Jan 17, 2022
    Posts:
    11
    Recently I'm studying computer animation. I have read about one third of the book, and want to use what I've learned. In case of unity we can select which one to use between HDRP,URP .. etc. In case of URP, we don't programming. We choose the code block and connect them. Of course it is possible to manually write the shader file, but I'm wondering is their any area to utilize computer animation theory? I conducted the research and what I found was usually dealing with 3d animation for artist, not including any programming.
     
  2. NicBischoff

    NicBischoff

    Joined:
    Mar 19, 2014
    Posts:
    204
    Not sure what you are asking. You need to be very specific.
     
  3. jiaozi158

    jiaozi158

    Joined:
    May 24, 2020
    Posts:
    23
    Hi, if you are talking about making animations (videos) in Unity, I suggest checking the Virtual Production subforum.

    This means (bone) animations are done outside Unity.

    No matter what you are aiming at, I think Unity's Timeline is something you might need.
     
  4. ch070414

    ch070414

    Joined:
    Jan 17, 2022
    Posts:
    11
    No That's not what i'm talking about. Computer animation handles with the problem how to animate the object technically. I know how to use Unity Time line, but it is a tool to animate. I'm learning the theory how to animate the object. It includes interpolation in transformation(position, orientation , scale , etc).
     
  5. ch070414

    ch070414

    Joined:
    Jan 17, 2022
    Posts:
    11
    I'm learning the interpolation in transformation, and looking for the way to use this knowledge in programming.
     
  6. ch070414

    ch070414

    Joined:
    Jan 17, 2022
    Posts:
    11
     
  7. jiaozi158

    jiaozi158

    Joined:
    May 24, 2020
    Posts:
    23
    I think there're 2 ways to do procedure animations with visual scripting.

    1. CPU Animations, like changing the transform of an object according to some periodic functions. (Or bones)

    2. GPU Animations, like moving vertices in vertex shader using Shader Graph.

    Note: Shader Graph does not provide those nodes out of the box, I think you will need to add them with a custom function node (or lots of nodes packed into 1 subgraph)

    If you use interpolation, I think what you mean is CPU animations.

    In this case, you can try Unity's Visual Scripting to avoid actual coding. (Might be a bit messy when the logic becomes complex.)
     
    Last edited: Nov 19, 2022