Created
July 14, 2025 04:10
-
-
Save andreasplesch/66a7e249c52814d22e570d9b5db74984 to your computer and use it in GitHub Desktop.
An X3D scene to test texturing of an Extrusion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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='Immersive' 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='Michael Kass NIST' name='creator'/> | |
| <meta content='Don Brutzman' name='translator'/> | |
| <meta content='21 January 2001' name='translated'/> | |
| <meta content='28 August 2023' name='modified'/> | |
| <meta content='14 July 2025' name='modified'/> | |
| <meta content='This test attempts to map the VTS logo to an extruded circle.' name='description'/> | |
| <meta content='The spine has a long bottom and short top section to test how V texture coordinates are distributed.' name='description'/> | |
| <meta content='https://www.web3d.org/x3d/content/examples/ConformanceNist/Geometry/Extrusion/test_texture.x3d' name='identifier'/> | |
| <meta content='../../license.html' name='license'/> | |
| </head> | |
| <Scene> | |
| <Viewpoint position="0 0 10" centerOfRotation="0 0 -5"/> | |
| <Transform translation='0 0 -5'> | |
| <Shape> | |
| <Appearance> | |
| <Material/> | |
| <ImageTexture url='"../../vts.jpg" "https://www.web3d.org/x3d/content/examples/ConformanceNist/vts.jpg"'/> | |
| </Appearance> | |
| <Extrusion crossSection='0 1.5 0.06 1.4988 0.12 1.4952 0.18 1.4892 0.24 1.4807 0.3 1.4697 0.36 1.4562 0.42 1.44 0.48 1.4211 0.54 1.3994 0.6 1.3748 0.66 1.347 0.72 1.3159 0.78 1.2812 0.84 1.2427 0.9 1.2 0.96 1.1526 1.02 1.0998 1.08 1.041 1.14 0.9749 1.2 0.9 1.26 0.8139 1.32 0.7125 1.38 0.5879 1.44 0.42 1.5 0.0012 1.5 0 1.44 -0.42 1.38 -0.5879 1.32 -0.7125 1.26 -0.8139 1.2 -0.9 1.14 -0.9749 1.08 -1.041 1.02 -1.0998 0.96 -1.1526 0.9 -1.2 0.84 -1.2427 0.78 -1.2812 0.72 -1.3159 0.66 -1.347 0.6 -1.3748 0.54 -1.3994 0.48 -1.4211 0.42 -1.44 0.36 -1.4562 0.3 -1.4697 0.24 -1.4807 0.18 -1.4892 0.12 -1.4952 0.06 -1.4988 0 -1.5 -0.06 -1.4988 -0.12 -1.4952 -0.18 -1.4892 -0.24 -1.4807 -0.3 -1.4697 -0.36 -1.4562 -0.42 -1.44 -0.48 -1.4211 -0.54 -1.3994 -0.6 -1.3748 -0.66 -1.347 -0.72 -1.3159 -0.78 -1.2812 -0.84 -1.2427 -0.9 -1.2 -0.96 -1.1526 -1.02 -1.0998 -1.08 -1.041 -1.14 -0.9749 -1.2 -0.9 -1.26 -0.8139 -1.32 -0.7125 -1.38 -0.5879 -1.44 -0.42 -1.5 0 -1.44 0.42 -1.38 0.5879 -1.32 0.7125 -1.26 0.8139 -1.2 0.9 -1.14 0.9749 -1.08 1.041 -1.02 1.0998 -0.96 1.1526 -0.9 1.2 -0.84 1.2427 -0.78 1.2812 -0.72 1.3159 -0.66 1.347 -0.6 1.3748 -0.54 1.3994 -0.48 1.4211 -0.42 1.44 -0.36 1.4562 -0.3 1.4697 -0.24 1.4807 -0.18 1.4892 -0.12 1.4952 -0.06 1.4988 0 1.5' spine='0 -3 0 0 2.5 0 0 3 0'/> | |
| </Shape> | |
| </Transform> | |
| </Scene> | |
| </X3D> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment