Engine 0149
From VRwiki
This engine introduces the new CVmCamera class and add new mathematics functions.
[edit]
What's new
- Added several mathematical functions dealing with matrices, quaternions, angles conversions (see documentation for details)
- Added CameraGetCurrent returning a CvmCamera object
- Added CameraLinkToListener
- Addes VarStringEncode, VarStringDecode
- openGl support:
- Added glVertexAttrib implementation
- Added glGetError implementation
- CVmCamera:
- Added the CVmCamera class and methods
- CVmVRAWAV:
- Added Seek method
- CVmAvatar:
- Added hide/unhide flag for IK goals in the IKStart method
- Added GetFrames, ForceSkinSubsetMaterial, ForceSkinMaterial methods
- Added Normalize method
- CVmBillboard:
- Added SetTexture method
- CVmCharacter:
- Added SetPivotPoint, GetPivotPoint methods
- CVmFbo:
- Added InitMultiSampling and EnableMultisampling methods
- CVmLight:
- Added GetDirection method
- CVmObj:
- Added LinkToWav method
- CVmShaderProgram:
- Added GetAttributeIndex method
- CvmText:
- Added support to non ANSI charsets in the CVmText constructor
- CVmNewMesh:
- Added Append method
- Added support to subdivisions in VRP_PLANE procedural meshes
- Addes support to XVID compressed video textures
- AAM files now start with a line indicating the type (meshes, characters, avatars etc.)
- CAM files now start with a line indicating the modeler type (MAX, IDASF, VRML, etc.)
[edit]
Fixed bugs
- Console texts with y=0 did not appear
- Translated residual italian documentation messages
- Several corrections in the documentation
- Materials and textures might have an odd behaviour if using materials display lists (default behaviour since version 148)
- CVmMaterial:
- Transparency did not work correctly
- CVmLight:
- SetLightParam did not work correctly with some parameters
- CvmNewMesh:
- VRP_EXTRUSION procedural meshes were forced to have an integer height. Now it can correctly be a float.
- VRP_PLANE was forced to appear at z=-1 rather than at z=0
- ForceMaterial did not work correctly
- VR_SORT_TRANSPARENT might not work correctly together with VR_OPTIMIZE
- Improved texture coordinates handling
- Video textures might not work correctly when using display lists for materials (default behaviour since version 148)
- CVmCharacter:
- IDASF files now have a default shinines of 64 rather than 0.5
- Now correctly supports material animations exported from 3dsMAX
- CVmObj:
- SetScale did not work correctly
- CVmBillboard:
- Double faced billboards had visualization errors in the back face
- SetMaterial did not work with textured materials
- VmFunction:
- LoadBackground did not work correctly
- CvmAvatar:
- LoadBVH did not work correctly
- CvmText:
- SetPosition and SetScale did not work when using system fonts
- Passing an emty string to the constructor caused XVR to crash
[edit]
