Skip to content

Instantly share code, notes, and snippets.

@andreasplesch
Created September 24, 2023 21:09
Show Gist options
  • Save andreasplesch/220e5b2bdc5422d998b24f30f90e255d to your computer and use it in GitHub Desktop.
Save andreasplesch/220e5b2bdc5422d998b24f30f90e255d to your computer and use it in GitHub Desktop.
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'/>
</head>
<Scene>
<Transform DEF='Text'>
<Shape DEF='_1'>
<Appearance>
<Material/>
</Appearance>
<Text
string='"3D Text"'
solid='true'/>
</Shape>
</Transform>
<Transform DEF='MirroredText'
scale='1 -1 1'>
<Shape USE='_1'/>
</Transform>
<Transform DEF='Tree'
translation='-2 2 0'>
<Shape DEF='_2'>
<Appearance>
<Material/>
</Appearance>
<IndexedFaceSet
creaseAngle='1.55176'
colorIndex='1, 0, 0, -1, 1, 0, 0, -1, 1, 0, 0, -1, 1, 0, 0, -1, 1, 0, 0, -1, 1, 0, 0, -1, 1, 0, 0, -1, 0, 3, 0, 0, -1, 0, 0, 3, 0, -1, 0, 3, 0, 0, -1, 0, 0, 0, 0, -1, 0, 0, 3, 0, -1, 0, 3, 0, 0, -1, 0, 0, 3, 0, -1, 3, 0, 3, 0, -1, 0, 3, 0, 3, -1, 3, 0, 2, 0, -1, 0, 2, 0, 0, -1, 0, 0, 0, 3, -1, 3, 0, 0, 0, -1, 0, 0, 0, 3, -1, 0, 1, 0, 3, -1, 3, 0, 0, 0, -1, 0, 0, 0, 2, -1, 2, 0, 0, 0, -1, 0, 0, 1, 0, -1, 0, 1, 0, 0, -1, 0, 0, 1, 0, -1, 1, 0, 0, 0, -1, 0, 0, 1, 0, -1, 0, 1, 0, 0, -1, 0, 0, 0, 0, -1, 0, 0, 0, 1, -1, 1, 0, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0, 0, 0, -1, 0, 0, 0, 1, -1, 1, 0, 0, 0, -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 5, 4, 4, 6, -1, 6, 4, 4, 5, -1, 6, 4, 4, 6, -1, 6, 4, 4, 6, -1, 6, 4, 4, 5, -1, 5, 4, 4, 6, -1, 5, 4, 4, 4, -1, 4, 4, 4, 5, -1, 4, 4, 4, 5, -1, 5, 4, 4, 4, -1'
coordIndex='0, 1, 2, -1, 0, 2, 3, -1, 0, 3, 4, -1, 0, 4, 5, -1, 0, 5, 6, -1, 0, 6, 7, -1, 0, 7, 1, -1, 1, 8, 9, 2, -1, 2, 9, 10, 3, -1, 3, 10, 11, 4, -1, 4, 11, 12, 5, -1, 5, 12, 13, 6, -1, 6, 13, 14, 7, -1, 7, 14, 8, 1, -1, 8, 15, 16, 9, -1, 9, 16, 17, 10, -1, 10, 17, 18, 11, -1, 11, 18, 19, 12, -1, 12, 19, 20, 13, -1, 13, 20, 21, 14, -1, 14, 21, 15, 8, -1, 15, 22, 23, 16, -1, 16, 23, 24, 17, -1, 17, 24, 25, 18, -1, 18, 25, 26, 19, -1, 19, 26, 27, 20, -1, 20, 27, 28, 21, -1, 21, 28, 22, 15, -1, 22, 29, 30, 23, -1, 23, 30, 31, 24, -1, 24, 31, 32, 25, -1, 25, 32, 33, 26, -1, 26, 33, 34, 27, -1, 27, 34, 35, 28, -1, 28, 35, 29, 22, -1, 29, 36, 37, 30, -1, 30, 37, 38, 31, -1, 31, 38, 39, 32, -1, 32, 39, 40, 33, -1, 33, 40, 41, 34, -1, 34, 41, 42, 35, -1, 35, 42, 36, 29, -1, 36, 43, 37, -1, 37, 43, 38, -1, 38, 43, 39, -1, 39, 43, 40, -1, 40, 43, 41, -1, 41, 43, 42, -1, 42, 43, 36, -1, 54, 53, 52, 55, -1, 55, 45, 44, 54, -1, 55, 52, 51, 56, -1, 56, 46, 45, 55, -1, 56, 51, 50, 57, -1, 57, 47, 46, 56, -1, 57, 50, 49, 58, -1, 58, 48, 47, 57, -1, 58, 49, 53, 54, -1, 54, 44, 48, 58, -1'>
<Color
color='0 0.501961 0, 0.00574465 0.328945 0.00574465, 0 0.617129 0, 0.257502 0.65123 0.257502, 0.388051 0.308639 0.233508, 0.59 0.464167 0.340148, 0.17 0.128257 0.0888773'/>
<Coordinate
point='0 1 0, -0 0.900969 -0.433884, -0.339224 0.900969 -0.270522, -0.423005 0.900969 0.0965482, -0.188255 0.926492 0.390916, 0.188255 0.900969 0.390916, 0.423005 0.900969 0.0965482, 0.339224 0.900969 -0.270522, 0 0.62349 -0.458553, -0.61126 0.62349 -0.487464, -0.762229 0.62349 0.173974, -0.339224 0.62349 0.524921, 0.252635 0.62349 0.545573, 0.584954 0.62349 0.103058, 0.45663 0.62349 -0.360782, 0 0.222521 -0.674149, -0.604653 0.222521 -0.445343, -0.741454 0.222521 0.216942, -0.278998 0.222521 0.650983, 0.260511 0.222521 0.697119, 0.650417 0.222521 0.216942, 0.535279 0.222521 -0.394893, 0 -0.222521 -0.729315, -0.619629 -0.222521 -0.415943, -0.602962 -0.222521 0.216942, -0.423005 -0.222521 0.700375, 0.423005 -0.222521 0.628618, 0.636888 -0.222521 0.216942, 0.537947 -0.222521 -0.365751, 0 -0.62349 -0.464764, -0.43454 -0.62349 -0.237222, -0.537292 -0.62349 0.173974, -0.213249 -0.62349 0.539167, 0.339224 -0.62349 0.560788, 0.411351 -0.62349 0.173974, 0.364294 -0.62349 -0.238095, 0 -0.900969 -0.32049, -0.339224 -0.900969 -0.21044, -0.337934 -0.900969 0.0965482, -0.188255 -0.900969 0.390916, 0.188255 -0.900969 0.344821, 0.215988 -0.900969 0.0965482, 0.232303 -0.900969 -0.241411, 0 -1 0, -0.0371049 -0.845094 -0.0449235, -0.0814127 -0.845094 -0.0116943, -0.0644886 -0.845094 0.0420716, -0.00972112 -0.845094 0.0420716, 0.00720302 -0.845094 -0.0116943, 0.182894 -2.08113 -0.0332549, 0.194474 -2.08113 0.224828, -0.121986 -2.08113 0.207521, -0.174446 -2.08113 -0.0332549, -0.0371049 -2.08113 -0.162505, -0.0371049 -1.43185 -0.1489, -0.174446 -1.40082 -0.0332549, -0.0668762 -1.43215 0.0872304, 0.0947064 -1.48254 0.127517, 0.100237 -1.48236 -0.0332549'/>
</IndexedFaceSet>
</Shape>
</Transform>
<Transform DEF='MirroredTree'
translation='-2 -2 0'
scale='1 -1 1'>
<Shape USE='_2'/>
</Transform>
</Scene>
</X3D>
@andreasplesch
Copy link
Author

x3dom:
image

@andreasplesch
Copy link
Author

x_ite:
image

@andreasplesch
Copy link
Author

freeWRL:
image

@andreasplesch
Copy link
Author

Octaga:
image

@andreasplesch
Copy link
Author

BS Contact 7.206:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment