Assets and Animations
Last updated
Was this helpful?
Last updated
Was this helpful?
This section presents examples of how in terms of assets and animations.
The first example is a 3D scene consisting of 3 identical bottles whose 3D representation file is available on an online repository.
The scene and assets can be according to the .
Similarly, the example can be instantiated in a JSON file
The example can be visualized in by importing the JSON file example_1.json
(with command 'Import Scene') or after ?inputscene=
(the JSON file must be available on a ).
The second example is a 3D scene consisting of 3 workstations and 3 trolleys whose 3D representation file is available on a server.
The third example is based on Example 2 with the addition of an animation of the camera.
This example can be animated based on the proposed with the addition of . File defines the animation for one asset (bottle.1
) using an animation sequence defined in .
If an animation file is not and then automatically loaded, the animation can be manually loaded by importing the JSON file example_1_anim.json
(with command Import Animation
) and the sequence bottle_fall.txt
(with command Import Anim Sequence
).
The scene and assets can be according to the .
Similarly, the example can be instantiated in a JSON file
The example can be visualized in by importing the JSON file example_2.json
(with command 'Import Scene') or loading .
If an animation file is not and then automatically loaded, the animation can be manually loaded by importing the JSON file that defines the animation of three assets (Trolley.1, Trolley.2, Trolley.3
) using an additive animation sequence defined in
This example can be visualized in by loading .