I’m trying to export a ray-tracer scene file (VRay and its .vrscene, if anyone heard of it) into a format that can be read by Babylon. While OBJ was sufficient at first for simple vertices/normals/faces, my employer decided that he wants multi-channel texture (with multiple texture coordinates for each mesh) and PBR too.
As OBJ does not support any of these, I have decided to turn to glTF, the other file format that BABYLON supports. Before I get started with writing the exporter in Node.js, I just want to ask a few quick questions for confirmation.
What PBR materials (and non-PBR, if anyone would kindly list them for me) do Babylon.JS supports, reading directly from the glTF files?
How many texture coordinates can we define for each mesh? So far the ray-tracer supports 3 or more texture coordinates, but I think I only saw up to 2 tex coordinates in glTF specification docs.
If I specify a .gltf file by its cloud URL link, will it automatically retrieve the corresponding .bin and texture files by relative URL path? Will any token suffix cause errors? Example: https://mydomain.com/assets/test.gltf?t=ds78fa90ds98-as8d6g9a0asdfa-sdfklas9-fds