Home › Forums › General Questions › Some Verge3D Questions
- This topic has 2 replies, 2 voices, and was last updated 4 years, 7 months ago by grimmy.
-
AuthorPosts
-
2020-04-02 at 10:42 am #25253grimmyCustomer
Hi, I’m looking for a technology to create a web based AR app and I’m deliberating between Verge3d and PLaycanvas. I have some questions about verge3d (I might keep updating this as I explore the engine more):
Q. How can I disable the built in rotational camera/can I? It doesn’t seem to be part of the puzzles in the AR demo.
A- I found this in the Blender file camera settings after I enabled V3d in Blender prefs.Q. I want to implement my own first person camera with the rotation taken from device but movement vector/speed forward taken from a variable when the user touches the screen. Would this be possible in V3d? Can I implement my own movement systems completely or am I stuck with the in-built ones?
Q. Can I get touch speeds for input?
Q.Can I download different assets/models/images at runtime?
Q.Can I get the device orientation and feed those variables into camera rotation? (SO I can use the device as a first person view.)
Q.Is there a way to monetize (using IAPs) if I were to export using something like Cordova?
Q.I realise I can add simple UI elements with some extra html but what about more complex menu screens and UIs. Can I have full menu screens that transition in/out and whose events systems are hooked up to the game logic?
Q.I couldn’t find an event that triggers every frame (an update loop). How is this done?
Q.Verge3d looks amazing but I just wanted to know if there are any other reasons, why would I use this over PLaycanvas..or not?
Thanks
Simon2020-04-03 at 7:18 am #25295Alexander KovelenovStaffHi Simon,
Welcome to Verge3D forums! Please find my answers below.
Q. How can I disable the built in rotational camera/can I? It doesn’t seem to be part of the puzzles in the AR demo.
A- I found this in the Blender file camera settings after I enabled V3d in Blender prefs.Indeed, many things in Verge3D are done using Blender (Max, Maya) and this artist-friendly approach is the main advantage over Playcanvas. Many things can be done by the artists and this saves a lot of trouble for coders and speeds-up development a lot!
Q. I want to implement my own first person camera with the rotation taken from device but movement vector/speed forward taken from a variable when the user touches the screen. Would this be possible in V3d? Can I implement my own movement systems completely or am I stuck with the in-built ones?
Sure, just disable camera movements by setting its speed to zero and then use the change local transform puzzle to move it using custom controls. Of course, you can also use JavaScript to implement any camera movements you want.
Q. Can I get touch speeds for input?
You can do it by using methods of the camera controls, i.e rotateSpeed.
Q.Can I download different assets/models/images at runtime?
Yep, you can use Puzzles or JavaScript to do dynamic assets loading.
Q.Can I get the device orientation and feed those variables into camera rotation? (SO I can use the device as a first person view.)
If you’re going to use AR session mode you will get virtual space (so called magic window mode) automatically. If you need this feature in non-AR session you can get device orientation params using JavaScript.
Q.Is there a way to monetize (using IAPs) if I were to export using something like Cordova?
Yep, you can easily integrate Verge3D with Cordova and then use IAP features it provides.
Q.I realise I can add simple UI elements with some extra html but what about more complex menu screens and UIs. Can I have full menu screens that transition in/out and whose events systems are hooked up to the game logic?
You have a wide variety of options here. Among them is using a client-side toolkit to implement your UI (we provide React and Vue templates with Verge3D) or take some website builder like Webflow.
Q.I couldn’t find an event that triggers every frame (an update loop). How is this done?
You can hook up your logic with every frame puzzle or append render callback if you prefer using JavaScript.
Q.Verge3d looks amazing but I just wanted to know if there are any other reasons, why would I use this over PLaycanvas..or not?
We really like PlayCanvas but with Verge3D you can do many things more efficiently and have better control on your own work (there is no cloud-based tools, as such everything you do is stored on your own computer).
Best regards,
Alexander
2020-04-03 at 1:00 pm #25301grimmyCustomerThis is great! Thanks very much for your answers!
-
AuthorPosts
- You must be logged in to reply to this topic.