[x3d-public] Why this box doesn't show up in X3DOM, Cobweb

Leonard Daly Leonard.Daly at realism.com
Mon May 22 15:24:49 PDT 2017


On 5/22/2017 2:45 PM, John Carlson wrote:
>
> Here’s my X3D.  But the screen is black in X3DOM and Cobweb, because 
> the Box is too big.  Apparently the Viewpoint is not automatically 
> adjusted?
>

A Viewpoint node is not explicitly provided so the default one is in 
effect. The default Viewpoint has the "camera" at z=+10. Even if you 
specified a Viewpoint node, but did not specify a position, the default 
one would be used. As your viewpoint is well within the box, and the box 
is one-sided; nothing is visible. Some browsers have a mode that moves 
the Viewpoint to a location and orientation where the entire scene is 
visible, but that changes the value of position and orientation.


Leonard Daly




> abox.x3d
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" 
> "http://www.web3d.org/specifications/x3d-3.3.dtd">
>
> <X3D  profile="Immersive" version="3.3" ><head><meta name="title" 
> content="abox.x3d"></meta>
>
> <meta name="creator" content="John Carlson"></meta>
>
> <meta name="generator" content="manual"></meta>
>
> <meta name="identifier" 
> content="https://coderextreme.net/X3DJSONLD/abox.x3d"></meta>
>
> <meta name="description" content="a box"></meta>
>
> </head>
>
> <Scene><Transform><Transform><Shape><Box containerField="geometry" 
> size="140 140 140"></Box>
>
> </Shape>
>
> </Transform>
>
> </Transform>
>
> </Scene>
>
> </X3D>
>
>
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org


-- 
*Leonard Daly*
3D Systems & Cloud Consultant
LA ACM SIGGRAPH Chair
President, Daly Realism - /Creating the Future/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170522/c00a72ae/attachment.html>


More information about the x3d-public mailing list