Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
display_and_animate_3d_objects [2015/11/17 03:01]
herrsteiner created
display_and_animate_3d_objects [2015/11/20 03:00]
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 3D scenes.+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. The sceneID is a string, if no scene for that ID is found, no object will be displayed 
 + 
 +**removeScene //sceneID//** 
 +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 //0.-360.//** **rotationZ //0.-360.//**
 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
-