I am trying to create a VR application that lets users browse through a catalogue of items and select them. I want this to by dynamic so as to save app space and allow fast changes.
I have 2 questions:
How do I make API calls to the backend and get this data
Can I return meshes, materials and other object details etc in the response? So that my game can render this things real time?
Your questions are too broad with little details given.
“how do I make API calls to the backend” may be related to an entire science/industry;
For the second, if your app is connected to an online backend, there’s no reason to do that unless for automated client update system; leave assets packaged into the client, transfer simple structs when communicating online…
What I am trying to do is : I have 100 different props that the user can select. So instead of storing them all on a packaged archive, I am trying to create something similar to the “360 photos” application present on the Oculus.
I.e. the user can see some props already installed, for the others clicking on the tile downloads and shows the prop.
I am sorry if this is a noob question, I haven’t really had much experience with unreal or the oculus. Anything tutorials/resources you could point me to would be really helpful!
This would be a difficult project to create, code-wise. My thoughts would be to store thumbnails of the objects locally. When the user selects one, it downloads the mesh for placement. Of course, you could use an HTML 3d object viewer so the user can see the mesh before it’s downloaded too. To make the project scaleable, you would want to use a database. Column Names: ID (int, auto incremental, primary key), meshName (varchar), meshLoc (text), thumbName (varchar), thumbLoc (text).
The …Loc columns would point to a download link that the php would call.
Now for the bad part: You would need to program the functionality, DB calls, 3d model viewer, etc… in C++