Below are answered some common questions with regard to using Verge3D.
以下是有关使用Verge3D的一些常见问题。
许可(Licensing)
一般问题(General Questions)
编程问题(Programming Questions)
#
许可(Licensing)
On how many computers can Verge3D be installed? How many users can use a single license?
The license is assigned on the per person (Personal) or per entity (Team, Enterprise) basis. The number of installations is not limited. In case of the Personal option, only one individual can use Verge3D. On the other hand, there is no limitation on the number of users within the company or organization.
What are the limitations / restrictions of the Verge3D Trial? Can I do ... ?
Quick answer to that question would be to quote our License Agreement. The Verge3D EULA states: "The trial version of this software available for free download from the Soft8Soft website is intended for testing purposes only. Any use in production environments, for commercial or non-commercial purposes is prohibited.".
Basically, you can do whatever you want (and for how long) provided you don't create apps for production use. For example, you can use it to create basic samples for practicing purposes, to develop your personal skills, or to create a mock-up presentation for your managers. You are not allowed to use it for education (feel free to reach us to request a special Educational license at reduced price) or to create your own portfolio (this qualifies as production use, so be sure to purchase the Verge3D Personal license in such a case).
My app does not load when I open it in Chrome - yet it works when running from the App Manager or if opened in Firefox...
Due to security policy imposed by browser vendors, web applications cannot access data loaded from another domain, including from a local file system (with Firefox being an exception here). Therefore, you should use the App Manager (which comes with a local server) for development, or publish your Verge3D apps on a web server (or upload to the Verge3D Network) to be able to run it.
If you need a desktop or mobile application instead, you can convert your Verge3D apps to those platforms using third-party software (such Electron or Cordova).
Verge3D is able to load various formats including glTF, OBJ, FBX, COLLADA, STL and PLY. Still, the preferred way to create 3D web content is to use glTF 2.0 format which is supported by both 3ds Max and Blender exporters.
Also, the script of the Standard application template is based on the App class which supports loading glTF files only. For loading some other formats, use the corresponding loaders instead.
You say Verge3D is based on Three.js. Is it compatible with Three.js API?
To create Verge3D we modified Three.js code base a lot and thus we decided to use "v3d" prefix for our APIs. However, we'll try to maintain source code compatibility with Three.js. Most of the Three.js-based applications and examples should work in Verge3D without any modifications.
We want all objects, regardless of their distance from the camera, to appear the same size, even as the window is resized. The key equation to solving this is this formula for the visible height at a given distance:
If we increase the window height by a certain percentage, then what we want is the visible height at all distances to increase by the same percentage. This can not be done by changing the camera position. Instead you have to change the camera field-of-view. Example.
This could be because of face culling. Faces have an orientation that decides which side is which. And the culling removes the backside in normal circumstances. To see if this is your problem, change the material side to v3d.DoubleSide.
My app window grows endlessly on iOS devices. How to fix it?
If you embed a Verge3D application inside an iframe element, you may run into a specific issue on iOS devices, which causes iframes to constantly increase in size beyond the boundaries of the browser window. This in turn can lead to a WebGL crash.
To deal with this issue you can use the following snippet, which resizes the iframe to the page's body preventing the said iframe from extending beyond it.
1
<script>
2
if (/(iPad|iPhone|iPod)/g.test(navigator.userAgent)) {