Engine 0153

From VRwiki
Jump to: navigation, search

Build 6965 (September 27th 2011)

Build 6964 (September 13th 2011)

Build 6963 reserved for internal test

Build 6962 (June 30th 2011)

Build 6961 (June 15th 2011)

Following notes refer to build 6961 if not explicitely specified.


What's new

  • Added #import directive allowing to import precompiled binary files
  • Added support to debugger via the new Eclipse-based XVR IDE
  • Added detailed output of DLL loading failure messages (build 6964)


  • Exposed the CVmIEWindow class to navigate HTML pages inside XVR
  • Exposed the CVmWebBrowser class to support handling the IE browser container window
  • Added the sharedByteBuffer class to support shared memory
  • Added the CVmVRPN class to support VRPN devices (build 6962) - contributed by David Borland, EventLab, University of Barcelona)
  • Added the CVmXml class to support creation/parsing of XML files (build 6964) - contributed by Emanuele Ruffaldi, PERCRO lab, Scuola Superiore Sant'Anna)


  • Added SetCurrentDir() and GetCurrentDir() functions
  • Added GetTrackerQuaternion() and SetTrackerQuaternion() functions
  • Added QuaterniontoAngleAxis() and AngleAxisToQuaternion() functions (build 6962)
  • Added CameraGetRotMatrix3() function


  • Viewfrustum culling is now disabled by default to avoid issues with stereo rendering (use SceneEnable(VR_VF_CULLING) to force enabling it.


  • XVRGlut:
  1. -v switch now prints engine version and build (build 6962)
  2. forced nice exit when closing the XVRGlut.exe console window
  3. it is now possible to close the app using SHIFT+F9 (as XVR in IE) or ALT+F4
  4. restored correct working behaviour under Windows XP (build 6965)
  • openGl support:
  1. added glVertexAttrib implementation for the 4f configuration
  2. added glClearDepth implementation
  • CVmNewMesh:
  1. Added return value to Normalize() (now returns the scale factor)
  2. Added Rotate() method
  3. Added more consistent parameters configuration to Translate, Rotate and other methods (support to both vectors and single parameters)
  4. Added support to COLLADA DAE geometry files (requires XVRCollada.dll and libcollada14dom21.dll in the path) (build 6964)
  5. Added SubsetSetMaterial() method (build 6962)
  • CVmTexture:
  1. Added SetAviFrame() and GetAviFrame() methods
  • CVmExternDLL:
  1. Added error code printing when DLLs fail to load
  • CVmCamera:
  1. Added GetId(), GetRotationMatrix3() and SetRotationMatrix3() methods
  2. Added SetId() method (build 6965)
  • CVMAvatar:
  1. Added JointGetMatrixABS(), JointGetScale() and JointGetParent() methods
  • CVMCharacter:
  1. Added support to COLLADA DAE geometry files (requires XVRCollada.dll and libcollada14dom21.dll in the path)


Fixed bugs

  • Fixed bug causing XVR to crash when no mouse is present in the system.
  • Fixed an error in the detMatrix3() function, causing wrong calculation of the result.
  • Added a check to prevent engine crashes in case of errors in loading textures (applies to all visual objects)
  • Fixed occasionally wrong behaviours in the console output of traced variables (build 6964)
  • Fixed occasionally wrong management of global and static variables with the same name (build 6964)
  • Fixed memory leaks in CameraGetAnimation (build 6964)
  • Fixed correct behaviour and documentation for Atan2 function (build 6965)


  • CVMNewMesh:
  1. Fixed parsing of ChangeTextureParams() parameters, previously not working for some params configuration
  2. Fixed memory leaks in SubsetGetBoundingSphere (build 6964)


  • CVMMaterial:
  1. Fixed parsing of ChangeTextureParams() parameters, previously not working for some params configuration
  • CVmBillboard:
  1. Fixed bug in Draw causing the lighting/texturing opengl state to be different in some circumstances.
  • CVmObj:
  1. Fixed wrong behaviour in Draw() causing shaders sometimes working improperly.
  • Documentation:
  1. Minor documentation fixes in CVmOBj
  2. Fixed documentation in CVmNewMesh SubsetGetBoundingBox(), GetBoundingBox() and GetMeshData(), ForceMaterial(), ForceSubsetMaterial() methods
  3. Added documentation for CVmExternDLL, CVMIEWindow, CVMWebBrowser, sharedByteBuffer classes