[x3d-public] X3DJSAIL. Getting a lot of new warnings. Advise?

John Carlson yottzumm at gmail.com
Thu Mar 28 07:15:27 PDT 2019


Attached is the full file listing from archives/savage. Christoph, some of your filenames meet this criteria, and have been included, apologies for any confusion about incorporating non-archive filenames Don. They should be labelled jwc (my initials).

Enjoy!

John
Sent from Mail for Windows 10

From: John Carlson
Sent: Thursday, March 28, 2019 9:00 AM
To: Brutzman, Donald (Don) (CIV); X3D Graphics public mailing list
Subject: RE: X3DJSAIL. Getting a lot of new warnings. Advise?

I believe there are many with optional containerField.  Here are some (I am fairly sure) from the archives.

To find your own set, try this command under Cygwin:

$ find x3d-code/www.web3d.org/x3d/content/examples -type f -print0 |xargs -0 grep "<ProtoInstance" |grep -v containerField| awk -F: '{ print $1; }'|uniq

Note if containerField is on another line from ProtoInstance, it will create a false positive.

John


./ConformanceNist/BindableNodes/Fog/default_binding_proto.new.x3d
./ConformanceNist/BindableNodes/Fog/default_binding_proto.x3d
./ConformanceNist/BindableNodes/NavigationInfo/default_binding_proto.new.x3d
./ConformanceNist/BindableNodes/NavigationInfo/default_binding_proto.x3d
./ConformanceNist/BindableNodes/Viewpoint/default_binding_proto.new.x3d
./ConformanceNist/BindableNodes/Viewpoint/default_binding_proto.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/different_name.new.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/different_name.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/first_proto.new.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/first_proto.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/ignore_externproto.new.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/ignore_externproto.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/multi_url_specific.new.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/multi_url_specific.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/multi_url_specific_nofile.new.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/multi_url_specific_nofile.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/specific_proto.new.x3d
./ConformanceNist/Miscellaneous/EXTERNPROTO/specific_proto.x3d
./ConformanceNist/Miscellaneous/LocalFog/LocalFogEffectsTest.new.x3d
./ConformanceNist/Miscellaneous/LocalFog/LocalFogEffectsTest.x3d
./ConformanceNist/Miscellaneous/PROTO/def.new.x3d
./ConformanceNist/Miscellaneous/PROTO/def.x3d
./ConformanceNist/Miscellaneous/PROTO/fivedeepinternalroute.new.x3d
./ConformanceNist/Miscellaneous/PROTO/fivedeepinternalroute.x3d
./ConformanceNist/Miscellaneous/PROTO/fivedeepnesting.new.x3d
./ConformanceNist/Miscellaneous/PROTO/fivedeepnesting.x3d
./ConformanceNist/Miscellaneous/PROTO/route_inside.new.x3d
./ConformanceNist/Miscellaneous/PROTO/route_inside.x3d
./ConformanceNist/Miscellaneous/PROTO/simple.new.x3d
./ConformanceNist/Miscellaneous/PROTO/simple.x3d


Sent from Mail for Windows 10

From: Brutzman, Donald (Don) (CIV)
Sent: Thursday, March 28, 2019 3:37 AM
To: John Carlson; X3D Graphics public mailing list
Subject: Re: X3DJSAIL. Getting a lot of new warnings. Advise?

please send example scene so i can scrutinize more closely.

On 3/26/2019 7:24 AM, John Carlson wrote:
> WARNING_MESSAGE: ProtoInstance name='node' DEF='nodeB' USE='' is missing containerField relationship to parent node, assuming containerField='children' from initial node in corresponding ProtoDeclare. Need to fix ProtoInstance definition in model source.
> 
> Do I just need to add a containerField to my ProtoInstances?

if not containerField="children" field relationship, then it is definitely needed with correct value.

default is containerField="children" which should be optional.

> Thanks,
> 
> John

likewise thanks 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/20190328/a4dc09aa/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: files.txt
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190328/a4dc09aa/attachment-0001.txt>


More information about the x3d-public mailing list