breve Documentation
version 1.9
Table of Contents
Preface
1.
The Origin of breve
2.
About This Documentation
3.
Getting Help With breve
4.
Thanks & Acknowledgments
1.
Introduction
1.1.
What is breve?
1.2.
Installing and Running the breve Application on Mac OS X
1.3.
Installing and Running Command-Line breve on Mac OS X, Linux and Windows
2.
"steve" Language Reference
2.1.
Hello, World
2.2.
A Simple Example
2.3.
The Controller Object
2.4.
Building Classes
2.5.
Types in "steve"
2.6.
Expressions
2.7.
Program Control Structures
2.8.
@-Directives
3.
Defining Basic Agents
3.1.
A Simple Mobile Agent
3.2.
Changing the Appearance of Agents
3.3.
Moving Agents Around the 3D World
3.4.
Scheduling Events for a Specific Time
4.
Interactions Between Agents
4.1.
Interacting With the Controller Object
4.2.
Triggering Events When Agents Collide
4.3.
Finding Neighboring Objects
4.4.
Finding the Closest Object
4.5.
Triggering Events Using Notifications
4.6.
Finding All Objects of a Given Type
4.7.
Testing Whether an Object Responds to a Method Call
4.8.
Testing the Type of an Object
5.
Physical Simulation
5.1.
When to Use Physical Simulation
5.2.
Writing Stable Physical Simulations
5.3.
The Components of Physically Simulated Bodies
5.4.
Dynamically Creating and Destroying Joints
5.5.
Using Terrains With Physical Simulation
6.
Graphics and Sound
6.1.
Lighting
6.2.
Shadows and Reflections
6.3.
Loading Image Files
6.4.
Displaying Objects as Bitmaps
6.5.
Texturing Objects
6.6.
Displaying Objects as "Lightmaps"
6.7.
Playing Sound Effects
6.8.
Sounds Included With breve
7.
Graphical User Interface
7.1.
The Simulation Menu and Contextual Menus
7.2.
Responding to Keyboard Events
7.3.
Displaying a Dialog Box
7.4.
Loading ".nib" Files for Customized Interfaces
8.
Saving Movies and Snapshots
8.1.
Saving Movies
8.2.
Saving Snapshots
9.
Archiving and Dearchiving Objects and Simulations
9.1.
Saving and Loading Individual Objects
9.2.
Saving and Loading the Entire State of a Simulation
10.
Networking
10.1.
Starting a Network Server
10.2.
Sending and Receiving breve Objects
10.3.
Using a Web-interface to a breve Simulation
11.
Plugins
11.1.
The Plugin API: Writing Plugins
11.2.
Building Plugins
11.3.
Archiving Plugin Data With The
data
Type
11.4.
Using Plugins in Simulations
I.
Appendix
A.
breve Class Documentation
Index
next >>
Preface