This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
Releases: AltspaceVR/AltspaceSDK
Releases · AltspaceVR/AltspaceSDK
v0.5.2
v0.5.1
v0.5.0
- Sync Utility Improvements
- added
connect
function
-TheConnection
that is returned now contains references to more Firebase endpoints to allow easier storage of state per-user, per-space, or globally for the app. - Depreciated
getInstance
method as this functionality has been merged intoconnect
. The function will be removed in the next minor version bump.
- added
v0.4.2
v0.4.1
v0.4.1 (2016-02-22)
- Add links to local dev setup and app guidelines (7e515dd)
- Add links to local dev setup and app guidelines (dcdf1cf)
- Bump release v0.4.1 (ae26279)
- POT texture clarification (983f525)
- POT texture clarification (e8db852)
- Remove codepen (4bfc1e0)
- Remove codepen (7eea46d)
- Remove interactive prompt for automated publish (094114b)
v0.4.0
Some of these changes have existed in master for a few weeks without being part of an official release
- General
- We are now have a package on NPM!
- Compatible with three.js r73
- The
/latest/
CDN location has been depreciated and we are switching to only supporting specific versions on our CDN. This will allow us to ship non-backwards compatible changes without breaking live apps - Error logging from behaviors has been improved
- CodePen examples should no longer run when they are viewed as tiles in AltspaceVR
- Synchronization Improvements
Object3DSync
now uses an ownership based modelenqueSend
or theauto
flag is no longer needed, as updates will now be sent automatically by the owner- Ownership can checked using
isMine
and be changed usingtakeOwnership()
- A
clientsRef
property is exposed that will contain a list of connected clients. This can be used to listen for joining / leaving clients. - A
isMasterClient
is now present onSceneSync
. This can be used to do an action on only a single connected client. It is guaranteed that only one client will have this flag turned on (usually the last to join). - Replaced
syncData
withdataRef
, which is an actual Firebase object which allow for more powerful sync logic (such as being alerted when certain data changes on an object) - Examples and behaviors have been updated to use the new ownership model
- New APIs
- Touchpad API
- Control your application using the GearVR touchpad
- Gamepad API
- Control your application using a gamepad. Currently only Xbox 360 controllers on desktop are officially supported, but we hope to expand this soon.
- Touchpad API
- New Examples
- Gamepad Cube
- Using Gamepad Controls behavior to manipulate a cube
- Telekinetic Cubes
- Manipulate cubes using Gear VR touchpad
- Hats
- Demonstrates using tracking skeleton API to put hat on avatar head
- Examples can now be run from GitHub Pages (http://altspacevr.github.io/AltspaceSDK/examples/chess.html for example)
- Gamepad Cube
- New Behaviors
- HoverColor
- Change the color of object when the cursor is over it
- TouchpadRotate
- Rotate an object using the GearVR touchpad
- GamepadControls
- Uses the Gamepad API to move/rotate/scale an object using a controller
- HoverColor
- New Utilities
- Mutiloader
- Easily load multiple .obj / .mtl files
- Mutiloader
- Renderer Improvements
- Performance improvements, enabling apps to work on Gear VR
- Material batching. Improved performance for apps that use multiple instances of materials
- Increased app framerates
- Reduced frame locking
- Reduced memory usage
- Support for THREE.BufferedGeometry
- Improved logging for vertex count limits and performance warnings
- Increased texture sharpness and readability
- Improvements for parity with Three.js capabilities
- Minor fix to make textures consistent across platforms
- Performance improvements, enabling apps to work on Gear VR
v0.3.1
- Added Examples
- Placing Cubes
- Demonstrates SceneSync destroyers and dragging of objects in a plane
- Updated Behaviors
- SceneSync
- Changed destructors -> destroyers to align naming
- Enabled the use of a default destroyer alongside a custom one by returning true from the custom destroyer
- Made default destroyer actually dispose memory
- Object3DSync
- Bob
- Can now enable position bobbing while still manually changing the position of objects
- ButtonStateStyle
- Made much more resilient to edge cases, should no longer get stuck in an incorrect state
- SceneSync
- Updated Utilities
- Behaviors
- Now passes a reference to the Scene in Awake as the second paramater
- Behaviors
v0.3.0
- Improved Renderer
- Improved performance for loading static textures
- Renderer can now report back debug info about the scene (getThreeJSDebugInfo)
- Improved support for various model formats (Collada, FBX)
- Support for Three.js r72 and r73
- Significant performance improvements for large scenes and scene updates
- New Documentation Site
- Added Behavior System
- Create scripts that have Awake, Start, and Update functions similar to modern game engines.
- Enables better code sharing and reuse between projects
- Added Behaviors
- SceneSync & Object3DSync
- Instantiate, destroy, and update Object3Ds in your scene
- Can use with altspace.utilities.sync in place of FirebaseSync
- Layout
- Easily position objects relative to the enclosure bounds or the bounds of other objects
- SceneSync & Object3DSync
- Added Simulation Utility
- Easily setup a three.js app with AltspaceVR and behavior support
- If you keep all of your update code in behaviors, you do not need to use additional intervals or requestAnimationFrame
- Added Examples
- Living Room - Layout behavior
- Adding Cubes - SceneSync behavior
- Reorganized Repository
- Full source and build scripts for altspace.js
- Core API tests (only runnable in the AltspaceVR browser)
- Upgraded to ES6 (ES2015)
- We have upgraded a number of our source files to use ES6 and are using Babel for compilation
- Use of ES6 is not required, but if you would like to do so feel free to use our (or your own) gulp system or switch your code pen to use Babel
- Added Source Maps for altspace.min.js
Public Release
v0.2.3 Update renderer-tests.html