spacesvr

A standardized reality for the future of the 3D Web.

MIT License

Stars
181
Committers
9

Bot releases are hidden (Show)

spacesvr - v2.12.2 Latest Release

Published by spacesvr over 1 year ago

changes

  • remove NodeJS namespace type

migrations

n/a

spacesvr - v2.12.1

Published by alex-shortt over 1 year ago

changes

  • fix pointer events for tool switch overlay
  • fix logic for opening tool switch overlay that got it stuck open

migrations

n/a

spacesvr - v2.12.0

Published by alex-shortt over 1 year ago

changes

  • new Tool Overlay for visual feedback when switching tools. pass in an image url as the icon prop to have it show up, recommend 250x250
  • pin @react-three/xr to 5.4.1
  • remove node-fetch
  • add __spacesvr id to spacesvr container
  • remove default quicksand font, font size
  • roughly scale z-indexes by 10 (0-200 --> 0-20)
  • add setActiveTool by name, gotchu @benjaminha14

migrations

  • if you had logic that relied on a newer version of @react-three/xr, you'll have to either pin the library yourself or solve the conflicts
  • if you relied on our styling for any html, you'll have to add the styles back yourself or pick a good font
spacesvr - v2.11.0

Published by alex-shortt over 1 year ago

changes

  • allow camera to be opened with shift+c
  • upgrade @react-three/drei to v9.65.3
  • upgrade @react-three/fiber to v8.12.0
  • upgrade @react-three/xr to v5.4.1
  • upgrade three to v0.151.3
  • move three from peer dep to actual dep

migrations

  • remove three from your local package json
  • replace all xxxBufferGeometry with xxxGeometry, both on the programmatic side and the declarative side
  • when using three's Color, use its newly exported types of ColorRepresentation, HexColorString, etc
spacesvr - v2.10.6

Published by alex-shortt over 1 year ago

changes

  • rewrite world lights logic
  • fix warning
  • slight performance improvement

migrations

n/a

spacesvr - v2.10.5

Published by alex-shortt over 1 year ago

changes

  • fix VisualWorld idea to update color on prop change
  • preload Tools on mount
  • wrap Tool modifier contents with Suspense
  • memoize useDrag hook callbacks
  • forward Hitbox Ref
  • wrap Physics Layer in suspense, explained in the comments
  • some minor refactors
  • increase mobile tool swipe detection range
  • add Toolbelt Layer lighting options (world for copying in world lighting, local for a basic directional + ambient lighting)
  • remove notion of Tool swiping vertically
  • VERY KEY useHudDims hook for getting a dynamic size based on user's screen, useful for Tool UX
  • complete Camera Tool revamp, much better mobile flow

migrations

  • Toolbelt world lighting is true by default, you may want to disable that or the local lighting if together they're too strong
spacesvr - v2.10.4

Published by alex-shortt over 1 year ago

changes

  • look at text input when you select it on mobile
  • add disable draggable prop for tool modifier
  • kill the bottom up swipe for tools, constrain tool edge swipe to top half of screen
  • fix chrome mobile input locking controls
  • fix touchfps camera hook deps

migrations

n/a

spacesvr - v2.10.3

Published by alex-shortt over 1 year ago

changes

  • set background idea on layout effect
  • increase LookAtPlayer slerp speed

migrations

n/a

spacesvr - v2.10.2

Published by alex-shortt over 1 year ago

changes

  • fix LookAtPlayer logic

migrations

n/a

spacesvr - v2.10.1

Published by alex-shortt over 1 year ago

changes

  • remove need to pass WebGLRenderer instance to asset preload and clear functions

migrations

  • any preload or clear calls from useImage or useModel should be cleared of the second argument, and likely moved outside of the component body
spacesvr - v2.10.0

Published by alex-shortt almost 2 years ago

changes

  • fix bug where text input unmounting keeps controls locked
  • clean up pointerlock errors, refactor
  • replace "Enter VR" button with "Open on Meta Quest" button
  • start a vr session when clicking continue in VR
  • Fix VR movement
  • Add flying in VR with left trigger
  • Mute audio when tab is hidden
  • add .preload and .clear to useImage and useModel hooks
  • disable visual effects on VR

migrations

  • custom pause menus should copy over the latest changes from the pause menu
spacesvr - v2.9.0 - v2.9.2

Published by alex-shortt almost 2 years ago

changes

  • added flying option via a Player layer prop
  • breaking bug fix
  • honor position set before physics initialized

migrations

n/a

p.s. I stopped updating the docs a little big ago. Let me know if you need them updated

spacesvr - v2.8.4

Published by spacesvr almost 2 years ago

changes

  • upgrade r3f
  • fix rounded box scale props

migrations

n/a

spacesvr - v2.8.3

Published by alex-shortt almost 2 years ago

changes

  • dynamically cache rounded box sizes

migrations

  • remove any uses of the old geo caches
spacesvr - v2.8.2

Published by alex-shortt almost 2 years ago

changes

  • fix switch raycaster

migrations

n/a

spacesvr - v2.8.1

Published by alex-shortt almost 2 years ago

changes

  • pass raycaster through from hitbox to interactable

migrations

n/a

spacesvr - v2.8.0

Published by alex-shortt almost 2 years ago

changes

  • new RoundedBox component that has some cached geometries and, compared to Drei's, generates faster and has smooth UVs
  • new Hitbox component to create a box geometry used for approximating raycasts, greatly improves speed
  • new cache logic to pull geometries and materials as well as an api to cache custom resources
  • resize Dialogue's Bubbles to fix raycasting issues
  • apply new performance fixes to spacesvr ideas
  • disable browser swipe events when nipple is pressed, primarily swipe to navigate

migrations

  • highly suggest replacing any RoundedBox components from Drei with these new ones
spacesvr - v2.7.3

Published by alex-shortt almost 2 years ago

changes

  • don't render the camera while closed

migrations

n/a

spacesvr - v2.7.2

Published by alex-shortt almost 2 years ago

changes

  • remove resize observer

migrations

n/a

spacesvr - v2.7.1

Published by alex-shortt almost 2 years ago

changes

  • add new Dialogue ux idea
  • stop camera from opening while typing
  • increase fov range on Camera Tool
  • fix locked camera while typing
  • reduce mobile draggable sensitivity

migrations

n/a