<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "https://www.web3d.org/specifications/x3d-4.0.dtd">
<X3D profile='Immersive'
version='4.0'
xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance'
xsd:noNamespaceSchemaLocation
='
https://www.web3d.org/specifications/x3d-4.0.xsd
'
>
<head>
<component level='1' name='Scripting'/>
<component name='EnvironmentalEffects' level='3'/>
<component name='Shaders' level='1'/>
<component name='CubeMapTexturing' level='1'/>
<component name='Texturing' level='1'/>
<component name='Rendering' level='1'/>
<component name='Grouping' level='3'/>
<component name='Core' level='1'/>
<meta name='title' content='ball.x3d'/>
<meta name='creator' content='John Carlson'/>
<meta name='generator' content='manual'/>
<meta name='identifier' content='
https://coderextreme.net/X3DJSONLD/src/main/data/ball.x3d
'/>
<meta name='description' content='a prismatic sphere'/>
</head>
<!--
-->
<Scene>
<WorldInfo title='ball.x3d'/>
<NavigationInfo type='"ANY" "EXAMINE" "FLY" "LOOKAT"'/>
<Viewpoint description='Tour Views'/>
<Background
backUrl='
"../resources/images/all_probes/stpeters_cross/stpeters_back.png
"
'
bottomUrl='
"../resources/images/all_probes/stpeters_cross/stpeters_bottom.png
"
'
frontUrl='
"../resources/images/all_probes/stpeters_cross/stpeters_front.png
"
'
leftUrl='
"../resources/images/all_probes/stpeters_cross/stpeters_left.png
"
'
rightUrl='
"../resources/images/all_probes/stpeters_cross/stpeters_right.png
"
'
topUrl='
"../resources/images/all_probes/stpeters_cross/stpeters_top.png
"
'
/>
<Transform>
<Shape>
<Sphere/>
<Appearance>
<Material diffuseColor='0.7 0.7 0.7' specularColor='0.5 0.5 0.5'/>
<
ComposedCubeMapTexture DEF='
texture'
containerField='
texture'>
</
ComposedCubeMapTexture>
<!-- <ProgramShader DEF='ProgramShader' containerField='shaders' language='GLSL'> <ShaderProgram url='"../shaders/freewrl.vs"' containerField='programs' type='VERTEX'> <field name='chromaticDispertion' accessType='initializeOnly' type='SFVec3f' value='0.98 1 1.033'/> <field name='bias' accessType='initializeOnly' type='SFFloat' value='0.5'/> <field name='scale' accessType='initializeOnly' type='SFFloat' value='0.5'/> <field name='power' accessType='initializeOnly' type='SFFloat' value='2'/> </ShaderProgram> <ShaderProgram url='"../shaders/freewrl.fs"' containerField='programs' type='FRAGMENT'/> </ProgramShader> here!!! -->
<!-- <ComposedShader language='GLSL'> <field name='chromaticDispertion' accessType='initializeOnly' type='SFVec3f' value='0.98 1 1.033'></field> <field name='fw_Texture_unit0' type='SFNode' accessType="initializeOnly"> <ComposedCubeMapTexture USE="texture"></ComposedCubeMapTexture> </field> <field name='bias' accessType='initializeOnly' type='SFFloat' value='0.5'></field> <field name='scale' accessType='initializeOnly' type='SFFloat' value='0.5'></field> <field name='power' accessType='initializeOnly' type='SFFloat' value='2'></field> <ShaderPart url='"../shaders/contact.vs"' type="VERTEX"
containerField='parts'></ShaderPart> <ShaderPart url='"../shaders/common.fs"' containerField='parts' type='FRAGMENT'></ShaderPart> </ComposedShader> here!!! -->
<!-- <ComposedShader language='GLSL'> <field name='chromaticDispertion' accessType='inputOutput' type='SFVec3f' value='0.98 1 1.033'></field> <field name='cube' type='SFNode' accessType="inputOutput"> <ComposedCubeMapTexture USE="texture"></ComposedCubeMapTexture> </field> <field name='bias' accessType='inputOutput' type='SFFloat' value='0.5'></field> <field name='scale' accessType='inputOutput' type='SFFloat' value='0.5'></field> <field name='power' accessType='inputOutput' type='SFFloat' value='2'></field> <ShaderPart url='"../shaders/octaga.vs"' type="VERTEX"
containerField='parts'></ShaderPart> <ShaderPart url='"../shaders/common.fs"' containerField='parts' type='FRAGMENT'></ShaderPart> </ComposedShader> here!!! -->
<!-- <ComposedShader language='GLSL'> <field name='chromaticDispertion' accessType='initializeOnly' type='SFVec3f' value='0.98 1 1.033'></field> <field name='cube' accessType='initializeOnly' type='SFInt32' value='0'></field> <field name='bias' accessType='initializeOnly' type='SFFloat' value='0.5'></field> <field name='scale' accessType='initializeOnly' type='SFFloat' value='0.5'></field> <field name='power' accessType='initializeOnly' type='SFFloat' value='2'></field> <ShaderPart url='"../shaders/instant.vs"' type="VERTEX"
containerField='parts'></ShaderPart> <ShaderPart url='"../shaders/common.fs"' containerField='parts' type='FRAGMENT'></ShaderPart> </ComposedShader> here!!! -->
<!-- here!!! -->
<
ComposedShader language='
GLSL'
containerField='
shaders'>
<field name='chromaticDispertion' type='SFVec3f' value='0.98 1 1.033' accessType='inputOutput'/>
<field name='cube' type='SFNode' accessType='inputOutput'>
<
ComposedCubeMapTexture USE='
texture'
containerField='
texture'/>
</field>
<field name='bias' type='SFFloat' value='0.5' accessType='inputOutput'/>
<field name='scale' type='SFFloat' value='0.5' accessType='inputOutput'/>
<field name='power' type='SFFloat' value='2' accessType='inputOutput'/>
<
ShaderPart containerField='
parts'
url='
"../shaders/x3dom.vs"
'
>
</
ShaderPart>
<
ShaderPart DEF='
common'
containerField='
parts'
type='
FRAGMENT'
url='
"../shaders/common.fs"
'
>
</
ShaderPart>
</
ComposedShader>
<
ComposedShader language='
GLSL'
containerField='
shaders'>
<field name='chromaticDispertion' type='SFVec3f' value='0.98 1 1.033' accessType='initializeOnly'/>
<field name='cube' type='SFNode' accessType='initializeOnly'>
<
ComposedCubeMapTexture USE='
texture'
containerField='
texture'/>
</field>
<field name='bias' type='SFFloat' value='0.5' accessType='initializeOnly'/>
<field name='scale' type='SFFloat' value='0.5' accessType='initializeOnly'/>
<field name='power' type='SFFloat' value='2' accessType='initializeOnly'/>
<
ShaderPart containerField='
parts'
url='
"../shaders/x_ite.vs"
'
>
</
ShaderPart>
<
ShaderPart containerField='
parts'
type='
FRAGMENT'
url='
"../shaders/x_itebubbles.fs"
'
>
</
ShaderPart>
</
ComposedShader>
</Appearance>
</Shape>
</Transform>
</Scene>
</X3D>
<!--
-->
-->
<!--
Color legend: X3D terminology
<X3dNode
DEF='idName' field='value'/>
matches XML terminology
<XmlElement
DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->