[x3d-public] x3d-public Digest, Vol 127, Issue 28

Andreas Plesch andreasplesch at gmail.com
Thu Oct 17 08:00:18 PDT 2019


Agreed to everything. There was no task, just input to Don's question.
Cheers, -Andreas

On Thu, Oct 17, 2019 at 10:56 AM John Carlson <yottzumm at gmail.com> wrote:
>
> I was referring to the VRMLLoader in Three.js.  I don’t put a version on it, so if one rebuilds X3DJSONLD, one should get the most recent version of Three.js.
>
>
>
> Don doesn’t mention a VRMLLoader at all.
>
>
>
> I agree that support for X3D XML and X3D JSON is limited in the version I forked.
>
>
>
> I hope that clears things up.
>
>
>
> I think we would be better suited to port X3DOM or X_ITE to Three.js, but that’s a lot of work too.
>
>
>
> Do we need a second VRML loader which meets the X3Dv4 standard?  This might be where we could put in effort effectively.
>
>
>
> What’s the task here?  I don’t thing that the three-x3d-loader Don found (again) suitably matches the XML or JSON X3D standards. It’s more like someone’s experiment rather than a comprehensive effort.
>
>
>
> John
>
>
>
> Sent from Mail for Windows 10
>
>
>
> From: Andreas Plesch
> Sent: Thursday, October 17, 2019 7:36 AM
> To: X3D Graphics public mailing list
> Subject: Re: [x3d-public] x3d-public Digest, Vol 127, Issue 28
>
>
>
> John mentions an older, primitive x3d/vrml-loader. It is different
>
> from the one Don found which is also very primitive.
>
>
>
> Looking at github, Don's supports Transform, geometry primitives and
>
> IFS, color appearance and Imagetexture. That's about it.
>
>
>
> It still could be useful.
>
>
>
> -Andreas
>
>
>
> Date: Wed, 16 Oct 2019 21:36:06 -0500
>
> > From: John Carlson <yottzumm at gmail.com>
>
> > To: "Brutzman, Donald (Don) (CIV)" <brutzman at nps.edu>,  X3D Graphics
>
> >         public mailing list <x3d-public at web3d.org>
>
> > Subject: Re: [x3d-public] Three.js Loader for the X3D format.
>
> > Message-ID: <5da7d396.1c69fb81.cf392.17cf at mx.google.com>
>
> > Content-Type: text/plain; charset="utf-8"
>
> >
>
> > There?s a  very primitive integration of X3D JSON into three-x3d-loader mentioned here:
>
> >
>
> > http://web3d.org/pipermail/x3d-public_web3d.org/2017-April/006340.html
>
> >
>
> > Note that three-x3d-loader loads VRML (via Three.js VRMLLoader) and also converts X3D XML (and now X3D JSON) to proprietary JSON for loading.
>
> >
>
> > I believe that X3JSONLD has a three-x3d-loader/renderer with my modifications.  It needs improvement.
>
> >
>
> > We seem to fall upon this every year or so, but no one does anything about it.  Nobody has modified it for a year or so.
>
> >
>
> > I have placed an arrow on the three-x3d-loader rendered canvas below pointing at the white blob below.
>
> >
>
> > I think your best bet is to use the VRMLLoader found in Three.js: https://threejs.org/examples/#webgl_loader_vrml and not touch three-x3d-loader.
>
> >
>
> > I have spoken with the author about using X3D JSON instead of his/her JSON, but nothing has been done.  We probably need a JSON -> VRML converter written in JavaScript.  X3DJSAIL is probably a good start at this.  We need to convert various parts of X3DJSAIL to JavaScript/TiypeScript via TeaVM, Cheerpj, or JSweet, perhaps.
>
> >
>
> > Answer: Don?t go here with JSON and XML.  Encourage author to support more of the X3D standard beyond what Three.js already provides.
>
> >
>
> > The package essentially loads an X3DLoader into THREE space.
>
> >
>
> > So I would call it a VRML Loader and a XML to JSON (not X3D JSON) converter.  I have not really tested the X3D JSON -> JSON converter extensively.
>
> >
>
> >
>
> > John
>
> >
>
> >
>
> > Sent from Mail for Windows 10
>
> >
>
> > From: Brutzman, Donald (Don) (CIV)
>
> > Sent: Wednesday, October 16, 2019 2:46 PM
>
> > To: X3D Graphics public mailing list
>
> > Subject: [x3d-public] Three.js Loader for the X3D format.
>
> >
>
> > Wondering if anyone had used this, and whether to include it in X3D Resources.
>
> >
>
> >         dividab/three-x3d-loader - Three.js Loader for the X3D format.
>
> >         https://github.com/dividab/three-x3d-loader
>
> >
>
> > All information sharing welcome, am happy to keep adding relevant links online
>
> >
>
> >         X3D Resources
>
> >         https://www.web3d.org/x3d/content/examples/X3dResources.html
>
> >
>
> > 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
>
>
>
> _______________________________________________
>
> x3d-public mailing list
>
> x3d-public at web3d.org
>
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
>



-- 
Andreas Plesch
Waltham, MA 02453



More information about the x3d-public mailing list