Light animation

This page uses ToyMobile sample data to describe settings made when applying an animation to a light under CreativeStudio.

Loading sample data

An animation is created for the light diffuse color and transform of the sample data being used.

The transform animation being configured is used by exporting an animation created using the 3D CG tool.

Note: For information on exporting animations, see the Plug-in Manual provided separately.

Loading Models and Effects

Load the sample data by selecting File > Open > Intermediate file on the CreativeStudio menu

Intermediate files Location
Rocket and stars model " %NW4C_ROOT%/SampleData/Graphics/Intermediate/ManualResource/TutorialToyMobile/ToyMobile.cres "
Fire and smoke effects " %NW4C_ROOT%/SampleData/Graphics/Intermediate/ManualResource/TutorialToyMobile/ToyMobileEffect.cres "

Loading particle links (action)

Load the data by selecting File > Open > Particle link on the CreativeStudio menu

Intermediate files Location
Particle link data " %NW4C_ROOT%/SampleData/Graphics/Intermediate/ManualResource/TutorialToyMobile/ToyMobileAction.cact "
Light animation image

Caution:
The flame effect will not track the rocket just by loading the particle link (action) as described above.
To make the flame track the rocket, see Linking Particles and 3D Models

When the sample model animation is played, a yellow light strikes the moon along with the engine exhaust.

Editing the Animation

This section describes the procedure for changing the light color using the CurveEditor panel.

On the main menu, select Window > CurveEditor to open the CurveEditor panel.

Selecting the light displayed in the Contents panel displays the associated curve in the CurveEditor panel.

Figure 1 RGB Curves Set for the Diffuse Color of the Light for ToyMobile

Light Animation Curve

Diffuse color settings for the Toy_Mobile light are given below.

Frame Axes to be animated Description of Curve Description of Setting
0 ~ 6 R The curve for the R color component is created so that it approaches 0.4 between Frame 0 and Frame 6. Since the G and B color components vary, the diffuse color of the light is animated from black to dark yellow.
G The curve for the G color component is created so that it approaches 0 between Frame 0 and Frame 6.
B The B color component is 0 until Frame 200.
6 ~ 102 R There is no change to the curve during this period. The diffuse color of the light remains dark yellow.
G There is no change to the curve during this period.
B The B color component is 0 until Frame 200.
102 ~ 111 R The curve for the R color component is created so that it approaches 0 between Frame 102 and Frame 111. Since the G and B color components change to 0 from Frame 0 to Frame 6, the diffuse color of the light is animated in reverse from dark yellow to black.
G The curve for the G color component is created so that it approaches 0 between Frame 102 and Frame 111.
B The B color component is 0 until Frame 200.
111 ~ 200 R There is no change to the curve during this period. The diffuse color of the light remains black.
G There is no change to the curve during this period.
B The B color component is 0 until Frame 200.

In this section, we take a look at editing the diffuse color of the light for ToyMobile.

The key values in Frame 6 and Frame 102 for the G color component of the diffuse color on the CurveEditor panel vary from 0.4 to 0.2.

Light Animation Curve

When the diffuse color is edited and the animation played, you can confirm that the light striking the moon varies from dark yellow to orange.

After light animation color change

CONFIDENTIAL