openspace.debugging
Functions overview
Name |
Documentation |
---|---|
Adds a set of Cartesian axes to the scene graph node identified by the first string, to illustrate its local coordinate system |
|
Removes the rendered control points |
|
Removes the currently rendered camera path if there is one |
|
Render the current camera path from the path navigation system |
|
Render the control points for the camera path spline as spheres |
Functions
addCartesianAxes
Adds a set of Cartesian axes to the scene graph node identified by the first string, to illustrate its local coordinate system. The second (optional) argument is a scale value, in meters.
nodeIdentifier
String
scale
Number?
Return type: void
openspace.debugging.addCartesianAxes(nodeIdentifier, scale)
removePathControlPoints
Removes the rendered control points.
Return type: void
openspace.debugging.removePathControlPoints()
removeRenderedCameraPath
Removes the currently rendered camera path if there is one.
Return type: void
openspace.debugging.removeRenderedCameraPath()
renderCameraPath
Render the current camera path from the path navigation system. The first optional argument is the number of samples to take along the path (defaults to 100). If a second optional argument is included and set to true, a line indicating the camera view direction along the path will also be rendered. This can be useful when debugging camera orientations. Finally, the third optional argument can be used to set the length (in meter) of the view direction lines.
nSteps
Integer?
- Default value:100
renderDirections
Boolean?
- Default value:false
directionLineLength
Number?
- Default value:6e7
Return type: void
openspace.debugging.renderCameraPath(nSteps, renderDirections, directionLineLength)
renderPathControlPoints
Render the control points for the camera path spline as spheres. The optional argument can be used to set the radius of the created spheres.
radius
Number?
- Default value:2000000.0
Return type: void
openspace.debugging.renderPathControlPoints(radius)