Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
HD-Chapter:WebUI
-
HD-Enabler:XML3D
Description
I am analyzing an error related to AR and XML3D enablers. Due to rendering problems I finally tried the Teapot tutorial example. https://github.com/xml3d/xml3d.js/wiki/The-Basics-of-XML3D . Nothing showed up. The browser is Firefox 38.0.5
Console log:
GET http://www.xml3d.org/xml3d/script/xml3d.js [HTTP/1.1 200 OK 804ms] GET http://www.xml3d.org/xml3d/script/tools/camera.js [HTTP/1.1 200 OK 163ms] The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol. teapot.html "loadDocument@http://www.xml3d.org/xml3d/script/xml3d.js:6065:8 [10]</Resource.getAdapterHandle@http://www.xml3d.org/xml3d/script/xml3d.js:6342:16 [7]</NodeAdapter.prototype.getAdapterHandle@http://www.xml3d.org/xml3d/script/xml3d.js:5446:0 [18]</DataAdapter.prototype.updateAdapterHandle@http://www.xml3d.org/xml3d/script/xml3d.js:7936:24 [18]</DataAdapter.prototype.init@http://www.xml3d.org/xml3d/script/xml3d.js:7925:0 [7]</NodeAdapterFactory.prototype.getAdapter@http://www.xml3d.org/xml3d/script/xml3d.js:5552:8 [10]</Resource.getAdapter@http://www.xml3d.org/xml3d/script/xml3d.js:6364:0 [46]</<.createRenderNode@http://www.xml3d.org/xml3d/script/xml3d.js:12471:26 [46]</MeshRenderAdapter@http://www.xml3d.org/xml3d/script/xml3d.js:12465:4 [42]</RenderAdapterFactory.prototype.createAdapter@http://www.xml3d.org/xml3d/script/xml3d.js:12177:0 [7]</NodeAdapterFactory.prototype.getAdapter@http://www.xml3d.org/xml3d/script/xml3d.js:5549:14 [7]</NodeAdapter.prototype.traverse@http://www.xml3d.org/xml3d/script/xml3d.js:5467:22 [7]</NodeAdapter.prototype.traverse@http://www.xml3d.org/xml3d/script/xml3d.js:5468:0 [112]</GLRenderer@http://www.xml3d.org/xml3d/script/xml3d.js:21607:4 [58]</RendererFactory/this.createRenderer@http://www.xml3d.org/xml3d/script/xml3d.js:14312:23 [53]</configure/<@http://www.xml3d.org/xml3d/script/xml3d.js:13394:23 [53]</configure@http://www.xml3d.org/xml3d/script/xml3d.js:13392:4 initXML3DElement@http://www.xml3d.org/xml3d/script/xml3d.js:9502:8 onLoad@http://www.xml3d.org/xml3d/script/xml3d.js:9580:8" xml3d.js:25200:0 "No view referenced. Trying to use first view." xml3d.js:25194:24 mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create xml3d.js:10977:8 TypeError: this.renderer is undefined xml3d.js:17924:4
The "renderer is undefined" message count increases, when I move cursor above the possible rendering area.
The browser is Firefox 38.0.5
It seems I cannot inspect further without help from XML3D people.
This is related to https://jira.fiware.org/browse/HELP-3152 .
I have copy and pasted the code from the example wiki and it worked without problems.
Can you provide me with the code of your test scene please?