Compared to models, a scene can contain exactly the same type of elements, but additionally also includes following elements, specific to scenes:

  • The environment
  • The main script
  • Pages and views
  • A scene or scene image content can be seen through a viewable object associated with a view, itself contained in a page. When creating a new scene ([Menu bar --> File --> New Scene]), the default scene will contain following elements:

  • Several camera objects: cameras allow to see the scene if they are associated with a view.
  • Several light objects: without a light the scene would be hardly visible. The light is used to illuminate the scene.
  • Several views: a view is associated with a camera and displays what the camera sees. Views are contained in pages.
  • Several pages: a page contains one or several views.
  • The environment: the environment is composed by properties as ambient light, fog, background color, etc.
  • The floor: the floor is made-up by objects grouped in a model.
  • The default main script: the default main script should allow running minimal simulations, without the need of child scripts. A child script copied into the scene at a later stage will then also be automatically executed (called by the main script) if it is associated with a scene object.
  • Scenes can be opened (loaded) with [Menu bar --> File --> Open Scene...] and saved with [Menu bar --> File --> Save Scene] or [Menu Bar --> File --> Save Scene as...]. Scene files ("*.ttt"-files) also support drag and drop operations between the explorer window and the application window. Scene files can also be double-clicked, in which case they will launch the CoppeliaSim application and be opened.

    Switching between opened scene can be achieved with a single click in the upper part of the scene hierarchy (all opened scenes are grouped at the top of the scene hierarchy), or by using the scene selector via its related toolbar button:

    [Scene selector toolbar button]

    [Scene selector]

    Recommended topics

  • Related API functions
  • Models
  • The environment
  • The main script
  • Pages and views