121 points · by bpierre · 10y ago · 49 comments
I see a lot of potential to create and edit virtual worlds on the fly using things like NLP, big data, proc-gen, computer vision, etc. then expanding that into mixed reality.
In the other hand I'm playing with other kind of input, such as speech recognition, for in-vr authoring.
Source: I've done it both ways for several apps and people always complain, either way.
Having to click and drag in the opposite direction is pretty weird though. First person shooter style "move mouse left to look left / move environment right" is just mouse movements. You're not grabbing something to drag it, so there's no clicks.
Tough to translate that into a windowed thing where you can't do fullscreen mouse ownership like shooters do.
What's right?
Pointer lock should be done, but we count the desktop drag as a non-invasive preview mode, but experiences can implement pointer lock if they need.
https://gurivr.com/stories/?token=PUraxsVQKdPcmD3wKd9uNC&uid...
They can both be made orders of magnitude faster simply by focusing on cache misses, branch predictions and data packing. But I don't see it happening without full rewrites in both cases.
We ended up writing a simple proprietary WebGL/WebVR renderer from the ground up - our scenes dropped from 18-20ms of CPU time to a very stable 0ms (and we made them much bigger as well.) Even the GPU time saw a big performance boost because we were using normalized integers instead of floats to reduce the vertex stream's bandwidth.
They're both good libraries to learn 3D and toy around with, but they're clearly aimed at beginner programmers with no or next to no experience in 3D graphics programming. Such a requirement goes directly against raw performance which requires loads of non-beginner friendly techniques.
I'm working in AR in a different space but as a longtime JS developer I would love to see this all come together.
[0]: https://www.youtube.com/watch?v=U6CpD4hVmqc&feature=youtu.be...
Have you profiled any of them? They take at least an order of magnitude more CPU than required in the best of cases, not even counting wasted GPU bandwidth/cycles. Heck, babylon.js sets its active texture unit by string concatenation - I can't think of a less efficient way to do it.
Have you seen any other graphics engines to add weight to what you're saying? I spent a full week in both project's codebases to try and optimize them before giving up; like I said, both architectures cripple performance from the ground up. They're very naive implementations of very old ideas that haven't been used in game engines for at least a decade.
Don't be so quick to imply a lack of experience; it very well might just be the Dunning-Kruger effect at work.
- CORS is a hard restriction for this tool. That's why I built the uploader into the editor. If you plan to do your own experience and can avoid it having your assets in the same domain on a CORS-enabled cdn please do
This being said, the A-frame community is the most welcoming I've ever seen