I
I
Igor2017-10-31 17:39:31
JavaScript
Igor, 2017-10-31 17:39:31

JavaScript (A-Frame, Three.js, WebVR, ReactVR, React Native, etc.) for non-gaming VR and AR development?

My question is: how mature are Javascript solutions for full-fledged VR, AR and 3D work? Compared to Swift, Java and 3D engines e.g. Unity3D and Unreal Engine? I repeat - ordinary applications, not games.
It is very interesting to know the opinion of those who have programmed in both Swift/Java and React Native.
What is the performance of your JavaScript applications? Were all libraries available or did you have to add native code? Is it possible to get by with just JS?
//Clarifying offtopic:
There are a lot of laudatory articles about React Native! Its near-native performance and development speed. But as an example, very simple CRUD applications are shown.
What if I need to develop an application that reads a barcode, displays a 3D object on top of it in AR, and has the ability to view this object in VR with a helmet? What if I need to interact with CoreML, HealthKit, camera and maps? Will it turn out that there will be more and more native code, and the use of React Native will simply be redundant?
Thanks for answers!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
dravor, 2017-10-31
@dravor

All the best that came across under Three.js was in vanilla JS. I found the following explanation for myself: the entry threshold is high, you need to understand the code, and for a specialist, extra spacers are just a drop in FPS.

M
M-ka, 2017-10-31
@M-ka

My question is: how mature are Javascript solutions for full-fledged VR, AR and 3D work?

js as such is not used in the direct work of iron, but is converted using the IDE, in which it is sawn, into an understandable for VR (cardboard box phone crap) / AR (eye blurring). Therefore, it doesn't matter what language to cut in ... the main thing is that this language be supported by the gasket of interest to itself with the ability to convert to the desired group of devices.
yes, at least not ordinary, there is no difference especially for the developer ... the essence is the same, content + control code
In general, I answered all the questions in the post, most of the answers are at the beginning (too lazy to repeat or copy-paste)
Something like that,
pysy, taking into account " Clarifying offtopic: "- I recommend not trying to intervene in this direction ... because if a similar question is asked, it seems that the resources aimed at developing content for VR / AR devices and related gadgets like LM / IRS have not been visited at all etc...

A
Anton, 2017-11-05
Semenov

how mature are Javascript solutions for full-fledged VR, AR and 3D work?

How ripe! I myself personally look at models from the site https://sketchfab.com/ant.asensio/collections/deco... through the Nightly browser in the Oculus Rift!
Slows down if the model is too complex, but it works!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question