Skip to content

Instantly share code, notes, and snippets.

View andreasplesch's full-sized avatar

Andreas Plesch andreasplesch

  • Earthstruct
  • Waltham, MA
View GitHub Profile
<?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>
@andreasplesch
andreasplesch / rotatingDirLight.x3d
Created August 20, 2024 15:24
animated directional light
<X3D>
<Scene>
<NavigationInfo headlight='true'></NavigationInfo>
<!-- <NavigationInfo headlight='false'></NavigationInfo> -->
<!-- look down to the north at 90-75 degrees from vertical, adjust position by subtracting 15 degrees lat. -->
<GeoViewpoint DEF='SanDiegoVP' position='27.715, -117.1625, 30000000' orientation='1, 0, 0, -1.31' centerOfRotation='0 10 -6371000' description='oblique SanDiego'></GeoViewpoint>
<X3D profile='Full' version='4.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-4.0.xsd ' >
<head>
<meta name='title' content='Web3d2024_intro.x3d '/>
<meta name='description' content='animated globe with Web3d conference locations'/>
<meta name='creator' content='Andreas Plesch'/>
<meta name='created' content='24 August 2024'/>
<meta name='subject' content='X3D geospatial example'/>
<meta name='generator' content='https://andreasplesch.github.io/Library/Viewer/index.html'/>
<meta name='license' content='GPL'/>
</head>
@andreasplesch
andreasplesch / notes.md
Last active August 15, 2024 22:21
VRM2 update to x3dom 1.8.3

Geometry3dExt.js and Geometry2d.js is too old; remove and use x3dom-full

@andreasplesch
andreasplesch / inScaledV2L1LOA4Sites09d_AP.x3d
Last active April 27, 2024 17:36
inScaledV2L1LOA4Sites09d.x3d
This file has been truncated, but you can view the full file.
<?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 name='HAnim' level='1'/>
<meta content='JinScaledV2L1LOA4Sites09d.x3d' name='title'/>
<meta content='Jin Hoon Lee and Min Joo Lee' name='creator'/>
<meta content='Chul Hee Jung and Myeong Won Lee' name='translator'/>
<meta content='31 March 2011' name='created'/>
<meta content='1 November 2014' name='translated'/>
@andreasplesch
andreasplesch / InstancedShapeProto.x3d
Last active April 27, 2024 02:58
InstancedShapeProto test
<X3D ondownloadsfinished='init()'>
<!--head>
<meta content='Prototype_DiffuseApp.x3d' name='title'/>
<meta content='X3D encodings example: defining a Prototype, demonstration of IS/connect definitions.' name='description'/>
<meta content='Andreas Plesch' name='creator'/>
<meta content='21 July 2020' name='created'/>
<meta content='BSD' name='license'/>
</head-->
<Scene>
<ProtoDeclare name="InstancedShape">
@andreasplesch
andreasplesch / NegativeScale.x3d
Created September 24, 2023 21:09
neg. scale test
<?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='Text' level='1'/>
<meta name='created' content='Tue, 19 Sep 2023 18:19:25 GMT'/>
<meta name='comment' content='Rise and Shine'/>
<meta name='creator' content='Holger Seelig'/>
<meta name='generator' content='Sunrize X3D Editor V1.1.2, https://create3000.github.io/sunrize/'/>
<meta name='modified' content='Tue, 19 Sep 2023 19:38:18 GMT'/>
@andreasplesch
andreasplesch / Leif_091823.x3d
Last active September 21, 2023 20:35
a better Leif
This file has been truncated, but you can view the full file.
<?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 xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" profile="Immersive" version="4.0" xsd:noNamespaceSchemaLocation="http://www.web3d.org/specifications/x3d-4.0.xsd">
<head>
<component level="2" name="HAnim"/>
<component level="3" name="Texturing"/>
<meta content="Leif.x3d" name="title"/>
<meta content="Humanoid model of a grandchild" name="description"/>
<meta content="Joint nodes cannot directly contain geomety, insert a child HAnimSegment first" name="error"/>
<meta content="originals/Leif73Final.x3dv" name="reference"/>
@andreasplesch
andreasplesch / TextureEncodingTest.x3d
Last active October 5, 2023 16:03
x3dom release with draco test
<X3D>
<Scene>
<PointLight location='0 0 10' intensity='5'/>
<Viewpoint position="0 0 20" centerOfRotation="0.5 0.5 0.5"/>
<Inline url='"https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/TextureEncodingTest/glTF/TextureEncodingTest.gltf"'/>
</Scene>
</X3D>
@andreasplesch
andreasplesch / JoeStarterTest.x3d
Last active September 10, 2023 03:52
auto start timer
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D profile='Interactive' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'>
<head>
<meta content='cycletimeJoe.x3d' name='from by Joe'/>
</head>
<Scene>
<WorldInfo title='cycletimeJoe.x3d'/>
<Viewpoint/>