jamesleesaunders / d3-x3d

3D Data Driven Charting Library with D3 and X3D
https://jamesleesaunders.github.io/d3-x3d/
GNU General Public License v2.0
108 stars 22 forks source link

Unkown node type 'ENVIRONMENT' on x-ite #228

Closed jamesleesaunders closed 1 year ago

jamesleesaunders commented 1 year ago

Following on from: https://github.com/jamesleesaunders/d3-x3d/issues/207 Also see: https://github.com/jamesleesaunders/d3-x3d/issues/122


I have it working on X3DOM here: https://raw.githack.com/jamesleesaunders/d3-x3d/master/examples/X3DOM/chart/VolumeSliceChart.html

But could not get it working on X_ITE: https://raw.githack.com/jamesleesaunders/d3-x3d/master/examples/X_ITE/chart/VolumeSliceChart.html

Getting errors:

x_ite.min.js:18 XML Parser Error: Unkown node type 'ENVIRONMENT', you probably have insufficient component/profile statements. nodeElement @ x_ite.min.js:18 x_ite.min.js:18 XML Parser Error: Unkown node type 'IMAGETEXTUREATLAS', you probably have insufficient component/profile statements. nodeElement @ x_ite.min.js:18 x_ite.min.js:18 XML Parser Error: Unkown node type 'MPRVOLUMESTYLE', you probably have insufficient component/profile statements. TBH I haven't looked fully into it but are there any obvious fixes I could make to get it working on X_ITE also?

Thanks again for the URL update!

@jamesleesaunders jamesleesaunders reopened this on Dec 18, 2021 @create3000 Contributor Author create3000 commented on Dec 18, 2021 These nodes are non standard and not implemented by X_ITE, sorry. Although ImageTextureAtlas was in discussion for X3Dv4 and seems to me very useful. X_ITE implements only standard nodes.

Texturing3D component: https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/texture3D.html VolumeRendering component: https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/volume.html

jamesleesaunders commented 1 year ago

Fixed by https://github.com/jamesleesaunders/d3-x3d/commit/142ebe30f5016e8ca8c879a2668dbcc12318b883