mirror of
https://github.com/assimp/assimp.git
synced 2026-01-18 17:11:20 +01:00
- Introduce VRML format (.wrl and .x3dv) 3D model support - Add samples --------- Co-authored-by: Steve M <praktique-tellypresence@yahoo.com> Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
57 lines
3.5 KiB
XML
57 lines
3.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
|
|
<X3D profile='Immersive' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'>
|
|
<head>
|
|
<!-- Alternate encodings: VRML97, X3D ClassicVRML Encoding, X3D Compressed Binary Encoding (CBE), X3DOM, JSON -->
|
|
<meta content='HelloWorld.x3d' name='title'/>
|
|
<meta content='Simple X3D model example: Hello World!' name='description'/>
|
|
<meta content='30 October 2000' name='created'/>
|
|
<meta content='9 July 2023' name='modified'/>
|
|
<meta content='Don Brutzman' name='creator'/>
|
|
<meta content='HelloWorld.tall.png' name='Image'/>
|
|
<meta content='https://en.wikipedia.org/wiki/Hello_world' name='reference'/>
|
|
<meta content='https://en.wikipedia.org/wiki/Hello#.22Hello.2C_World.22_computer_program' name='reference'/>
|
|
<meta content='https://en.wikipedia.org/wiki/"Hello,_World!"_program' name='reference'/>
|
|
<meta content='https://en.wikibooks.org/w/index.php?title=Computer_Programming/Hello_world' name='reference'/>
|
|
<meta content='https://www.HelloWorldExample.net' name='reference'/>
|
|
<meta content='https://www.web3d.org' name='reference'/>
|
|
<meta content='https://www.web3d.org/realtime-3d/news/internationalization-x3d' name='reference'/>
|
|
<meta content='https://www.web3d.org/x3d/content/examples/HelloWorld.x3d' name='reference'/>
|
|
<meta content='https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorld.x3d' name='reference'/>
|
|
<meta content='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter01TechnicalOverview/HelloWorld.x3d' name='identifier'/>
|
|
<meta content='https://www.web3d.org/x3d/content/examples/license.html' name='license'/>
|
|
<meta content='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit' name='generator'/>
|
|
<meta content='HelloWorld.wrl' name='reference'/>
|
|
<meta content='HelloWorld.x3dv' name='reference'/>
|
|
<meta content='HelloWorld.x3db' name='reference'/>
|
|
<meta content='HelloWorld.xhtml' name='reference'/>
|
|
<meta content='HelloWorld.json' name='reference'/>
|
|
</head>
|
|
<Scene>
|
|
<!-- Example scene to illustrate X3D nodes and fields (XML elements and attributes) -->
|
|
<WorldInfo info='"Example scene to illustrate a simple X3D model"' title='Hello World!'/>
|
|
<Group>
|
|
<Viewpoint DEF='ViewUpClose' centerOfRotation='0 -1 0' description='Hello world!' position='0 -1 7'/>
|
|
<Transform rotation='0 1 0 3'>
|
|
<Shape>
|
|
<Sphere/>
|
|
<Appearance>
|
|
<!-- https://htmlcolorcodes.com/colors/off-white -->
|
|
<Material DEF='MaterialOffWhite' diffuseColor='0.980392 0.976471 0.964706'/>
|
|
<ImageTexture DEF='ImageCloudlessEarth' url='"earth-topo.png" "earth-topo.jpg" "earth-topo-small.gif" "https://www.web3d.org/x3d/content/examples/Basic/earth-topo.png" "https://www.web3d.org/x3d/content/examples/Basic/earth-topo.jpg" "https://www.web3d.org/x3d/content/examples/Basic/earth-topo-small.gif"'/>
|
|
</Appearance>
|
|
</Shape>
|
|
</Transform>
|
|
<Transform translation='0 -2 0'>
|
|
<Shape>
|
|
<Text DEF='TextMessage' string='"Hello" "world!"'>
|
|
<FontStyle justify='"MIDDLE" "MIDDLE"'/>
|
|
</Text>
|
|
<Appearance>
|
|
<Material USE='MaterialOffWhite'/>
|
|
</Appearance>
|
|
</Shape>
|
|
</Transform>
|
|
</Group>
|
|
</Scene>
|
|
</X3D> |