[x3d-public] x3dom prototypes, extern proto (J. Scheurich)

Andreas Plesch andreasplesch at gmail.com
Mon Jul 13 20:06:37 PDT 2020


The scene uncovered one more oversight, eg. not dealing quite properly
with fields without a default value in ProtoInterface, for example for
outputOnly fields.

Upon further inspection, it looks as if the empty coordIndex fields
are an interesting way to indicate to the browser to not render the
geometry, rather than just omitting the Shape. The spec. actually
seems to be quiet on this case leaving it undefined.

Also, the incorrect url seems to be a way to not want to load the
externproto, hoping to fall back on a proto with the same name loaded
earlier, in the parent scene. Rather than just not including the
externproto in this place.

I commented the Shapes with the empty geometries and the unwanted
externproto, and it looks more reasonable now, eg. no more red lines.

Since the scene looks better full screen, let me provide a standalone page:

https://andreasplesch.github.io/x3dom/test/functional/proto/extern/vrml_benz/kurve_benz_maximum.html

Sometimes pressing 'r' to reset the view helps with the animated viewpoints.

-Andreas

On Mon, Jul 13, 2020 at 7:00 PM Andreas Plesch <andreasplesch at gmail.com> wrote:
>
> I had to fix these issues with the kurve scene:
>
> bauteile part5.wrl and others have an IndexedFaceSet coordIndex field
> which is empty (?), replaced with TriangleSet
> kurve_benz_trajektorie.wrl has incorrect url
>
> I also commented the scripts and the related ROUTEs.
>
> I uploaded the converted and fixed scene and it loads after selecting
> it from the drop down menu:
>
> https://andreasplesch.github.io/x3dom/test/functional/proto/inline.html
>
> Probably the red lines are not supposed to show up although they are
> defined in the prototypes. Perhaps a default value issue ?
>
> The animated viewpoints do not work that well but that is another
> x3dom issue (having to do with maintaining offsets from navigation
> when returning to a viewpoint I think).
>
> I am more concerned about the red IndexedLineSets. Should they be displayed ?
>
> -Andreas
>
>
> On Mon, Jul 13, 2020 at 3:00 PM <x3d-public-request at web3d.org> wrote:
> >
> > Send x3d-public mailing list submissions to
> >         x3d-public at web3d.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >         http://web3d.org/mailman/listinfo/x3d-public_web3d.org
> > or, via email, send a message with subject or body 'help' to
> >         x3d-public-request at web3d.org
> >
> > You can reach the person managing the list at
> >         x3d-public-owner at web3d.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of x3d-public digest..."
> >
> >
> > Today's Topics:
> >
> >    1. Re: x3dom prototypes, extern proto (J. Scheurich)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Mon, 13 Jul 2020 20:45:43 +0200
> > From: "J. Scheurich" <mufti11 at web.de>
> > To: x3d-public at web3d.org
> > Subject: Re: [x3d-public] x3dom prototypes, extern proto
> > Message-ID: <22a85c0c-8bb3-49b9-4d68-6080dd017631 at web.de>
> > Content-Type: text/plain; charset=utf-8; format=flowed
> >
> >
> > > The other issue is the kurve_benz.wrl uses 2 scripts which are not
> > > supported. How critical are those for testing ?
> > These scriots are used to move some viewpoints in a special way,
> > they are not so important.
> > >   What is the best way
> > > to remove them ?:
> >
> > Just click to the Script-Icon in white-dune and? use "Edit->delete".
> > This will also delete the matching ROUTEs.
> >
> > >
> > > Loading file: 'https://wdune.ourproject.org/examples/vrml_benz/kurve_benz_maximum.wrl'
> > > WARNING: Could not find definition of EXTERNPROTO called
> > > karosserie_trajektorie_proto in file
> > > https:///wdune.ourproject.org/examples/vrml_benz/karosserie_trajektorie.wrl
> > > WARNING: Could not load any of the URL's defined by Inline node
> > > starting with URL
> > > "https:///wdune.ourproject.org/examples/vrml_benz/kurve_benz.wrl"
> > Sorry, error,that is not detected by white_dune? 8-(
> >
> > Just delete the matching Inline/EXTERNPROTO.in a Text Editor 8-(
> >
> >
> > >
> > > view3dscene 3.19 had 4 warnings:
> > >
> > > X3D: Error ESocketError when loading inline file from URL
> > > "https:///wdune.ourproject.org/examples/vrml_benz/kurve_benz.wrl":
> > > Connection to :443 timed out.
> > > VRML/X3D: Cannot load external prototype from URL
> > > "https:///wdune.ourproject.org/examples/vrml_benz/karosserie_trajektorie.wrl":
> > > Connection to :443 timed out.
> > > VRML/X3D: External prototype "karosserie_trajektorie_proto" cannot be
> > > loaded, so cannot instantiate nodes using it
> > > VRML/X3D: Node "karosserie_trajektorie_proto" is not allowed at the
> > > top level of the X3D file
> >
> > same error...
> >
> >
> > >
> > > Scene URL: "http://wdune.ourproject.org/examples/vrml_benz/kurve_benz_maximum.wrl".
> > > Use "File->View Warnings" menu to view these warnings again.
> > >
> > > I think first it would be necessary to make sure the scene works with
> > > another browser, perhaps only a matter of making the scene local.
> >
> > X_ITE can run
> >
> > https://wdune.ourproject.org/examples/vrml_benz/kurve_benz_maximum.html
> >
> > so long
> > MUFTI
> >
> >
> >
> > ------------------------------
> >
> > Subject: Digest Footer
> >
> > _______________________________________________
> > x3d-public mailing list
> > x3d-public at web3d.org
> > http://web3d.org/mailman/listinfo/x3d-public_web3d.org
> >
> >
> > ------------------------------
> >
> > End of x3d-public Digest, Vol 136, Issue 38
> > *******************************************
>
>
>
> --
> Andreas Plesch
> Waltham, MA 02453



-- 
Andreas Plesch
Waltham, MA 02453



More information about the x3d-public mailing list