1 / 9

Lahti International Week 2006

Lahti International Week 2006. Introduction to X3D Lesson 2: Animating your models. 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?.

brede
Download Presentation

Lahti International Week 2006

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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 Route node AudioClip 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 Material Route Node Route Node ColorInterpolator

  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

More Related