Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

FramesSequence Animated Textures (FBX)

  • Last UpdatedApr 28, 2023
  • 2 minute read

Sequence of timed frames

The script indicates which frames to load, in what order, and with what duration.

The simplest declaration consists of setting the fFPS parameter first and then specifying the list of frames to be loaded via a series of Frame = txt_num.bmp.

You can also specify the duration of each single frame via Frame = txt_num.bmp 0.2 (where 0.2 are the seconds of duration of this frame).

Code example

This is a code example for FramesSequence Animated Textures.

$_Example_Erba

{

szType = FramesSequence

fFPS = 10

Frame = "Erba_Frame_0.tga" Frame = "Erba_Frame_1.tga" Frame = "Erba_Frame_2.tga"}

$_Example_Cartellone

{

szType = FramesSequence

fFPS = 10

Frame = "Cartellone01.png" Frame = "Cartellone02.png" Frame = "Cartellone03.png" Frame = "Cartellone04.png" 2

}

$Crazy

{

szType = FramesSequence

fFPS = 3

Frame = "Boh01.png" Frame = "Boh02.png" Frame = "Boh03.png" 3

fFPS = 10

Frame = "Boh02.png" Frame = "Boh01.png"}

Tags

$TextureID

  • Instead of $ TextureID put the name that will have the animated texture inside the engine and the exporter.

szType

  • szType = FramesSequence

  • This is the kind of animated texture to create.

Parameters

bLoop

  • Indicates the default loop mode.

  • Default: True

  • Range: True or False

bStart

  • Indicates if, by default, the animation starts immediately after creation or if it must be launched later.

  • Default: True

  • Range: True or False

fFPS

  • Indicates the duration that the frames declared after this parameter have.

  • The duration of the following frames is 1 / fFPS.

  • Default: 25.f

  • Range: [0..inf]

Frame = TxtName

  • The name of the frame to load.

  • The duration of the frame is calculated based on the last parameter fFPS read.

  • Example: Frame = Erba_Frame_0.png

Frame = TxtName Length

  • The name of the frame to load and its duration in seconds.

  • Example: Frame = Erba_Frame_0.png 0.2

In This Topic
TitleResults for “How to create a CRG?”Also Available in