[x3d-public] What should this file display (for the experts)?

Don Brutzman brutzman at nps.edu
Tue May 31 12:12:31 PDT 2016

John, the scene passes all X3D Validator tests and shows 3 boxes.  As expected, the ProtoInstance fieldValue for myShape overrides the default (a cylinder).

Style note:  it is possible to stick in Shape/Text string="hey you forgot to reinitialize me" or somesuch using your proto design.

Test report:

- InstantReality and View3dscene correctly show boxes (screenshot attached)
- BS Contact, FreeWrl and Octaga mistakenly show Cylinders (failing to replace with ProtoInstance fieldValue Box)
- H3D Viewer mysteriously shows spheres (apparently from the un-instanced anyShape ProtoDeclare)
- Xj3D fails to load properly

Excellent test scene.  Let's add metadata and any updates (perhaps unique texture for each shape, describing each error case) and we can figure out where to archive it.

On 5/30/2016 2:16 PM, John Carlson wrote:
> Quick question.  This isn’t supposed to display both cylinders and cubes is it (addChildren does that?).
> Thanks,
> John
>> On May 28, 2016, at 5:00 PM, John Carlson <yottzumm at gmail.com> wrote:
>> X3D experts:  What should this file display?  Various browsers give different results. What is the official response?  This would be a good example for an X3D test for students!  I am writing a prototype expander, and I’m trying to nail down expected behavior.
>> Don, this file may be contributed to the example archives.
>> Thanks,
>> John<questionforexperts.x3d>

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: questionforexperts.png
Type: image/png
Size: 13623 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160531/72954cb2/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: questionforexperts.x3d
Type: model/x3d+xml
Size: 3803 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160531/72954cb2/attachment.x3d>

More information about the x3d-public mailing list