<
meta name='
image'
content='
create_vrml_from_url_viewpoint-front.jpg'/>
<
meta name='
creator'
content='
http://www.itl.nist.gov/div897/ctg/vrml/members.html '/>
<
meta name='
title'
content='
create_vrml_from_url_viewpoint.x3d'/>
<
meta name='
disclaimer'
content='
This file was provided by the National Institute of Standards and Technology, and is part of the X3D Conformance Test Suite, available at
http://www.nist.gov/vrml.html The information contained within this file is provided for use in establishing conformance to the ISO VRML97 Specification. Conformance to this test does not imply recommendation or endorsement by the National Institute of Standards and Technology. This software can be redistributed and/or modified freely provided that any derivative works bear some notice that they are derived from it, and any modified versions bear some notice that they have been modified. '/>
<
meta name='
translator'
content='
Michael Kass, NIST'/>
<
meta name='
translated'
content='
21 January 2001'/>
<
meta name='
error'
content='
problem in external .js script'/>
<
meta name='
modified'
content='
30 May 2004'/>
<
meta name='
description'
content='
Test that a Viewpoint genereated by CreateVrmlFromUrl should not be bound. A Viewpoint node is introduced into this world via the createVrmlFromURL containing a REAR view Viewpoint node. Because the Viewpoint node is introduced via a createVrmlFromURL method, it should not be bound to the top of the stack. As a result, the default frontal Viewpoint values should be used by the browser, and the viewer should have a FRONT view of the cube geometry.'/>
<
meta name='
identifier'
content='
http://www.web3d.org/x3d/content/examples/ConformanceNist/BindableNodes/Viewpoint/create_vrml_from_url_viewpoint.x3d '/>
<
meta name='
generator'
content='
Vrml97ToX3dNist,
http://ovrt.nist.gov/v2_x3d.html'/>
<
meta name='
generator'
content='
X3D-Edit,
http://www.web3d.org/x3d/content/README.X3D-Edit.html'/>
<
meta name='
license'
content='
../../license.html'/>
<
NavigationInfo type='
EXAMINE'
transitionType='
"ANIMATE"'/>
<
Background groundAngle='
1.57'
groundColor='
0 0.5 0 0 0.5 0'
skyColor='
0 0 1'/>
<!--
PROX_SENSOR ROUTE:
[
from isActive to MYSCRIPT.trigger_event
]
-->
<
ProximitySensor DEF='
PROX_SENSOR'
size='
100 100 100'/>
<
Shape>
<
Appearance>
</
Appearance>
<
IndexedFaceSet coordIndex='
0 1 2 3 -1'
texCoordIndex='
0 1 2 3 -1'>
<Coordinate point='-1 -1 1 1 -1 1 1 1 1 -1 1 1 1 1 -1 -1 1 -1 -1 -1 -1 1 -1 -1'/>
<TextureCoordinate point='0 0 1 0 1 1 0 1'/>
</
IndexedFaceSet>
</
Shape>
<
Shape>
<
Appearance>
</
Appearance>
<
IndexedFaceSet coordIndex='
1 7 4 2 -1'
texCoordIndex='
0 1 2 3 -1'>
<Coordinate point='-1 -1 1 1 -1 1 1 1 1 -1 1 1 1 1 -1 -1 1 -1 -1 -1 -1 1 -1 -1'/>
<TextureCoordinate point='0 0 1 0 1 1 0 1'/>
</
IndexedFaceSet>
</
Shape>
<
Shape>
<
Appearance>
</
Appearance>
<
IndexedFaceSet coordIndex='
7 6 5 4 -1'
texCoordIndex='
0 1 2 3 -1'>
<Coordinate point='-1 -1 1 1 -1 1 1 1 1 -1 1 1 1 1 -1 -1 1 -1 -1 -1 -1 1 -1 -1'/>
<TextureCoordinate point='0 0 1 0 1 1 0 1'/>
</
IndexedFaceSet>
</
Shape>
<
Shape>
<
Appearance>
</
Appearance>
<
IndexedFaceSet coordIndex='
0 3 5 6 -1'
texCoordIndex='
1 2 3 0 -1'>
<Coordinate point='-1 -1 1 1 -1 1 1 1 1 -1 1 1 1 1 -1 -1 1 -1 -1 -1 -1 1 -1 -1'/>
<TextureCoordinate point='0 0 1 0 1 1 0 1'/>
</
IndexedFaceSet>
</
Shape>
<
Shape>
<
Appearance>
</
Appearance>
<
IndexedFaceSet coordIndex='
3 2 4 5 -1'
texCoordIndex='
0 1 2 3 -1'>
<Coordinate point='-1 -1 1 1 -1 1 1 1 1 -1 1 1 1 1 -1 -1 1 -1 -1 -1 -1 1 -1 -1'/>
<TextureCoordinate point='0 0 1 0 1 1 0 1'/>
</
IndexedFaceSet>
</
Shape>
<
Shape>
<
Appearance>
</
Appearance>
<
IndexedFaceSet coordIndex='
0 6 7 1 -1'
texCoordIndex='
3 0 1 2 -1'>
<Coordinate point='-1 -1 1 1 -1 1 1 1 1 -1 1 1 1 1 -1 -1 1 -1 -1 -1 -1 1 -1 -1'/>
<TextureCoordinate point='0 0 1 0 1 1 0 1'/>
</
IndexedFaceSet>
</
Shape>
<
Transform DEF='
TRANS'/>
<!--
MYSCRIPT ROUTE:
[
from PROX_SENSOR.isActive to trigger_event
]
-->
<
Script DEF='
MYSCRIPT'
directOutput='
true'
url='
"
create_vrml_from_url_viewpoint.js"
"
http://www.web3d.org/x3d/content/examples/ConformanceNist/BindableNodes/Viewpoint/create_vrml_from_url_viewpoint.js"
'>
<
field name='
myself'
type='
SFNode'
accessType='
initializeOnly'>
</
field>
<
field name='
root'
type='
SFNode'
accessType='
initializeOnly'>
</
field>
<
field name='
trigger_event'
type='
SFBool'
accessType='
inputOnly'/>
</
Script>
<
ROUTE fromNode='
PROX_SENSOR'
fromField='
isActive'
toNode='
MYSCRIPT'
toField='
trigger_event'/>