[x3d-public] including ProtoInterface keys in the JSON encoding; error logs and comment handling
Don Brutzman
brutzman at nps.edu
Sat Dec 12 06:34:29 PST 2015
On 12/11/2015 10:39 PM, John Carlson wrote:
> I’m using InstantPlayer 2.5.1 as far as I know, no copy and paste from the console.
I am working with 2.6.0 which is latest release on their website. I get identical results with your posted .x3d and the ".old" version, screenshot attached with some console text selected.
Instant Reality console mistakenly reports scene errors that values are missing from some fields even when they are not required (e.g. null SFNode intended, or IS/connect override provided).
On windows: mouse selection, select all (Ctrl A), and copy (Ctrl C) hot keys work on the console text. No console menu items seen to support text copy.
> I’ll work on comments.
thanks, glad it makes sense.
>Any luck debugging ArchPrototype.x3d in Cobweb?
>
> John
Sorry but have not yet added Cobweb support to X3D-Edit so test reports from someone else will be helpful.
>> On Dec 11, 2015, at 8:39 PM, Don Brutzman <brutzman at nps.edu> wrote:
>>
>> three items here:
>>
>> 1. InstantPlayer console
>>
>> On 12/10/2015 9:33 AM, John Carlson wrote:
>>> [...] I don’t know where the InstantPlayer log files are kept, and I can’t copy paste.
>>
>> InstantPlayer > Window menu > Console ^K
>>
>> example for your scene:
>> =======================
>> LOG Avalon Init: 12/286, V2.6.0 build: R-28726 Sep 30 2015 Windows x86_64
>> LOG Avalon CDF parsing (0.015s): 631 Node-Types defined
>> WARNING Avalon Script/ArchPrototypeScript.clearSpanWidth: Invalid Field dec, "value" missing for accessType initializeOnly
>> WARNING Avalon Script/ArchPrototypeScript.riseHeight: Invalid Field dec, "value" missing for accessType initializeOnly
>> WARNING Avalon Script/ArchPrototypeScript.depth: Invalid Field dec, "value" missing for accessType initializeOnly
>> WARNING Avalon Script/ArchPrototypeScript.topAbutmentHeight: Invalid Field dec, "value" missing for accessType initializeOnly
>> WARNING Avalon Script/ArchPrototypeScript.pierWidth: Invalid Field dec, "value" missing for accessType initializeOnly
>> WARNING Avalon Script/ArchPrototypeScript.pierHeight: Invalid Field dec, "value" missing for accessType initializeOnly
>> WARNING Avalon Script/ArchPrototypeScript.archHalf: Invalid Field dec, "value" missing for accessType initializeOnly
>> WARNING Avalon Script/ArchPrototypeScript.archHalfExtensionWidth: Invalid Field dec, "value" missing for accessType initializeOnly
>> WARNING Avalon Script/ArchPrototypeScript.onlyIntrados: Invalid Field dec, "value" missing for accessType initializeOnly
>> WARNING Avalon Script/ArchPrototypeScript.archFilled: Invalid Field dec, "value" missing for accessType initializeOnly
>> WARNING Avalon Script/ArchPrototypeScript.archHalfFilled: Invalid Field dec, "value" missing for accessType initializeOnly
>> WARNING Avalon Script/ArchPrototypeScript.lintel: Invalid Field dec, "value" missing for accessType initializeOnly
>> FATAL S3 Unknown S3 backend default; can not create
>> WARNING S3 Could not create S3 backend: default
>> WARNING OpenSG Window::getFunctionByName: Couldn't get function 'glPointParameterfEXT' for Window 000000000809FBC8.
>> WARNING OpenSG Window::getFunctionByName: Couldn't get function 'glPointParameterfvEXT' for Window 000000000809FBC8.
>> WARNING Avalon Inline/CoordinateAxes: Cannot load URL(s): ../../X3dForWebAuthors/Chapter03-Grouping/CoordinateAxes.x3d
>> WARNING Avalon Inline/CoordinateAxes: Cannot load URL(s): ../../../Savage/Tools/Authoring/CoordinateAxes.x3d
>> WARNING Avalon Collision/DoNotCollideWithVisualizationWidget has ambiguous fields (2) adding Group/80393344
>> WARNING Avalon Collision/DoNotCollideWithVisualizationWidget has ambiguous fields (2) adding ComponentTransform/56699600
>> WARNING Avalon Collision/DoNotCollideWithVisualizationWidget has ambiguous fields (2) adding ComponentTransform/136715392
>> =======================
>>
>> 2. It would be a real service to the community if someone or sometwo were willing to maintain a page that showed how to get errors from each player.
>>
>> Perhaps common best practice would eventually emerge as well...
>>
>> 3. Handling of JSON comments. Example:
>>
>> "#comment":[
>> "COLOR OF ARCH",
>> "INPUT PARAMETERS",
>> "General parameters: measures in meters",
>> "Parameters to create to create shapes related to arch: put true to apply"
>> ],
>>
>>> Returning ArchPrototype.x3d results from my loader for your perusal.
>>
>> Looks like the adjacent comments were merged:
>>
>> <!--COLOR OF ARCH
>> INPUT PARAMETERS
>> General parameters: measures in meters
>> Parameters to create to create shapes related to arch: put true to apply-->
>>
>> Can you instead please convert a "#comment" array of strings into an list of comments as follows:
>>
>> <!--COLOR OF ARCH-->
>> <!--INPUT PARAMETERS-->
>> <!--General parameters: measures in meters-->
>> <!--Parameters to create to create shapes related to arch: put true to apply-->
>>
>> 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
>
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 --------------
A non-text attachment was scrubbed...
Name: ArchPrototypeInstantReality.png
Type: image/png
Size: 113271 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20151212/36fd71d2/attachment-0001.png>
More information about the x3d-public
mailing list