I’m happy to announce a new version of Maratis with a lot of cool features !
Maratis 3.2
http://www.maratis3d.org/?page_id=57
- Improved Lua API
- Assimp integration, Maratis is now able to read multiple 3d formats (Collada, .obj, .md3, full list) :
__- using « Add entity » is you want to use the model as-it
__- or using « File > Import 3d model » to convert the model into Maratis xml mesh format
__- note that all meshs are optimized and converted to binary during publishing
- Performances improvement using SSE instructions and vertex buffers
- Better 3d navigation, with adaptive center of view
Lua API :
simple 3d vector manipulation :
- vec3
- length
- normalize
- dot
- cross
object’s matrix manipulation :
- getTransformedPosition
- getTransformedRotation
- getTransformedScale
- getInverseRotatedVector
- getRotatedVector
- getInverseVector
- getTransformedVector
- updateMatrix
- getMatrix
camera :
- getUnProjectedPoint (useful for picking)
- getProjectedPoint
system :
- getWindowScale
- getSystemTick
object properties :
- isActive
- getName
- getParent
- setParent
- getChilds
- enableShadow
- isCastingShadow
- setAnimationSpeed
- getAnimationSpeed
- setCurrentFrame
- getCurrentFrame
light properties :
- setlightShadowQuality
- setlightShadowBias
- setlightShadowBlur
- getlightShadowQuality
- getlightShadowBias
- getlightShadowBlur
- setlightSpotAngle
- setlightSpotExponent
- getlightSpotAngle
- getlightSpotExponent
physics :
- getMass
- setMass
- getFriction
- setFriction
- getRestitution
- setRestitution
- getAngularFactor
- setAngularFactor
- getLinearFactor
- setLinearFactor
- getCentralForce
- getTorque
inputs :
- getProperty
- getTouchPosition
- getLastTouchPosition
- getTouchPhase