| Description: Implements support for Cameras exported from 3dsMax. The original Max camera is exported as a node that retains the name, position and rotation of the camera. The node has a child node: B3DEXT_CAMERA that controls the camera's FOV. This node is also used to identify the parent as a Camera. |
| EXT_Camera |
| Field description: camera = blitz camera handle linkFOV = field of view controller nextCamera.EXT_Camera = next in linked list |
| EXT_SetRenderCam(camera) |
| Description: Many B3d Extensions need an active camera to work with (e.g. EXT_Environment, EXT_Billboard,...) Use EXT_SetRenderCam(camera) to set the camera used by these extensions. |
| Parameters: camera |
| Return value: None |
| EXT_UpdateRenderCam() |
| Description: Updates environment setting on render cam |
| Return value: None |
| EXT_InitCamera(ext.EXT_Entity,node) |
| Description: Makes a new EXT_Camera controller, and inserts it into the list of camera controllers owned by the EXT_Entity. This also creates a Blitz camera that corresponds to the original 3dsMax camera. |
| Parameters: ext.EXT_Entity = owner node = camera fov node |
| Return value: None |
| EXT_UpdateCamera(cam.EXT_Camera) |
| Description: Update the specified EXT_Camera |
| Parameters: cam.EXT_Camera |
| Return value: None |
| EXT_NumCameras(ext.EXT_Entity) |
| Description: Counts the number of EXT_Cameras owned by an EXT_Entity |
| Parameters: ext.EXT_Entity = owner |
| Return value: number of EXT_Cameras |
| EXT_DeleteCameras(ext.EXT_Entity) |
| Description: Deletes all EXT_Camera controllers owned by an EXT_Entity NOTE: this doesn't delete the blitz camera entities |
| Parameters: ext.EXT_Entity = owner |
| Return value: None |
| EXT_DeleteAllCameras() |
| Description: Deletes all EXT_Camera controllers owned by an EXT_Entity |
| Return value: None |
on 17 Feb 2004.