I recently discovered WebGL and especially Three.js, which is the best API I've found so far for this. Right now, I'm just coding simple demos to display 3D models of starships from my main project, which is the Sci-Fi universe.
My medium-term goal is to improve the Wiki MediaWiki with a three-dimensional display of objects described on pages with an orbit camera. I see this as a tool for presenting the contents of the universe that we are developing.
I don’t want to do anything unusual or difficult on my own, I know how to do it with the standard Wavefront.OBJ and .MTL files, and this is quite enough for me. But I'm worried about wiki integration.
The main idea would be to first download the various files (models, materials, textures) as wiki files typed by their extension, and then add the wikicode extension or template to use them as you wish from your wiki URLs.
If we stay with the .OBJ / .MTL example:
-.MTL will be displayed as materials applied on the sphere, with some deviations bouncing around to see mirror effects, with adjustable external / background contrast,
-.OBJ will be displayed blank using its materials, as well as with an adjustable environment / background.
Is there such an extension, or at least a framework that could be used and expanded in it, or is it up to me to know that I probably will have neither skill nor time?
source share