[x3d-public] X3DJSAIL progress report: need USE

yottzumm at gmail.com yottzumm at gmail.com
Mon Mar 20 17:43:28 PDT 2017


I can willingly take either form of these if it will help with logic etc.  I think a more tightly bound tree may be useful, instead of just relying on String values.  We do still need DEF strings, for output

John

Sent from Mail for Windows 10

From: John Carlson
Sent: Monday, March 20, 2017 7:18 PM
To: Don Brutzman
Subject: Re: X3DJSAIL progress report: need USE

Now will setUSE take an SFString or an X3Node pointing at the other node?   For example:

X3DNode defNode;

...

defNode = new TransformObject()
          .setDEF("defNode")
...
new TransformObject ()
          .setUSE(defNode)
...
Or
...
new TransformObject ()
           .setUSE(defNode.getDEF())

Which usage is preferred?

John


On Mar 20, 2017 11:03 AM, "Don Brutzman" <brutzman at nps.edu> wrote:
Great catch.  A lot of logic is under the hood regarding handling.

I added an example USE to HelloWorldProgram.java and found that it compiled and ran OK but is not in the serializer output.  Will work on that.

On 3/20/2017 5:20 AM, John Carlson wrote:
Does this update include USE field output?   I will check your TXT file.

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170320/8afba5f7/attachment.html>


More information about the x3d-public mailing list