Releases: Volumetrics-io/mrjs
Releases · Volumetrics-io/mrjs
v0.6.4
MRjs v0.6.4 is out !!! 🥳
The Highlights: fixes and more fixes with an upcoming sneak peak at a product launch 👀
- redid
<mr-app>
's attributes so that theyre now alldata-attributes
for easier loading, updating, and interacting with long term: documentation - fixes for dependabot and console logging including ancillary library updates (core lib updates will be slower), adding in threejs versioning along side our MRjs version statement, and removing some spamming console logs
- animation updates to allow for accessing clips by name directly and to stop previous clips if different than the newer item: documentation
- a sneak edits in preparation for the launch of our
inspector
product! Check out volu.dev, https://discord.com/channels/1137890872688660500/1214679687201169448/1242158727222530099 , or any of our social posts for more info 😉
Check out the rest of the update on github and find the release on npm
v0.6.3
v0.6.3 🥳
New Features:
- animation: add ability to...
- have multiple animations in a model
- have multiple layers of mesh and animations in a model
- play specific one or all animation clips of a model
- loop an animation more than once in a few different ways (
loopMode
)[https://docs.mrjs.io/attributes/data-comp-animation/#loopmode] and with a specified loop count - add ability for an animation to end and stay on its final frame, instead of defaulting back with reset ,
clampWhenFinished
- add ability to access
:root
css variables directly in the code for better shared usage across html/css/js
Fixes:
- add garbage collection update for
mr-entity
on disconnectedCallback. (fix memory leak) - change
data-comp-audio
's parameter namestate
-->action
to better match the animation system going forward - fixed an infinite loop bug in the
GeometryStyleSystem
- fixed the pointer events for physics mesh interactions
- fix for physics collider fit on model-load
- fix s.t. components are serialized properly (position, rotation, etc)
- fix for entities not being properly cleaned up after being removed from the scene
Misc:
- work on
mr-textarea
andmr-textfield
(in the javascript, but not yet in the documentation as it's a large and close to finished feature) - to be re-exposed soon as some work is still pending for mvp. [fixes: vertical scrolling, cursor matching, text-size, proper wrapping with enter, etc]- large update to the models example for all of the changes based on this release (animation, etc)
v0.6.2
v0.6.2 🥳
Optimizations
- Cleanup the model interaction events for a more robust event system
New Features:
- More supported model formats: fbx,dae,obj
mr-stats
entity introduces a text-version that doesnt create a performance hit in headsetmr-app
now has anorbital=true
flag to allow for dynamic camera movement without the+=
keypress- Can now use
data-attribute.position.x,.y.z
(androtation
) where needed - Addition of the
BoundaryVisibilitySystem
for better runtime fps
Fixes:
- Fix dynamic model loading for better async physics interaction and
src
swapping mr-text
manual adjustments toinner-text
updates it properly- Shadows && render order fixed for complex models
- Fix for in headset vs otherwise scaling differences
- Fix for
MRElement
intersection observer preventing page load - Fix for
mr-button
default style
Misc:
- MRjs now exports all custom entities so users can extend them for their own projects
- The same
mrjs.io
landing page is now our defaultexamples.mrjs.io
testing page - Rename for organization - core-->core/entities && MR{name} --> MR{name}Entity to match HTMLElement formatting
v0.6.1
v0.6.1 🥳
Current FPS in XR: ~60 fps consistently
Optimizations
- Masking and Clipping Systems are streamlined for better use of resources
new features:
- Allow for opacity css values in material background color (rgba and hex)
- add toggle in mr-app for preserve-drawing-buffer
fixes:
- Drop MRTextEntity traverse method override
- Fix MREntity.traverse()
- Text and UI Masking applied consistently
misc:
- on the testing page make the links relative to the serving site for easier swapping between them
v0.6.0
0.6.0 🥳
Current FPS in XR: 45-60 fps
Optimizations
- clipping system more streamlined
- masking system improved for runtime
- performance improvements to all MRSystems using newly introduced
eventUpdate()
function
new features:
- The stats panel now has its own flag
<mr-app stats=“true”>
- addition of the
<mr-video>
tag - MRSystem now has
eventUpdate()
, called for all global scene events. Best used for tasks that do not need to be called every frame
fixes:
- ignore model background for bounding box in physics
- fixes for the html link handler
object-fit
CSS property support reimplemented
misc:
- add all testing example links to the main examples page
- change package.json’s homepage to mrjs.io instead of volumetrics.io
- docs.mrjs.io cleanup
- Utils/Error —> Utils/Notify
- Addition of MRMedia base for MRImage and MRVideo
Release v0.5.4
- fix for mrtext-field
- fix for interaction bugs (hover, touch)
- physics performance improvements
- event renaming for better consistency
- added global environment occlusion flag (as seen in skybox example)
- fix so you can call textfield.value like in html instead of textfield.input.value
- performance improvement: hide XRButton on mobile devices
- fixed for panel sizing in XR
- fix for object-fit css property to work as expected again
- fix for loading based on url to better clean the url first