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

John Carlson yottzumm at gmail.com
Mon May 22 15:39:50 PDT 2017

Is that a NavigationInfo type Mode which makes the scene visible?



Sent from Mail for Windows 10

From: Leonard Daly
Sent: Monday, May 22, 2017 6:25 PM
To: x3d-public at web3d.org
Subject: Re: [x3d-public] Why this box doesn't show up in X3DOM, Cobweb

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

<?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>
<Scene><Transform><Transform><Shape><Box containerField="geometry" size="140 140 140"></Box>

x3d-public mailing list
x3d-public at web3d.org

Leonard Daly
3D Systems & Cloud Consultant
President, Daly Realism - Creating the Future 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170522/6f8851cf/attachment.html>

More information about the x3d-public mailing list