Michel Log: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
-etc...
-etc...


Why three.js?
'''Why three.js?'''<br>
Qgis (Open Source geographic information system) and Blender (Open Source 3D modeling suite) have a three.js exporter plugin. Then you can easily combine the code.<br>
Qgis (Open Source geographic information system) and Blender (Open Source 3D modeling suite) have a three.js exporter plugin. Then you can easily combine the code.<br>
Three.js has loaders for other 3D formats so you can make something in other OS 3D software and load them too.<br>
Three.js has loaders for other 3D formats so you can make something in other OS 3D software and load them too.<br>

Revision as of 08:38, 25 May 2016

Tues, May 24, 2016

Working on 3D webGL framework for OBI http://3dcontent.be/ecohome/ecohome.html -I still have to decouple the camera control from the explosion view slider. But how do you do it when using the htmlmixer.js???

Open Source furniture in .sh3f and .obj http://3dcontent.be/osliving/OSfurniture.zip

Wens, May 25, 2016

A brief explanation of webgl.

Programming in native webGL is a bit devious.
By using javascript libraries it makes things alot simpler.
-three.js http://threejs.org/
-babylon.js http://www.babylonjs.com/
-sceneJS http://scenejs.org/
-etc...

Why three.js?
Qgis (Open Source geographic information system) and Blender (Open Source 3D modeling suite) have a three.js exporter plugin. Then you can easily combine the code.
Three.js has loaders for other 3D formats so you can make something in other OS 3D software and load them too.
It's combinable with other javascript libraries like:
-dat.gui.js (GUI for changing variables in JavaScript) https://github.com/dataarts/dat.gui
-physijs (Physics plugin for Three.js) http://chandlerprall.github.io/Physijs/
-etc...
It's Open Source and free (MIT license).