Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lahti International Week 2006 Introduction to X3D Lesson 2: Animating your models.

Similar presentations


Presentation on theme: "Lahti International Week 2006 Introduction to X3D Lesson 2: Animating your models."— Presentation transcript:

1 Lahti International Week 2006 Introduction to X3D Lesson 2: Animating your models

2 Adding sound to your scene “Sound” Node –location of the sound General background sounds – wind, animals Localised sounds – engine, Currently not working! “AudioClip” Node Sound file Continuous?

3 Route node – TouchSensor node AudioClip node Route node

4 “Click” to start a sound AudioClip DEF=“TheSound” url=“……” TouchSensor DEF =“TS” ROUTE fromNode="TS“ fromField="touchTime" toNode=“TheSound" toField="set_startTime"

5 TimeSensor node Parameters: DEF: “TS” name for the sensor cycleInterval : 5 5 second cycle loop: true set to loop stopTime: -1 don’t stop Also: startTime: 10 time to start the cycle.

6 ColorInterpolator node Parameters DEF: “CI” name of node key: 0, 0.5, 1 fractions of time cycle key_value: 1 0 0, colour at time 0 1 1 0, colour at time 0.5 1 0 0 colour at time 1

7 Routing for changing colour TimeSensor ColorInterpolator Material Route Node

8 Other interpolators PositionInterpolator Specify X Y Z for each key time Orientation Interpolator Specify rotation angles for each key time. Scalar Interpolator Change any single value

9 Summary That completes the lesson on animation in X3d. We have had time to look only at some of the more common nodes in X3d Please email your best animation to: P.I.Wilson@wlv.ac.uk


Download ppt "Lahti International Week 2006 Introduction to X3D Lesson 2: Animating your models."

Similar presentations


Ads by Google