27 August 2018 19:16
Hello to all,
I have a question related to the new augmented reality support or possibilities of blend4web, like it is showed in the example "AR" or in the blog here: https://www.blend4web.com/en/demo/solar-system-augmented-reality/
I tried to build a small example scene by my own and first followed exactly this tutorial: https://www.youtube.com/watch?v=1sIhDqQSFUs, exept that I took the "lib"-folder and the camera-para.dat of the AR-example of blend4web, and an own pattern-marker.patt (generated with the online-tool from the youtube-tutorial).
My problem: the solar-example of blend4web is running without any problem, but my own example scene I build with the help of this tutorial won't load anything and does'nt connect to the camera. It just appears a white screen [picture 1].
First try to solve the problem: checking the modules. This gave several errors, so I updated the modules. Now the loading-bar occurs, the scene is loading fully, Firefox asks for the permission to connect to the webcam and it shows, that it is connected with the cam, but the screne still stays completely white without actually loading the scene [picture 2].
Next try to solve: Checking and compare the solar AR-example of blend4web and my own AR-try, like the configuration (define the "JS Compilation Pass-Through List") -> still the same than picture 2; and the css, html and js files -> same than picture 1 or 2 (depends on what I did).
So my question: does anybody knows a solution or can gave me some advise or even guidance for building an own simple AR-Scene? I'm thankful for every help or input :-)
Thank you very much for your help :-)
p.s. I also attached my small AR-Test (stage: updated modules and defined "JS Compilation Pass-Through List" because at this stage it was more or less most "successful"), maybe this way its easier to comprehend what I did (wrong)…
I have a question related to the new augmented reality support or possibilities of blend4web, like it is showed in the example "AR" or in the blog here: https://www.blend4web.com/en/demo/solar-system-augmented-reality/
I tried to build a small example scene by my own and first followed exactly this tutorial: https://www.youtube.com/watch?v=1sIhDqQSFUs, exept that I took the "lib"-folder and the camera-para.dat of the AR-example of blend4web, and an own pattern-marker.patt (generated with the online-tool from the youtube-tutorial).
My problem: the solar-example of blend4web is running without any problem, but my own example scene I build with the help of this tutorial won't load anything and does'nt connect to the camera. It just appears a white screen [picture 1].
First try to solve the problem: checking the modules. This gave several errors, so I updated the modules. Now the loading-bar occurs, the scene is loading fully, Firefox asks for the permission to connect to the webcam and it shows, that it is connected with the cam, but the screne still stays completely white without actually loading the scene [picture 2].
Next try to solve: Checking and compare the solar AR-example of blend4web and my own AR-try, like the configuration (define the "JS Compilation Pass-Through List") -> still the same than picture 2; and the css, html and js files -> same than picture 1 or 2 (depends on what I did).
So my question: does anybody knows a solution or can gave me some advise or even guidance for building an own simple AR-Scene? I'm thankful for every help or input :-)
Thank you very much for your help :-)
p.s. I also attached my small AR-Test (stage: updated modules and defined "JS Compilation Pass-Through List" because at this stage it was more or less most "successful"), maybe this way its easier to comprehend what I did (wrong)…