Git Product home page Git Product logo

spacesvr's People

Contributors

alaricbaraou avatar alex-shortt avatar benjaminha14 avatar ianyimi avatar microchipgnu avatar spacesvr avatar stevenpaulhoward avatar vishaalsc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spacesvr's Issues

Adaptive resolution based on fps

using the regress api from drei, would be cool to add functionality to automatically increase or screen reduce resolution based on the current fps

you would have to add a bit of dampening so it doesn't rapidly change, and definitely heir on the lower side before moving your way up

would look into this: https://github.com/pmndrs/drei#adaptivedpr

One thing it mentions is that directly setting dpr might be costly compared to using a pixellation postprocessing effect which would have the same effect but be faster to switch. might require a new rendering pipeline though, so maybe not the best idea

Livestream video component

Add a component to livestream video. I see this going one of two ways

  1. We enable livestreaming only per peer party, allowing us to use WebRTC but meaning that you can't broadcast to multiple parties on the same site

  2. We use a service like https://mux.com/ to enable livestreaming for everyone

Camera Tool

Create a camera tool to

  • take pictures
  • record video

then

  • upload to social media
  • save locally

biggest consideration is how it will work on mobile as it all needs to be controlled with swipes and taps

Fix yarn link

For some reason yarn link doesn't work, probably has something to do with the build settings. Needs to be fixed for faster development.

FacePlayer type is invalid

Screen Shot 2022-03-09 at 10 28 35 PM

what would be the best to import the FacePlayer component? I am getting this error when importing as a named export

Fail to load texture

Been trying extensively to load a texture into a (ground type) model, but continue to get this error.

I am able to see the render on a latest three js version environment, but for some reason I continue to get this error within spacevr

Screen Shot 2022-03-30 at 12 12 55 PM

would really appreciate any help!!

Falling through the floor

If the world has a collider coming from a model, the user will often fall through the collider before it finishes loading.

The solution is to wait until the collider is loaded before enabling physics.

Add volume controls

Add controls to lower or increase volume and mute / unmute.

Each of the actions should have a story that goes along with it, so mute/unmute should play an animation of your character putting on earplugs and the volume up and down .... something

Add snap turn with q/e

think the proper way to implement this is through some settings page where users can enable/disable it for themselves rather than enabling it by default ..

no Drei Components not working inside StandardEnvironment

Hey!

Been looking for ways to better present my component, but I can't seem to render any Drei 7.0.6 component inside the spacevr StandardEnvironment. This is the error I get:

Screen Shot 2022-04-14 at 8 48 56 AM

Happy any code or environment if needed, but you should be able to recreate using the spacevr next js starter with:

"three": "^0.127.0", "spacesvr": "latest", "react": "^17.0.2", "@react-spring/web": "^9.2.1", "@react-three/cannon": "^4.9.0", "@react-three/drei": "7.0.6", "@react-three/fiber": "6.0.14",

Upgrade r3f, drei, 3.js, and associated packages

Everything is pretty out of date and causing some issues ... this all needs to be done in one pass, so, yeah

benefits include

  • new 3js features
  • probably some bug fixes
  • the huge vr fps fix in one of the recent 3.js versions
  • no more annoying package pinning

Animate On-screen cursor

Have the onscreen 2d cursor complete some animation whenever the user looks at an object that has an onClick function

New Pause Menu / UI Overhaul

Started this branch a while back and never got to finishing it. Want to see where to take it.

https://github.com/spacesvr/spacesvr/tree/ui-ux
https://spacesvr-gjudb1xki-metaplug.vercel.app/

This would be a pretty big shift in how things work, so i want to consider pros and cons before even starting.

it's got

  • a 3d rendered cursor (that can change in any way to present information such on hovering)
  • no 2d pause menu, which is muuuch cleaner imo
  • allows for click and drag, or double click for pointer lock. i actually think people might understand pointer lock better than click/drag since the latter requires one more action before moving the mouse for each movement, so this may not actually be great

unsolved problems are

  • doesn't automatically handle first click for playing audio
  • kinda ugly cursor at the moment, although i like how it kinda works like a compass lol
  • extra keystroke for the user to learn to use our sites (T)
  • mobile swiping to show/hide pause menu hasn't been figured out yet, although once it is i know it will be so cool

Look into BVH Physics

At first glance it looks like this will allow us to make a Collidable modifier for any mesh to allow for physics while also running much faster than the current Trimesh solution.

Not too sure whether this will replace @react-three/cannon or supplement it

Project link: https://github.com/gkjohnson/three-mesh-bvh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.