| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "https://www.web3d.org/specifications/x3d-4.0.dtd">
|
| 3 | <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'> |
| 4 | <head> |
| 5 | <meta name='title' content=' ClaudeCodeSimpleModelTextured.x3d '/> |
| 6 | <meta name='description' content='Model generated by Claude Code, with small cleanups: Orbiting Primitives with Textures, using url links to open-source Wikimedia, only one of which worked. Four textured 3D primitives — sphere, box, cone, cylinder — orbiting on an animated platform.'/> |
| 7 | <meta name='author' content='Claude (Anthropic)'/> |
| 8 | <meta name='translator' content='Don Brutzman'/> |
| 9 | <meta name='created' content='27 February 2026'/> |
| 10 | <meta name='modified' content='17 March 2026'/> |
| 11 | <meta name='documentation' content=' ClaudeCodeExampleChatLog.pdf '/> |
| 12 | <meta name=' warning ' content=' original X3D scene produced by AI large language model (LLM), careful review and precautions are warranted '/> |
| 13 | <meta name='generator' content='Claude Sonnet 4.6'/> |
| 14 | <meta name='reference' content='https://claude.ai/new'/> |
| 15 | <meta name='reference' content=' originals/scene_textured.x3d '/> |
| 16 | <meta name='reference' content='History of initial changes at https://sourceforge.net/p/x3d/code/38626/log/?path=/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/LLM'/> |
| 17 | <meta name='generator' content='X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 18 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/LargeLanguageModels/ClaudeCodeSimpleModelTextured.x3d '/> |
| 19 | <meta name='license' content='https://creativecommons.org/licenses/by/4.0/'/> |
| 20 | </head> |
| 21 | <Scene> |
| 22 | <Background skyColor='0.05 0.05 0.1'/> |
| 23 | <NavigationInfo/> |
| 24 | <Viewpoint description='Default' orientation='1 0 0 -0.22' position='0 2 9'/> |
| 25 | <!-- Lighting --> |
| 26 | <DirectionalLight direction='-1 -2 -1' intensity='0.9'/> |
| 27 | <PointLight attenuation='0 0 0.05' intensity='1.5' location='3 5 3' radius='25'/> |
| 28 | <!-- Animated orbit group --> |
| 29 |
<!-- ROUTE information for ORBIT_GROUP node:
[from SPINNER.value_changed to set_rotation
]
-->
<Transform DEF='ORBIT_GROUP'> |
| 30 |
<!-- ROUTE information for TIMER node:
[from fraction_changed to SPINNER.set_fraction
]
-->
<TimeSensor DEF='TIMER' cycleInterval='7' loop='true'/> |
| 31 |
<!-- ROUTE information for SPINNER node:
[from TIMER.fraction_changed to set_fraction
]
[from value_changed to ORBIT_GROUP.set_rotation
]
-->
<OrientationInterpolator DEF='SPINNER' key='0 0.5 1' keyValue='0 1 0 0 0 1 0 3.14159 0 1 0 6.28318'/> |
| 32 | < ROUTE fromNode='TIMER' fromField='fraction_changed' toNode='SPINNER' toField='set_fraction'/> |
| 33 | < ROUTE fromNode='SPINNER' fromField='value_changed' toNode='ORBIT_GROUP' toField='set_rotation'/> |
| 34 | <!-- Central Sphere — Earth texture --> |
| 35 | <Transform> |
| 36 | <Shape> |
| 37 | <Appearance> |
| 38 | <Material shininess='0.4' specularColor='0.3 0.3 0.3'/> |
| 39 |
<ImageTexture
url=' "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Land_ocean_ice_2048.jpg/1024px-Land_ocean_ice_2048.jpg |
| 40 | </Appearance> |
| 41 | <Sphere radius='0.85'/> |
| 42 | </Shape> |
| 43 | </Transform> |
| 44 | <!-- Red Box — brick texture --> |
| 45 | <Transform translation='2.4 0 0'> |
| 46 | <Shape> |
| 47 | <Appearance> |
| 48 | <Material specularColor='0.2 0.2 0.2'/> |
| 49 |
<ImageTexture
url=' "https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Brick_-_Upper_Merion_Township_Building.jpg/512px-Brick_-_Upper_Merion_Township_Building.jpg |
| 50 | <TextureTransform scale='2 2'/> |
| 51 | </Appearance> |
| 52 | <Box size='0.6 0.6 0.6'/> |
| 53 | </Shape> |
| 54 | </Transform> |
| 55 | <!-- Green Cone — wood texture --> |
| 56 | <Transform translation='-2.4 0 0'> |
| 57 | <Shape> |
| 58 | <Appearance> |
| 59 | <Material shininess='0.3' specularColor='0.3 0.2 0.1'/> |
| 60 |
<ImageTexture
url=' "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/Aa_wooden_texture.jpg/512px-Aa_wooden_texture.jpg |
| 61 | <TextureTransform scale='1 2'/> |
| 62 | </Appearance> |
| 63 | <Cone bottomRadius='0.45' height='1.0'/> |
| 64 | </Shape> |
| 65 | </Transform> |
| 66 | <!-- Cylinder — marble texture --> |
| 67 | <Transform translation='0 0 2.4'> |
| 68 | <Shape> |
| 69 | <Appearance> |
| 70 | <Material shininess='0.8' specularColor='0.6 0.6 0.6'/> |
| 71 |
<ImageTexture
url=' "https://upload.wikimedia.org/wikipedia/commons/thumb/6/60/White_marble_texture.jpg/512px-White_marble_texture.jpg |
| 72 | <TextureTransform scale='1 2'/> |
| 73 | </Appearance> |
| 74 | <Cylinder height='0.75' radius='0.3'/> |
| 75 | </Shape> |
| 76 | </Transform> |
| 77 | </Transform> |
| 78 | <!-- Ground disc — stone/concrete texture --> |
| 79 | <Transform translation='0 -1.4 0'> |
| 80 | <Shape> |
| 81 | <Appearance> |
| 82 | <Material specularColor='0.2 0.2 0.2' transparency='0.1'/> |
| 83 |
<ImageTexture
url=' "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8e/Concrete_Rough_003_COLOR.jpg/512px-Concrete_Rough_003_COLOR.jpg |
| 84 | <TextureTransform scale='4 4'/> |
| 85 | </Appearance> |
| 86 | <Cylinder height='0.05' radius='3.5'/> |
| 87 | </Shape> |
| 88 | </Transform> |
| 89 | </Scene> |
| 90 | </X3D> |
Event Graph ROUTE Table entries with 2 ROUTE connections total, showing X3D event-model relationships for this scene.
Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.
|
TIMER
TimeSensor fraction_changed SFFloat |
SPINNER
OrientationInterpolator set_fraction SFFloat |
then
|
SPINNER
OrientationInterpolator value_changed SFRotation |
ORBIT_GROUP
Transform set_rotation SFRotation |
<!--
Color-coding 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.
-->