Main


Description:
------------------------------------------------------------------------------------------------
B3d Extensions Library
B3d Pipeline v0.6
------------------------------------------------------------------------------------------------

B3d Extensions allow you to export more scene data from Max than is
currently supported in the .b3d file format. The B3d Pipeline exporter
uses a combination of naming conventions and dummy nodes to encode extra
data in a .b3d file. The B3d Pipeline documentation includes a detailed
description of how extensions are saved in a b3d file.

The B3d Extensions Library decodes this information and recreates the
original scene data. The library also builds and maintains "controllers" to
animate the extensions.

Conventions:

  • All library functions and global variables have the prefix: EXT_
  • Global variables should be treated as private; avoid accessing them directly.
Workflow:

An EXT_Entity contains all the B3d Extensions in an entity's hierarchy.

EXT_LoadEntity() loads a b3d file and returns an EXT_Entity.
EXT_UpdateEntity() updates all the B3d Extensions in an EXT_Entity.
EXT_UpdateAll() updates all EXT_Entity objects.

RenderCam:

Many extensions need a camera to work with (e.g. Billboards, Environment, etc.)
These functions use the concept of an active RenderCam. You can set the
render cam with EXT_SetRenderCam(camera).

------------------------------------------------------------------------------------------------


Summary
EXT_Entity
EXT_LoadEntity.EXT_Entity(file$,parent=0)
EXT_InitEntity.EXT_Entity(entity)
EXT_UpdateEntity(ext.EXT_Entity)
EXT_DeleteEntity(ext.EXT_Entity)
EXT_EnumNodes(ext.EXT_Entity,node)
EXT_ParseNode(ext.EXT_Entity,node)
EXT_ParseTag(node,tag$)
EXT_ParseNum#(node)


EXT_Entity
Description:
------------------------------------------------------------------------------------------------
Field description:
root = Blitz entity handle
animBrush.EXT_AnimBrush = Controls animated brushes
animMap.EXT_AnimMap = Controls animated maps
autoHide.EXT_AutoHide = Controls hide/show at near/far ranges
billboard.EXT_Billboard = Controls entity facing to the active cam
camera.EXT_Camera = Controls cameras
light.EXT_Light = Controls lights
linkPos.EXT_LinkPos = Links position to render camera
linkRot.EXT_LinkRot = Links rotation to render camera
occlude.EXT_Occlude = Controls hide/show based on occlusion
subAnim.EXT_SubAnim = Controls sub-anims
visibility.EXT_Visibility = Controls entity alpha
environment.EXT_Environment = Controls environment settings


EXT_LoadEntity(file$,[parent=0])
Description:
------------------------------------------------------------------------------------------------
Parameters:
file$
parent [Default value = 0]
Return value:
-


EXT_InitEntity(entity)
Description:
------------------------------------------------------------------------------------------------
Parameters:
entity
Return value:
-


EXT_UpdateEntity(ext.EXT_Entity)
Description:
------------------------------------------------------------------------------------------------
Parameters:
ext.EXT_Entity
Return value:
None


EXT_DeleteEntity(ext.EXT_Entity)
Description:
------------------------------------------------------------------------------------------------
Parameters:
ext.EXT_Entity
Return value:
None


EXT_EnumNodes(ext.EXT_Entity,node)
Description:
------------------------------------------------------------------------------------------------
Parameters:
ext.EXT_Entity
node
Return value:
None


EXT_ParseNode(ext.EXT_Entity,node)
Description:
------------------------------------------------------------------------------------------------
Parameters:
ext.EXT_Entity
node
Return value:
None


EXT_ParseTag(node,tag$)
Description:
------------------------------------------------------------------------------------------------
Parameters:
node
tag$
Return value:
-


EXT_ParseNum(node)
Description:
------------------------------------------------------------------------------------------------
Parameters:
node
Return value:
-



Documentation generated by Cod2Doc on 17 Feb 2004.