v 2.0 - what's new   Gallery   Manual   Tutorial   Downloads   Links  
     

  AnimationLab v 2.0  

  Tutorial - Samples - Buttons

Getting Started

Scenario recording

Creatures Modeling

Samples

 

    

 

Buttons sample

Description

This sample demonstrates the ability to move an object and work with lights. "Home" button is pressed and the light bulb next to the button is turned on.

Scenario

Actor: Home         // Button "Home"
1    5  Move 0 0 -0.2
6    6  Move 0 0   0.2
9    9  Move 0 0 -0.2
10 14 Move 0 0  0.2
15 15 Move 0 0 -0.2

Actor: H-point    // Point light source
6    6  LightSwitch 1
14 14 LightSwitch 0

Actor: H-spot     // Spot light source
6     6 LightSwitch 1
14 14 LightSwitch 0

 

 

 

Notes

Two lights are used to create the effect of the turned-on light bulb:
H-point - point light source provides highlighting of the objects in the scene by the light bulb
H-spot - spot light source is directed towards the light bulb; it creates a bright light spot

 

 

 

    
  Scroll To Start  AnimationLab Home Page    Contacts SoftDev SPb Home Page