3D rendering X3DOM web pages

HTTPS X3DOM view X3DOM view
webGL support enabled

Added X3Dom web page rendering support to KitCAD i3 KGC (all versions); with X3DOM version 1.3.1-dev. Mozilla Firefox and Google Chrome web browsers support the rendering and webGL display of X3Dom content.

Users with Firefox web Browsers are required to use the Flash player plug-in by default to render 3D content when WebGL/X3Dom is disabled. To enable WebGL/X3Dom support with Firefox web Browsers {before version 34.0} – users will need to make configuration changes. Firefox 14/15/16/+17.0.1/../-34.0 users will need to enter the URL of about:config and change the setting of webgl.force-enabled to be true.

Off-line rendering support is also offered – with other configuration changes to security settings; as described in the maintenance notice.

17 Responses to “3D rendering X3DOM web pages”

  1. Admin Says:

    Updated _i3_x3dom.htm to correct 1 minor coding syntax issue, see release notice for more information.

  2. Admin Says:

    Updated KitCAD i3 KGC (online version ONLY):

    X3DOM version 1.3.1-dev -> X3DOM version 1.4.0

    X3DOM Revison f25d71a1c727b724e85218c51e9ce462b456fbb1

    Administrators can manually install the updated files for X3DOM 1.4.0 (without waiting for KitCAD i3 setup upgrades) by downloading the x3dom-1.4.0.zip file from x3dom.org downloads, and un-zip/download updated X3DOM 1.4.0 files into the following KitCAD i3 KGC folders where present:-

    *\htdocs\library\i3\x3dom10\
    C:\Program Files\Kitchen\KitCADi3\test\x3dom10\
    C:\Program Files (x86)\Kitchen\KitCADi3\test\x3dom10\

    X3DOM 1.4.0 FILES (required for KitCAD i3 KGC):

    x3dom.js
    x3dom.css
    x3dom.swf

  3. Admin Says:


    Click to view larger image

    It was noted with Google Chrome and X3DOM 1.3.1-dev there could be ORIGIN errors even after the correct settings were enabled on the webpage server (and Chrome webpage browser). Other issues include the Images being transferred as a text mime type.

    The result is a darkened image (its visible). For some reason the browser (or bad ISP connection) seems to be at fault (not the X3DOM script or KitCAD i3 KGC generated file).

    After noting the darkening of the images, other errors can be seen in the dialog box for renderings like that generated by KitCAD i3 KGC:-
    ERROR: [Utils|createTexture2D] Can’t load Image: file://localhost/C:/Program%20Files%20(x86)/Kitchen/KitCADi3/test/vrml97/pink/4draw.jpg

    Firefox 16 and X3DOM 1.3.1-dev does show the correct X3DOM result, but includes warnings like:
    WARNING:
    (58,18): warning X3206: implicit truncation of vector type
    (59,18): warning X3206: implicit truncation of vector type
    (60,19): warning X3206: implicit truncation of vector type
    WARNING: (34,16): warning X3206: implicit truncation of vector type
    WARNING: (36,16): warning X3206: implicit truncation of vector type
    WARNING: (34,17): warning X3206: implicit truncation of vector type
    WARNING: (34,17): warning X3206: implicit truncation of vector type
    WARNING: (35,19): warning X3206: implicit truncation of vector type

    NOTE: Updating from the KitCAD i3 KGC offline and KitchenPages.net webserver from X3DOM 1.3.1-dev to 1.4.0 corrects something for Google Chrome webpage browser (the darkened image bug has now gone – Swapping back to 1.3.1-dev still causes the darkened image issue). Localhost users will need to set the --allow-file-access-from-files --allow-file-access origin permissions for Google Chrome.

  4. Admin Says:

    Opera 12 running on Windows x86/x64 has issue rendering X3DOM – showing black texture in-place of images (see the following post below for setting a crossdomain.xml file). Other platforms have been reported to render without issue.

  5. Admin Says:

    Setting a crossdomain.xml file on a source domain allows the X3Dom SWF plug-in used for Opera/Safari web browsers to display texture images from documents hosted on other domains, see issue for more information (correcting black image issue).

  6. Admin Says:

    Updated KitCAD i3 KGC:

    X3DOM version 1.4.0 -> X3DOM version 1.5.0

    X3DOM Revison bd0c4fe7954094877b20444b729f04aaf3a466a5

    See X3dom 1.5.0 release notice for more information.

    KitCAD users and some Web Browsers which display Part-of-a-Black/White-image will need to clear Web Browser cache so that the updated files will be re-downloaded.

  7. Admin Says:

    Updated KitCAD i3 KGC (online version ONLY):

    X3DOM version 1.5.0 -> X3DOM version 1.5.1

    X3DOM Revison c0f47cbb994175bc43240b8de110f51628c95b6a

    See X3dom 1.5.1 release notice for more information.

    KitCAD users and some Web Browsers which display Part-of-a-Black/White-image will need to clear Web Browser cache so that the updated files will be re-downloaded.

  8. Admin Says:

    Updated KitCAD i3 KGC (online version ONLY at this time, others may follow):

    X3DOM version 1.5.1 -> X3DOM version 1.6.0

    X3DOM Revision 5e8c0441fe2cbe9970ffd14f1546100672a95185

    See X3dom 1.6.0 release notice for more information.

    KitCAD users and some Web Browsers which display Part-of-a-Black/White-image will need to clear Web Browser cache so that the updated files will be re-downloaded.

  9. Admin Says:

    Updated KitCAD i3 KGC (ALL versions):

    X3DOM version 1.5.0 – 1.5.1 -> X3DOM version 1.6.0

    X3DOM Revision 5e8c0441fe2cbe9970ffd14f1546100672a95185

    See KitCAD i3 KGC 2014 maintenance upgrade release notice for more information.

  10. Admin Says:

    Updated online version for KitCAD i3 KGC; The current build of X3DOM can be found online at: http://www.x3dom.org/x3dom/release/x3dom.js|x3dom.css|x3dom.swf

    X3DOM version 2.0.0-dev
    X3DOM Revision cbcee9080402f6d5507f747da625deca8ac3fc62
    Released on Monday June 02 of 2014 at 17:35:17 +0200

    Please note that this DEV version was not included for release within the KitCAD i3 KGC 2014 maintenance upgrade (See above).

    The X3DOM 2.0.0-dev version will cause Firefox 31.0 in certain circumstances to reflow and write console log messages many times when displaying content.

    See below for updated information.

  11. Admin Says:

    Following on from previous post, above – Updated online version for KitCAD i3 KGC; The current build of X3DOM can be found online at: http://www.x3dom.org/x3dom/release/x3dom.js|x3dom.css|x3dom.swf

    X3DOM version 1.6.1
    X3DOM Revision 979902877438b38183164b102350130392ada7d5
    Released Thursday July 24 of 2014 at 17:38:21 +0200

    See release notice for more information

    Offline versions (downloads) will/may be updated over time to this version. Notices will be changed/posted when update has been performed.

  12. Admin Says:

    To enable WebGL/X3Dom support with current Firefox web Browsers {version 34.0} – Previous users will/may need to undo past configuration changes.

    KitCAD i3 KGC users who have updated from past Web Browser versions up to the latest current Firefox version 34.0 or better {may no longer see rendered X3DOM displays} and will be required to re-enter the URL of about:config and reset the previous setting of webgl.force-enabled to now be false {false is the default setting}.

    Updating the Adobe Flash player plug-in also may assist; See http://support.mozilla.org/en-US/kb/why-do-i-have-click-activate-plugins [shared hyperlink] for Mozilla browser specific information on allowing the plug-in, and then https://get.adobe.com/flashplayer/ for the current downloadable releases.

    With the default setting of true; The protocol schemes of file: and http:/https: will prevent X3DOM being displayed {because of security settings settings}. Advanced inline resizing Javascript for image-loads when the true setting is in use is not included {see below, error for true setting}.

    WebGL: Disallowing antialiased backbuffers due to blacklisting. x3dom.js:1706
    WebGL: Requested size 550x550 was too large, but resize to 8x8 succeeded. x3dom.js:1706
    Use of Mutation Events is deprecated. Use MutationObserver instead. x3dom.js:543
    WebGL: Requested size 550x550 was too large, but resize to 8x8 succeeded. x3dom.js:447
    WebGL: Requested size 550x550 was too large, but resize to 8x8 succeeded. x3dom.js:448
    WebGL: texImage2D generated error INVALID_VALUE x3dom.js:151
    WebGL: renderbufferStorage generated error INVALID_ENUM x3dom.js:154
    WebGL: A texture is going to be rendered as if it were black
    , as per the OpenGL ES 2.0.24 spec section 3.8.2
    , because it is a 2D texture, with a minification filter requiring a mipmap
    , and is not mipmap complete (as defined in section 3.7.10). x3dom.js:137
    WebGL: linkProgram failed, with this log:
    Failed to create D3D shaders.
     x3dom.js:1560
    WebGL: getUniformLocation: string contains a reserved GLSL prefix x3dom.js:211
    ERROR: WebGL: No further warnings will be reported for this WebGL context
     (already reported 32 warnings)
    

    With the default setting of false; ONLY the protocol scheme of file: will prevent X3DOM being displayed {see below, error for false setting}.

    WebGL: Refused to create ANGLE OpenGL context because of blacklisting. x3dom.js:1706
    WebGL: Refused to create native OpenGL context because of blacklisting. x3dom.js:1706
    WebGL: WebGL creation failed. x3dom.js:1706
    WebGL: Refused to create ANGLE OpenGL context because of blacklisting. x3dom.js:1706
    WebGL: Refused to create native OpenGL context because of blacklisting. x3dom.js:1706
    WebGL: WebGL creation failed. x3dom.js:1706
    Synchronous XMLHttpRequest on the main thread is deprecated
     because of its detrimental effects to the end user's experience.
     For more help http://xhr.spec.whatwg.org/ x3dom.js:519
    

  13. Admin Says:

    Following on from previous post, above – Updated online version for KitCAD i3 KGC; The current build of X3DOM can be found online at: http://www.x3dom.org/x3dom/release/x3dom.js|x3dom.css|x3dom.swf

    X3DOM version 1.6.2
    X3DOM Revision 8f5655cec1951042e852ee9def292c9e0194186b
    Released Saturday Decmeber 20 of 2014 at 00:03:52 +0100

    See http://www.x3dom.org/?p=3992 for more information

    Online and Offline versions (downloads) will/may be updated over time to this version. Notices will be changed/posted when update has been performed.

  14. Admin Says:

    Following on from previous post, above – Updated online version for KitCAD i3 KGC; The current build of X3DOM can be found online at: http://www.x3dom.org/x3dom/release/x3dom.js|x3dom.css|x3dom.swf

    X3DOM version 1.7.0
    X3DOM Revision f33e92d248a2f25d52fa63ede8ffee570c8a6304
    Released Saturday June 17 of 2015 at 09:49:25 +0200

    See http://www.x3dom.org/x3dom-1-7-released/ for more information

    Online and Offline versions (downloads) were updated with the 28th November KitCAD i3 KGC rX release/s.

  15. Admin Says:

    Following on from previous post, above – Next Update to online version for KitCAD i3 KGC; The current build of X3DOM can be found online at: http://www.x3dom.org/x3dom/release/x3dom.js|x3dom.css|x3dom.swf

    X3DOM version 1.7.1
    X3DOM Revision 27d2b19b572f365b32d12cd9883e4bf894e60cef
    Released Tuesday January 5 of 2016 at 13:25:24 +0200

    See http://www.x3dom.org/x3dom-1-7-1-released/ for more information

    Online and Offline versions (downloads) have been updated this version (as of 24th April 2016).

  16. Admin Says:

    Modified DCEF 3.0 guiclient.exe black cube rendering on some systems can be corrected by applying two file updates, see DCEF 4.0 release notice for more information; Files of libEGL.dll (version 2.1.0.0) and libGLESv2.dll (version 2.1.0.0).

  17. Admin Says:

    Firefox 52.6.0 win32 (ESR version) – x3dom rendering red screen issue, FEATURE_FAILURE_DL_BLACKLIST_g1251, issue report

Leave a Reply

You must be logged in to post a comment.