From "Augmented Reality For the Web", threex.webar. as link https://github.com/jeromeetienne/threex.webar
I exported FreeCAD model to WebGL, then use NotePad++ copy code from output file and replace to Part that added an object in the markerObject3D. Replace variable named "scene" in WebGL to "markerObject3D"
The Model example size is very small because a width of a marker is 1 unit equal to 1 unit in WebGL export file. That cause my model only about 3 mm.
I'm hard to explain. get the Code. (อธิบายด้วยภาษาไทยยังยากเลย ภาษาอังกฤษยิ่งยากขึ้นไปอีก )
In future, I think FreeCAD can export to play on Augmented Reality.
Export FreeCAD to WebGL and Test run Augmented Reality
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Export FreeCAD to WebGL and Test run Augmented Reality
Test Augmented Reality.
https://www.jCivil.com/freecad/AR/test/ ... eeCAD.html
OK! the demo can work, WebRTC wants to use https.
I upload the Zip file to the web host and unzip for a test.
show the marker on webcam, you can see the model display on the marker.
1.Print the marker from http://terpconnect.umd.edu/~jwelsh12/en ... ergen.html
2. Or use marker display on mobile http://terpconnect.umd.edu/~jwelsh12/en ... ding_mm=10
https://www.jCivil.com/freecad/AR/test/ ... eeCAD.html
OK! the demo can work, WebRTC wants to use https.
I upload the Zip file to the web host and unzip for a test.
show the marker on webcam, you can see the model display on the marker.
1.Print the marker from http://terpconnect.umd.edu/~jwelsh12/en ... ergen.html
2. Or use marker display on mobile http://terpconnect.umd.edu/~jwelsh12/en ... ding_mm=10
Re: Export FreeCAD to WebGL and Test run Augmented Reality
This is working so great ! Well done
Working on Chromium 51.0,
Not working on Firefox 47.0 (lacking of MediaStreamTrack.getSources() )
Working on Chromium 51.0,
Not working on Firefox 47.0 (lacking of MediaStreamTrack.getSources() )
Formations - Assistance - Développement : https://freecad-france.com
Re: Export FreeCAD to WebGL and Test run Augmented Reality
Test on my Android phone.
Re: Export FreeCAD to WebGL and Test run Augmented Reality
@RockN Prepared for the future.
Enhancing FreeCAD(BIM) with Augmented Reality.
Enhancing FreeCAD(BIM) with Augmented Reality.