[x3d-public] X3DJSAIL running generated Java program to produce Java

John Carlson yottzumm at gmail.com
Tue Jul 24 05:01:33 PDT 2018


Yes, that is EXACTLY why I am working with HelloWorldProgramOutput.java.
It’s an example which did not contain setContainerField which I would like
to see if the XML or Java or JSON output had containerField or setContainer
field.   Now do you see my purpose for getting
HelloWorldProgramOutput.class to produce ANY X3D output?

On Tue, Jul 24, 2018 at 2:33 AM Don Brutzman <brutzman at nps.edu> wrote:

> typically you are not finding setContainerField because that simply
> reflects parent-child relationships.  it is handled internally by X3DJSAIL,
> which makes sense because containerField is part of XML encoding and not
> part of actual model structure..
>
> if incorrectly done in XML output, then the best correction is to fix the
> offending X3DJSAIL code rather than make things really confusing to
> programmers.
>
> not claiming it is yet perfect but we are getting closer and closer.
> test-case examples are best way to isolate and fix these.
>
> On 7/20/2018 7:16 PM, yottzumm at gmail.com wrote:
> > If we conclude that setContainerField() is the best way to add the
> container field (instead of something like setMaterial), I will have to
> change my serializers, and you will have to change X3dToJava.xslt.
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180724/031a96c7/attachment.html>


More information about the x3d-public mailing list