1 / 37

Camera Command Set Reference

A comprehensive reference guide to the camera commands in DarkBasic language, presented by Mindless Thinking Games. Includes commands for setting camera position, angles, movement, and more.

manzanares
Download Presentation

Camera Command Set Reference

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Camera Command Set Reference Presented by Mindless Thinking Games Don Olmstead Olga Sayenko Dmitry Svistula Source: DarkBasic Language Reference Source: DarkBasic Language Reference

  2. AUTOCAM ON Declaration: AUTOCAM ON Parameters: None Activates the auto camera that will reposition the camera when a new object is added. Returns Nothing

  3. AUTOCAM OFF Declaration: AUTOCAM OFF Parameters: None Disables the auto camera. Returns Nothing

  4. BACKDROP ON Declaration: BACKDROP ON Camera Number Parameters: Camera Number—the camera number Activates a 3D backdrop that fills the visible screen. Returns Nothing

  5. BACKDROP OFF Declaration: BACKDROP OFF Camera Number Parameters: Camera Number—the camera number Disables a 3D backdrop that fills the visible screen. Returns Nothing

  6. CLEAR CAMERA VIEW Declaration: CLEAR CAMERA VIEW [Camera Number], Color Value Parameters: Camera Number—optional camera number Color Value—color applied to the camera view for clearing Clears the viewport of the camera. Returns Nothing

  7. CAMERA POSITION X Declaration: CAMERA POSITION X([Camera Number]) Parameters: Camera Number—the camera number Returns the real value X position of the camera in 3D space. Returns Float#

  8. CAMERA POSITION Y Declaration: CAMERA POSITION Y([Camera Number]) Parameters: Camera Number—the camera number Returns the real value Y position of the camera in 3D space. Returns Float#

  9. CAMERA POSITION Z Declaration: CAMERA POSITION Z([Camera Number]) Parameters: Camera Number—the camera number Returns the real value Z position of the camera in 3D space. Returns Float#

  10. CAMERA ANGLE X Declaration: CAMERA ANGLE X([Camera Number]) Parameters: Camera Number—the camera number Returns the real value X angle of the camera. Returns Float#

  11. CAMERA ANGLE Y Declaration: CAMERA ANGLE Y([Camera Number]) Parameters: Camera Number—the camera number Returns the real value Y angle of the camera. Returns Float#

  12. CAMERA ANGLE Z Declaration: CAMERA ANGLE Z([Camera Number]) Parameters: Camera Number—the camera number Returns the real value Z angle of the camera. Returns Float#

  13. COLOR BACKDROP Declaration: COLOR BACKDROP [Camera Number], Color Value Parameters: Camera Number—the camera number Color Value—the color applied to the background Colors the 3D backdrop in the specified color. Returns Nothing

  14. CONTROL CAMERA USING ARROWKEYS Declaration: CONTROL CAMERA USING ARROWKEYS [Camera Number], Move Speed, Turn Speed Parameters: Camera Number—optional camera number Move Speed—speed of up and down arrows Turn Speed—speed of left and right arrows Monitors the arrow keys and moves the camera based on their activity. Returns Nothing

  15. DELETE CAMERA Declaration: DELETE CAMERA Camera Number Parameters: Camera Number—the camera number Deletes a current camera from the scene. Returns Nothing

  16. MOVE CAMERA Declaration: MOVE CAMERA [Camera Number], Distance Value Parameters: Camera Number—optional camera number Distance Value—amount of distance to move the camera (can be negative) Moves the camera in the direction it is facing. Returns Nothing

  17. MAKE CAMERA Declaration: MAKE CAMERA Camera Number Parameters: Camera Number—the camera number Creates a new camera for the 3D scene. Returns Nothing

  18. PITCH CAMERA UP Declaration: PITCH CAMERA UP [Camera Number], Angle Value Parameters: Camera Number — optional camera number Angle Value — number of degrees to change the camera’s view Pitches the camera upward. Returns Nothing

  19. PITCH CAMERA DOWN Declaration: PITCH CAMERA DOWN [Camera Number], Angle Value Parameters: Camera Number—optional camera number Angle Value—number of degrees to change the camera’s view Pitches the camera downward. Returns Nothing

  20. POINT CAMERA Declaration: POINT CAMERA [Camera Number], X, Y, Z Parameters: Camera Number—the camera number X—the X-axis point Y—the Y-axis point Z—the Z-axis point Points the camera to a point in 3D space. Returns Nothing

  21. POSITION CAMERA Declaration: POSITION CAMERA [Camera Number], X, Y, Z Parameters: Camera Number—the camera number X—the X-axis point Y—the Y-axis point Z—the Z-axis point Positions the camera in 3D space. Returns Nothing

  22. ROLL CAMERA LEFT Declaration: ROLL CAMERA LEFT [Camera Number], Angle Value Parameters: Camera Number—optional camera number Angle Value—the number of degrees to roll the camera Rolls the camera left. Returns Nothing

  23. ROLL CAMERA RIGHT Declaration: ROLL CAMERA RIGHT [Camera Number], Angle Value Parameters: Camera Number—optional camera number Angle Value—the number of degrees to roll the camera Rolls the camera right. Returns Nothing

  24. SET CAMERA FOV Declaration: SET CAMERA FOV [Camera Number], FOV-Angle Parameters: Camera Number—optional camera number FOV-Angle—the field of view angle Sets the field of view for the camera given an angle value. Returns Nothing

  25. ROTATE CAMERA Declaration: ROTATE CAMERA [Camera Number], X, Y, Z Parameters: Camera Number—optional camera number X—the X-axis point Y—the Y-axis point Z—the Z-axis point Rotates the camera around its X, Y, and Z axes. Returns Nothing

  26. SET CAMERA RANGE Declaration: SET CAMERA RANGE [Camera Number], Near Value, Far Value Parameters: Camera Number—optional camera number Near Value—the range for close-up object detail Far Value—the range for far-off object detail Sets the viewing range of the camera. Returns Nothing

  27. SET CAMERA VIEW Declaration: SET CAMERA VIEW [Camera Number], Left, Top, Right, Bottom Parameters: Camera Number—optional camera number Left—the left edge of the camera’s view Top—the top edge of the camera’s view Right—the right edge of the camera’s view Bottom—the bottom edge of the camera’s view Sets the view port of the camera. Returns Nothing

  28. SET CAMERA ROTATION XYZ Declaration: SET CAMERA ROTATION XYZ [Camera Number] Parameters: Camera Number—optional camera number Reverses the camera rotation order. Returns Nothing

  29. SET CAMERA TO OBJECT ORIENTATION Declaration: SET CAMERA TO OBJECT ORIENTATION [Camera Number], Object Number Parameters: Camera Number—optional camera number Object Number—the 3D object toward which to orient the camera Sets the camera to the same direction as the specified 3D object. Returns Nothing

  30. SCROLL BACKDROP Declaration: SCROLL BACKDROP [Camera Number], X, Y Parameters: Camera Number—optional camera number X—the horizontal scroll value Y—the vertical scroll value Scrolls the 3D backdrop using the specified X and Y scroll values. Returns Nothing

  31. SET CURRENT CAMERA Declaration: SET CURRENT CAMERA [Camera Number] Parameters: Camera Number—optional camera number Selects the current active camera. Returns Nothing

  32. TURN CAMERA LEFT Declaration: TURN CAMERA LEFT [Camera Number], Angle Value Parameters: Camera Number—optional camera number Angle Value—number of degrees to turn the camera Turns the camera left. Returns Nothing

  33. TURN CAMERA RIGHT Declaration: TURN CAMERA RIGHT [Camera Number], Angle Value Parameters: Camera Number—optional camera number Angle Value—number of degrees to turn the camera Turns the camera right. Returns Nothing

  34. TEXTURE BACKDROP Declaration: TEXTURE BACKDROP [Camera Number], Image Number Parameters: Camera Number—optional camera number Image Number—the source image Textures the 3D backdrop using the specified image value. Returns Nothing

  35. XROTATE CAMERA Declaration: XROTATE CAMERA Camera Number, Xangle Parameters: Camera Number—the camera number XAngle—the horizontal angle Rotates the camera around its X axis. Returns Nothing

  36. YROTATE CAMERA Declaration: YROTATE CAMERA [Camera Number], Yangle Parameters: Camera Number—optional camera number YAngle—the vertical angle Rotates the camera around its Y axis. Returns Nothing

  37. ZROTATE CAMERA Declaration: ZROTATE CAMERA [Camera Number], Zangle Parameters: Camera Number—optional camera number ZAngle—the depth angle Rotates the camera around its Z axis. Returns Nothing

More Related