3D Graphics ReferencePoint Suite

Point 4: Using JavaScript to Create Effects

Ryan Moore

The Adobe Atmosphere builder enables you to attach JavaScript files to three-dimensional (3D) worlds. You can add simple and complex effects to your world using JavaScript. Adobe provides an Atmosphere Application Programming Interface (API) to create JavaScripts for use within Atmosphere worlds.

This ReferencePoint explains how to attach a JavaScript file to a world or to a specific object within a world. It provides a brief overview of the Adobe Atmosphere API and explains how to add effects, such as sound, fog, and animation using the Atmosphere API. In addition, it explains how to embed the Atmosphere browser plug-in in a Web page.

Introducing the Atmosphere API

The worlds you create using the Atmosphere builder are applications. The JavaScript Atmosphere API is a specification that defines the methods and functions to programmatically control the applications using the Atmosphere builder. The application is downloaded and run from the computer when accessed by an end user.

Note

To learn more about worlds and objects within the world, see the Introducing Adobe Atmosphere ReferencePoint.

JavaScript enables you to control the behavior and appearance of objects in your world by:

  • Loading and placing objects within the world

  • Animating the position and orientation of objects within the world

  • Rendering effects such as fog, glare, and sound

  • Applying physical properties such as mass and friction to objects

The JavaScript API consists of objects and functions. You can use these objects and functions to control your world.

Note

While the objects available in the JavaScript...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Content Management Software
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.