[x3d-public] Element stripped by X3dToJson.xslt
Don Brutzman
brutzman at nps.edu
Fri Nov 20 23:55:14 PST 2020
Hi John. The stylesheet doesn't support this conversion because Environment is not a standard X3D node.
* X3D4 Architecture, Annex Z (normative) Version content
https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-WD2/Part01/versionContent.html
On 11/20/2020 4:26 AM, John Carlson wrote:
>
> Successful test of:
>
> <Environment gammaCorrectionDefault="none"></Environment>
>
> converted to JSON.
>
> See attached image!
>
> Bye!
>
> John
>
> image.png
>
> On Fri, Nov 20, 2020 at 6:19 AM John Carlson <yottzumm at gmail.com <mailto:yottzumm at gmail.com>> wrote:
>
> Environment may be automatically converted over to JSON using X3DJSONLD:
>
> $ node ../node/xml2all.js ../data/ball.x3d
>
> Now for test!
>
> On Fri, Nov 20, 2020 at 6:16 AM John Carlson <yottzumm at gmail.com <mailto:yottzumm at gmail.com>> wrote:
>
> This element is stripped from JSON when processing with X3dToJson.xslt
>
> <Environment gammaCorrectionDefault="none"></Environment>
>
> Thus there is no way to achieve similar effects between X3DOM and X_ITE in an automated fashion with stylesheets.
>
> John
>
all the best, Don
--
Don Brutzman Naval Postgraduate School, Code USW/Br brutzman at nps.edu
Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman
More information about the x3d-public
mailing list