Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
display_and_animate_3d_objects [2015/11/17 03:01] herrsteiner created |
display_and_animate_3d_objects [2015/11/20 03:01] (current) herrsteiner |
||
|---|---|---|---|
| Line 18: | Line 18: | ||
| sets the opacity of the background. 3D scenes can be made to have no background so that they float over the commandline interface. Number is a float between 0. and 100.. | sets the opacity of the background. 3D scenes can be made to have no background so that they float over the commandline interface. Number is a float between 0. and 100.. | ||
| - | **scene //int//** | + | **loadModel //filename sceneID// |
| - | switches through the preprogrammed | + | loads a .obj along with its material / texture in the scene with the given ID. Both parameters are strings |
| + | |||
| + | |||
| + | **scene //sceneID//** | ||
| + | switches through the 3D scenes. | ||
| + | |||
| + | **removeScene // | ||
| + | removes the scene | ||
| **posX //float//** | **posX //float//** | ||
| Line 26: | Line 33: | ||
| **posY //float//** | **posY //float//** | ||
| positions the 3D scene vertically, the screen is usually covered from -20. to 20.. | positions the 3D scene vertically, the screen is usually covered from -20. to 20.. | ||
| + | |||
| + | **posZ //float//** | ||
| + | positions the 3D scene on the depth axe, the screen is usually covered from -20. to 20., the result is for now close to the scale | ||
| **scale //float//** | **scale //float//** | ||
| Line 38: | Line 48: | ||
| **rotationZ // | **rotationZ // | ||
| rotates the 3D scene around the z axe. Number is a float between 0. and 360 | rotates the 3D scene around the z axe. Number is a float between 0. and 360 | ||
| - | |||