Skip to content

SRT Animations


What you need

Important info

For better results please use a seamless texture and do the following.

  • Go to your model > Materials and select your material.
  • Select the texture.
  • Change Wrap X and Wrap Y from Mirror to Wrap.

image

Difference between Mirror and Wrap

Mirror repeats the texture by reflecting it:

image

Wrap repeats the texture:

image

Translate Texture Animations

  • Scrolls horizontally from left to right (Right to left if it's reversed).
  • Scrolls vertically Up (Down if it's reversed).

Translate Animation Generator

Model

Scale Texture Animations

  • A higher value means the texture will get smaller.
  • A smaller value means the texture will get bigger.
  • A negative value will flip the texture.
  • Scale X affects the texture horizontally.
  • Scale Y affects the texture vertically.

The following animation file will shrink the texure 1/4 of it's original size after 5 seconds, then it will grow back to normal.

LoungeVR_auto.yaml
Name: LoungeVR
Path: null
Loop: true
FrameCount: 600
MaterialAnimConfigs:
  - Name: m_00
    TexturePatternInfos: []
    ParamInfos:
    - Name: tex_mtx0
      IsConstant: true
      Constants:
      - Offset: Mode
        Value: 0
        CurveData:
        - KeyFrames:
            0: 1
            300: 2
            600: 1
            Offset: Scale Y
        - KeyFrames:
            0: 1
            300: 2
            600: 1
            Offset: Scale X

Rotate Texture Animations

This animation will rotate the texture around the center of the UV Mapping.

Rotate Animation Generator

Model

Themes using these animations

Importing Animations

After generating your animation file(s).

  • Open your model file (LoungeVR.szs, LoungeFloor.szs) with Switch Toolbox.
  • Right click the Animations folder.
  • Select Import -> Texture SRT Animation.
  • Open the animation file(s) you previously generated.

Make sure the name of the exported animation ends in _auto or the animation will not work!

Multiple Animation files

  • You can have multiple animation files for the same material, make sure that additional animations end numbered sequentially the following way: _auto, _auto.1, _auto.2, _auto.3... and so on.
    • This is useful in case you want to have animations that loop at different times.

Success

Your custom animation has been added and you can now test it StyleMiiU.