General Max3D Topic

Miscellaneous Forums/General Discussion/General Max3D Topic

I smell 87 commands of immense power nearly ready for scoffing...

InitMax3D(importer:Byte Ptr)
UseDegrees()
UseRadians()
RetainResource(obj%)
ReleaseResource(obj%)
BlackTexture%()
WhiteTexture%()
CreateTexture%(width%,height%,format%,flags%)
SetTexturePath(texture%,path$z)
SetTextureData(texture%,data:Byte Ptr)
Create3dTexture%(width%,height%,depth%,format%,flags%)
Set3dTextureData(texture%,data:Byte Ptr)
CreateCubeTexture%(size%,format%,flags%)
SetCubeTextureData(texture%,data:Byte Ptr)
CreateShader%(source$z)
CreateMaterial%()
SetMaterialFloat(material%,name$z,value#)
SetMaterialColor(material%,name$z,red#,green#,blue#)
SetMaterialTexture(material%,name$z,texture%)
CreateSurface%()
SetSurfaceShader(surface%,shader%)
SurfaceShader%(surface%)
SetSurfaceMaterial(surface%,material%)
SurfaceMaterial%(surface%)
AddSurfaceVertex(surface%,x#,y#,z#,s0#,t0#)
AddSurfaceTriangle(surface%,vertex0%,vertex1%,vertex2%)
DestroyEntity(entity%)
CopyEntity%(entity%)
ShowEntity(entity%)
HideEntity(entity%)
SetEntityParent(entity%,parent%)
SetEntityTranslation(entity%,x#,y#,z#)
SetEntityRotation(entity%,yaw#,pitch#,roll#)
SetEntityScale(entity%,x#,y#,z#)
MoveEntity(entity%,x#,y#,z#)
TurnEntity(entity%,yaw#,pitch#,roll#)
EntityX#(entity%)
EntityY#(entity%)
EntityZ#(entity%)
LoadModel%(path$z,collType%,mass#)
CreateModel%()
CreateSphere%(material%,radius#,collType%,mass#)
CreateCapsule%(material%,radius#,length#,collType%,mass#)
CreateCylinder%(material%,radius#,length#,collType%,mass#)
CreateBox%(material%,width#,height#,depth#,collType%,mass#)
AddModelSurface(model%,surface%)
UpdateModelNormals(model%)
UpdateModelTangents(model%)
ScaleModelTexCoords(model%,s_scale#,t_scale#)
ResetModelTransform(model%)
FlipModel(model%)
CreatePivot%()
CreateCamera%()
SetCameraViewport(camera%,x%,y%,width%,height%)
CreateSpotLight%()
CreatePointLight%()
CreateDistantLight%()
SetLightAngle(light%,angle#)
SetLightRange(light%,range#)
SetLightColor(light%,red#,green#,blue#)
SetLightTexture(light%,texture%)
SetLightShadowBufferSize(light%,size%)
CreateSprite%(material%)
CreateTerrain%(material%,xsize%,zsize%,width#,height#,depth#)
SetTerrainHeight(terrain%,height#,x%,z%)
CreateMirror%()
SetMirrorSize(mirror%,width#,height#)
SetMirrorResolution(mirror%,width%,height%)
CreateSphereBody(entity%,radius#,collType%,mass#)
CreateCapsuleBody(entity%,radius#,length#,collType%,mass#)
CreateCylinderBody(entity%,radius#,length#,collType%,mass#)
CreateBoxBody(entity%,width#,height#,depth#,collType%,mass#)
CreateSurfaceBody(entity%,surface%,collType%,mass#)
CreateModelBody(entity%,model%,collType%,mass#)
CreateTerrainBody(entity%,terrain%,collType%,mass#)
CreateBallJoint(entity%,body1%,body2%)
CreateAnimator(entity%)
SetAnimationKey(entity%,seq%,time#,keyEntity%,flags%)
SetAnimatorTime(entity%,seq%,time#)
EnableShadows()
DisableShadows()
EnableCollisions(collType1%,collType2%,friction#,bounciness#,stiffness#)
SetGravity(x#,y#,z#)
SetClearColor(r#,g#,b#)
SetAmbientColor(r#,g#,b#)
UpdateWorld()
RenderWorld()