view3dscene-mobile
Mobile-friendly viewer for 3D models like X3D, VRML, glTF, Collada, Wavefront OBJ, Spine JSON and other formats supported by the Castle Game Engine.
In addition to the above formats, it also allows to open a ZIP file that contains a single model and associated media (like textures, sounds etc.). See the discussion below on how to open your own files for details.
Opening your own files
There are two ways to open your files:
-
Click on your file in an application like standard Android "Downloads" app. (Most other Android applications will also behave like that.)
This will pass the file to view3dscene-mobile through a mechanism that does not reveal the actual filename of the original file.
This approach will only work for self-contained model files. Such files don't refer to other files (like textures) through relative URLs. Examples that work:
- Models that don't need any additional media (like textures).
- Models that refer to the additional media using http/https links.
- ZIP file that contains a model (X3D, glTF, ...) and the associated media (textures etc.)
- X3D/VRML with media embedded using data URI scheme. Specifically for textures, you can also embed them using X3D/VRML
PixelTexture
node. - glTF GLB variant.
-
Click on your file in an application like Total Commander for Android, that can pass to view3dscene-mobile the actual filename.
This is the perfect approach, that works in all cases.