The test scene is used to inspect an object with a high degree of detail. You can move and rotate it any way you want.
- open test-scene/examples/js/mesa.js
- copy the object creating functions to the designated area
- in your object creating function, after the line with scene.add( $object ), add control.attach( $object )
- call the object creating function in the designated area of the init() function
- run test-scene/examples/index.html
Key | Action |
---|---|
left | rotate the chair anti-clockwise |
right | rotate the chair clockwise |
up | move the chair forward |
down | move the chair forward |
1 | switch to front camera |
2 | switch to side camera |
3 | switch to top camera |
a | toggle wireframe on/off |
e | toggle scene axis helper on/off |