Last active
December 7, 2020 03:16
-
-
Save andreasplesch/b96f20ccf0b6dd7af0cfb69f4a66e0fc to your computer and use it in GitHub Desktop.
Viewpoint centerOfRotation
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<script type='text/javascript' src='https://www.x3dom.org/download/dev/x3dom-full.debug.js'> </script> | |
<link rel='stylesheet' type='text/css' href='https://www.x3dom.org/download/dev/x3dom.css'></link> | |
</head> | |
<body> | |
<X3D> | |
<Scene> | |
<Background skyColor='0.9 0.9 0.9'></Background> | |
<Inline url=' "ViewpointCOR.x3d" '> | |
</Inline> | |
</Scene> | |
</X3D> | |
</body> | |
</html> |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<script type='text/javascript' src='https://www.x3dom.org/download/dev/x3dom-full.debug.js'> </script> | |
<link rel='stylesheet' type='text/css' href='https://www.x3dom.org/download/dev/x3dom.css'></link> | |
</head> | |
<body> | |
<X3D> | |
<Scene> | |
<Shape> | |
<Sphere></Sphere> | |
<Appearance> | |
<Material diffuseColor='1 0 0'></Material> | |
</Appearance> | |
</Shape> | |
<Transform translation='5 0 0'> | |
<Viewpoint></Viewpoint> | |
<Shape> | |
<Sphere></Sphere> | |
<Appearance> | |
<Material diffuseColor='0 1 0'></Material> | |
</Appearance> | |
</Shape> | |
</Transform> | |
</Scene> | |
</X3D> | |
</body> | |
</html> |
This file contains 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 name='title' content='ViewpointCOR.x3d'/> | |
</head> | |
<Scene> | |
<Shape> | |
<Sphere></Sphere> | |
<Appearance> | |
<Material diffuseColor='1 0 0'></Material> | |
</Appearance> | |
</Shape> | |
<Transform translation='5 0 0'> | |
<Viewpoint></Viewpoint> | |
<Shape> | |
<Sphere></Sphere> | |
<Appearance> | |
<Material diffuseColor='0 1 0'></Material> | |
</Appearance> | |
</Shape> | |
</Transform> | |
</Scene> | |
</X3D> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment