Login   Register  
PHP Classes
elePHPant
Icontem

File: test.wrl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Charly Pache  >  VRML  >  test.wrl  >  Download  
File: test.wrl
Role: Sample output
Content type: text/plain
Description: The generated VRML file
Class: VRML
Provides basic classes to generate VRML files
Author: By
Last change:
Date: 11 years ago
Size: 1,983 bytes
 

Contents

Class file image Download
#VRML V2.0 utf8
WorldInfo{
title "Titre"
info [
"Infos 1"
"Infos 2"
]
}
Box{
size 3 5 2
}
Shape{
appearance 
Appearance{
material 
Material{
diffuseColor 0.3 0.5 0.8
ambientIntensity 0.2
emissiveColor 0.0 0.0 0.0 
specularColor 0.0 0.0 0.0 
shininess 0.2
transparency 0
}
texture NULL
textureTransform NULL
}
geometry 
Box{
size 3 5 2
}
}
Transform{
scale 1 1 1
scaleOrientation 0 0 1 0
center 0 0 0
rotation 0 0 1 0
translation -6 0 0
bboxCenter 0 0 0
bboxSize -1 -1 -1
children [
 
Shape{
appearance 
Appearance{
material 
Material{
diffuseColor 0.7 0.2 0.2
ambientIntensity 0.2
emissiveColor 0.0 0.0 0.0 
specularColor 0.0 0.0 0.0 
shininess 0.2
transparency 0.4
}
texture NULL
textureTransform NULL
}
geometry 
Box{
size 4 4 4
}
}
 
Shape{
appearance 
Appearance{
material 
Material{
diffuseColor 0.7 0.2 0.2
ambientIntensity 0.2
emissiveColor 0.0 0.0 0.0 
specularColor 0.0 0.0 0.0 
shininess 0.2
transparency 0.4
}
texture NULL
textureTransform NULL
}
geometry 
Sphere{
radius 3
}
}
]
}
Transform{
scale 1 1 1
scaleOrientation 0 0 1 0
center 0 0 0
rotation 0 0 1 0
translation 6 0 0
bboxCenter 0 0 0
bboxSize -1 -1 -1
children [
 
Shape{
appearance 
Appearance{
material 
Material{
diffuseColor 0.3 0.5 0.8
ambientIntensity 0.2
emissiveColor 0.0 0.0 0.0 
specularColor 0.0 0.0 0.0 
shininess 0.2
transparency 0
}
texture NULL
textureTransform NULL
}
geometry 
Box{
size 3 5 2
}
}
]
}
Transform{
scale 1 1 1
scaleOrientation 0 0 1 0
center 0 0 0
rotation 0 0 1 0
translation 6 -3 0
bboxCenter 0 0 0
bboxSize -1 -1 -1
children [
 
Shape{
appearance 
Appearance{
material 
Material{
diffuseColor 0.7 0.2 0.2
ambientIntensity 0.2
emissiveColor 0.0 0.0 0.0 
specularColor 0.0 0.0 0.0 
shininess 0.2
transparency 0
}
texture NULL
textureTransform NULL
}
geometry 
Cylinder{
radius 0.1
height 7
side TRUE
bottom TRUE
top TRUE
}
}
]
}