X3D libraries
The libraries to work with X3D dataset

Screenshots

This page shows you different screenshots I have taken of the libx3d output. It is in no way artistic or anything like that! The main idea is to show what the library is capable of.


The following shows the 3D geometry level 1: Box, Cone, Cylinder and Sphere. The sphere was scaled.



The script used to generate this screenshot
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd"> <X3D version='3.0' profile='Interactive'> <Scene> <Viewpoint position="0 0 10"/> <Transform translation="-3.0 0.0 -2.0" scale="2.5 1.3 0.7" rotation='1.0 1.0 1.0 1.0415927'> <Shape> <Sphere solid="true"/> <Appearance> <Material diffuseColor="-0.5 0.7 1.0" emissiveColor="0.0 0.0 0.5" transparency="0.0"/> <FillProperties filled="true"/> </Appearance> </Shape> </Transform> <Transform translation="1.5 0 0" rotation='1.0 0.0 0.0 0.6'> <Shape> <Cone solid="false" bottom="false"/> </Shape> </Transform> <Transform translation="0 2.3 1.0" rotation='-1.0 0.0 0.0 0.6'> <Shape> <Cylinder solid="false" bottom="true" top="false"/> </Shape> </Transform> <Transform translation="0 -3.3 -3.0" rotation='-1.0 0.6 0.0 0.6'> <Shape> <Box solid="false" bottom="true" top="false"/> <Appearance> <Material diffuseColor="0.5 0.7 -0.3" emissiveColor="0.0 0.0 0.0" transparency="0.0"/> </Appearance> </Shape> </Transform> </Scene> </X3D>


The following shows the 2D geometry level 1: Polyline2D, Polypoint2D, Rectangle2D, TriangleSet2D, and also level 2: Arc2d, ArcClose2D, Circle2D, Disk2D. Most do not use the default values in this screenshot.



The script used to generate this screenshot
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd"> <X3D version='3.0' profile='Interactive'> <Scene> <Viewpoint position="0 0 10"/> <!-- Level 1 --> <Transform translation="-3 3 0"> <Shape> <Polyline2D lineSegments="0 0 0.5 0.5 1 0 1.5 0.5 2 0"/> </Shape> </Transform> <Transform translation="0 3 0"> <Shape> <Polypoint2D points="0 0 0 0.1 0 0.2 0 0.3 0 0.4 0.1 0 0.1 0.1 0.1 0.2 0.1 0.3 0.1 0.4 0.2 0 0.2 0.1 0.2 0.2 0.2 0.3 0.2 0.4 0.3 0 0.3 0.1 0.3 0.2 0.3 0.3 0.3 0.4 0.4 0 0.4 0.1 0.4 0.2 0.4 0.3 0.4 0.4"/> </Shape> </Transform> <Transform translation="2 3.25 0"> <Shape> <Rectangle2D size="2 0.5"/> </Shape> </Transform> <Transform translation="-3 1 0" scale="0.5 0.5 1"> <Shape> <TriangleSet2D vertices="-1 0 1 0 0 2 1.2 0 0.2 2 2.2 2"/> </Shape> </Transform> <!-- Level 2 --> <Transform translation="0 1.25 0"> <Shape> <Arc2D startAngle="0" endAngle="3.1415927" radius="0.5"/> </Shape> </Transform> <Transform translation="2 1.25 0"> <Shape> <ArcClose2D startAngle="0" endAngle="1.5707963" radius="0.75"/> </Shape> </Transform> <Transform translation="2 -0.55 0"> <Shape> <ArcClose2D startAngle="0" endAngle="1.5707963" radius="0.75" closureType="chord"/> </Shape> </Transform> <Transform translation="2.5 -2.75 0"> <Shape> <ArcClose2D startAngle="0" endAngle="4.712389" radius="0.75" closureType="chord"/> </Shape> </Transform> <Transform translation="-3 -2.75 0"> <Shape> <ArcClose2D startAngle="0" endAngle="4.712389" radius="0.75"/> </Shape> </Transform> <Transform translation="-3 -0.25 0"> <Shape> <Circle2D radius="0.5"/> </Shape> </Transform> <Transform translation="0 -0.25 0"> <Shape> <Disk2D innerRadius="0.5" outerRadius="1"/> </Shape> </Transform> <Transform translation="0 -2.75 0"> <Shape> <Disk2D innerRadius="0" outerRadius="1"/> </Shape> </Transform> </Scene> </X3D>


$Id: screenshots.html,v 1.2 2005/12/19 01:33:15 alexis Exp $