Skip to content

Instantly share code, notes, and snippets.

@andreasplesch
Created August 27, 2024 15:41
Show Gist options
  • Save andreasplesch/4ca3ebe9a51ebc8d28515b5e13229d54 to your computer and use it in GitHub Desktop.
Save andreasplesch/4ca3ebe9a51ebc8d28515b5e13229d54 to your computer and use it in GitHub Desktop.
StaticGroup tests
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "http://www.web3d.org/specifications/x3d-4.0.dtd">
<X3D profile='Interchange' version='4.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-4.0.xsd'>
<head>
<component name='CubeMapTexturing' level='3'/>
<meta name='created' content='Fri, 23 Aug 2024 19:51:47 GMT'/>
<meta name='creator' content='Holger Seelig'/>
<meta name='generator' content='Sunrize X3D Editor V1.7.12, https://create3000.github.io/sunrize/'/>
<meta name='modified' content='Sat, 24 Aug 2024 11:20:35 GMT'/>
</head>
<Scene>
<WorldInfo
title='StaticGroup test with Inline node'>
<MetadataSet containerField='metadata'
name='Sunrize'
reference='https://create3000.github.io/sunrize/'>
<MetadataSet
name='GridTool'>
<MetadataBoolean
name='visible'
value='true'/>
</MetadataSet>
</MetadataSet>
</WorldInfo>
<Background DEF='Summer'
skyAngle='0.8, 1.3, 1.4, 1.5708'
skyColor='0.21 0.31 0.59, 0.33 0.45 0.7, 0.57 0.66 0.85, 0.6 0.73 0.89, 0.7 0.83 0.98'
groundAngle='0.659972, 1.2, 1.39912, 1.5708'
groundColor='0.105712 0.156051 0.297, 0.187629 0.255857 0.398, 0.33604 0.405546 0.542, 0.3612 0.469145 0.602, 0.39471 0.522059 0.669'/>
<Viewpoint
description='Initial View'
position='0.2750405 0.4539119 0.8405286'
orientation='-0.776588739330481 0.61771873128448 0.123828506271318 0.5052317'
centerOfRotation='0 0.0844979 0'
nearDistance='0.001'
farDistance='1000'/>
<EnvironmentLight
intensity='2'>
<ImageCubeMapTexture containerField='diffuseTexture'
url='"https://create3000.github.io/x_ite/assets/laboratory/gltf-sample-viewer/images/cannon-exterior-diffuse.jpg"'>
<TextureProperties DEF='_2'
generateMipMaps='true'
minificationFilter='NICEST'
magnificationFilter='NICEST'/>
</ImageCubeMapTexture>
<ImageCubeMapTexture containerField='specularTexture'
url='"https://create3000.github.io/x_ite/assets/laboratory/gltf-sample-viewer/images/cannon-exterior-specular.jpg"'>
<TextureProperties USE='_2'/>
</ImageCubeMapTexture>
</EnvironmentLight>
<Group DEF='glTF'>
<!-- <StaticGroup DEF='glTF'> -->
<Transform DEF='chess4xv4xh2xd'>
<Transform DEF='chess4xv2xh2xd'>
<Transform DEF='chess2xv2xh2xd'>
<Transform DEF='chess2xv2xh'>
<Transform DEF='chess2xv'>
<Transform DEF='chess'>
<Inline
url='"https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Assets/master/Models/ABeautifulGame/glTF/ABeautifulGame.gltf"'/>
</Transform>
<Transform translation='0 .2 0'>
<Transform USE='chess'/>
</Transform>
</Transform>
<Transform translation='1 0 0'>
<Transform USE='chess2xv'/>
</Transform>
</Transform>
<Transform translation='0 0 1'>
<Transform USE='chess2xv2xh'/>
</Transform>
</Transform>
<Transform translation='0 0.4 0'>
<Transform USE='chess2xv2xh2xd'/>
</Transform>
</Transform>
<Transform translation='2 0 0'>
<Transform USE='chess4xv2xh2xd'/>
</Transform>
</Transform>
<Transform translation='0 0 2'>
<Transform USE='chess4xv4xh2xd'/>
</Transform>
</Group>
<!-- </StaticGroup> -->
</Scene>
</X3D>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment