[X3D-Ecosystem] X3DOM/X_ITE/Castle Content Preview in RawKee X3D Exporter for Maya

Bergstrom, Aaron aaron.bergstrom at und.edu
Tue Feb 18 09:58:24 PST 2025


All,

I would like to open a discussion about incorporating X3D viewers into Maya as content previewers. Specifically, I would like to include X3DOM, X_ITE, and the Castle WebAssembly viewers with the RawKee export plugin.

I've posted about this in the past, but because the Maya GUI is Qt-based, I am able to display HTML files directly in Maya using PySide6 QWebEngine. Essentially, it's a WebGL-enabled web browser based on Chrome version 108.

This basically gives me the capability to display X3D canvases based on X3DOM and X_ITE as WebGL windows for model previewing. So far I have tested with X3DOM and X_ITE with Maya, and it works amazingly well.

Using a QtWebChannel object, I can communicate directly with the webpage/DOM loaded in the QWebEngine object. This also requires the inclusion of a 'qwebchannel.js' script (provided by PySide6 ) in the webpage, which opens communication between the webpage and the host application.

What I'm hoping for is to collaborate with the X3D Ecosystem community and X3D viewer developers to standardize Maya/RawKee/QtWebChannel communication across the various viewers.

You can learn a bit more about this here:
https://doc.qt.io/qtforpython-6/PySide6/QtWebChannel/index.html

And by doing a Google search based on these search request:
'communicate with QtWebEngine using javascript via PySide6'

Thoughts?

Thanks,

Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20250218/920d80df/attachment.html>


More information about the X3D-Ecosystem mailing list