web3D代码范例
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
汪洋代码:
#VRML V2.0 utf8
WorldInfo {
title "VRML Primitives"
info [ "Copyright (c) 1997, David R. Nadeau" ]
}
Viewpoint {
position 5.0 1.6 8.0
orientation 0.0 1.0 0.0 0.52
description "Entry View"
}
NavigationInfo {
type [ "WALK", "ANY" ]
headlight FALSE
}
Background {
skyColor [
0.0 0.0 0.0,
0.0 0.0 0.0,
0.0 0.1 0.5,
0.0 0.0 0.0,
]
skyAngle [
1.37,
1.57,
1.77,
]
}
#
# Light Sources
#
PointLight {
ambientIntensity 0.2
color 0.7 0.7 0.7
location 0.0 8.0 10.0
}
#
# Primitives on pedestals
#
# Box
Transform {
translation -3.0 0.0 0.0
children [
# Pedestal
DEF Pedestal Inline {
url "pedestal.wrl"
}
# Box Primitive
Transform {
translation 0.0 2.5 0.0
scale 0.375 0.375 0.375
children [
Shape {
appearance Appearance {
material Material { diffuseColor 1.0 0.2 0.2 }
}
geometry Box { }
}
]
}
]
}
# Cone
Transform {
translation -1.0 0.0 0.0
children [
# Pedestal
USE Pedestal
# Cone Primitive
Transform {
translation 0.0 2.5 0.0
scale 0.375 0.375 0.375
children [
Shape {
appearance Appearance {
material Material { diffuseColor 0.0 1.0 0.0 }
}
geometry Cone { }
}
]
}
]
}
# Cylinder
Transform {
translation 1.0 0.0 0.0
children [
# Pedestal
USE Pedestal
# Cylinder Primitive
Transform {
translation 0.0 2.5 0.0
scale 0.375 0.375 0.375
children [
Shape {
appearance Appearance {
material Material { diffuseColor 0.0 0.8 1.0 }
}
geometry Cylinder { }
}
]
}
]
}
# Sphere
Transform {
translation 3.0 0.0 0.0
children [
# Pedestal
USE Pedestal
# Sphere Primitive
Transform {
translation 0.0 2.5 0.0
scale 0.375 0.375 0.375
children [
Shape {
appearance Appearance {
material Material { diffuseColor 1.0 1.0 0.0 }
}
geometry Sphere { }
}
]
}
]
}
# Text
Transform {
translation 5.0 0.0 0.0
children [
# Pedestal
USE Pedestal
# Sphere Primitive
Transform {
translation 0.0 2.2 0.0
scale 0.375 0.375 0.375
children [
Shape {
appearance Appearance {
material Material { diffuseColor 1.0 1.0 1.0 }
}
geometry Text {
string "Text"
fontStyle FontStyle {
size 2.0
style "BOLD"
family "SERIF"
justify "MIDDLE"
}
}
}
]
}
]
}
#
# Floor
#
Shape {
appearance Appearance {
material Material { ambientIntensity 0.1 }
texture ImageTexture { url "stone2.jpg" }
textureTransform TextureTransform { scale 20.0 20.0 }
}
geometry IndexedFaceSet {
coord Coordinate {
point [
-10.
0 0.0 10.0,
10.0 0.0 10.0,
10.0 0.0 -10.0,
-10.0 0.0 -10.0,
]
}
coordIndex [ 0, 1, 2, 3, -1, ]
solid FALSE
}
}
WorldInfo {
title "Gothic pedestal"
info [ "Copyright (c) 1997, David R. Nadeau" ]
}
#
# Pedestal base
#
Transform {
translation -3.0 0.05 0.0
children [
Shape {
appearance Appearance {
material DEF MarbleMaterial Material {
ambientIntensity 0.2
}
texture DEF MarbleImage ImageTexture {
url "marble_g.jpg"
}
textureTransform TextureTransform {
translation 0.2 0.2
rotation 0.1
scale 1.0 0.1
}
}
geometry Box {
size 1.1 0.1 1.1
}
}
]
}
Transform {
translation -3.0 0.15 0.0
children [
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
textureTransform TextureTransform {
translation 0.1 0.1
rotation 0.2
scale 1.0 0.1
}
}
geometry Cylinder {
height 0.1
radius 0.43
bottom FALSE
}
}
]
}
#
# Main pedestal
#
Transform {
translation -3.0 0.95 0.0
children [
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
}
geometry Cylinder {
height 1.5
radius 0.35
bottom FALSE
top FALSE
}
}
]
}
#
# Pedestal top
#
Transform {
translation -3.0 1.75 0.0
children [
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
textureTransform TextureTransform {
translation 0.3 0.1
rotation 0.3
scale 1.0 0.1
}
}
geometry Cylinder {
height 0.1
radius 0.43
top FALSE
}
}
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
textureTransform TextureTransform {
translation 0.3 0.1
rotation 0.3
scale 1.0 1.0
}
}
geometry Cylinder {
height 0.1
radius 0.43
side FALSE
bottom FALSE
}
}
]
}
WorldInfo {
title "Gothic pedestal"
info [ "Copyright (c) 1997, David R. Nadeau" ]
}
#
# Pedestal base
#
Transform {
translation -1.0 0.05 0.0
children [
Shape {
appearance Appearance {
material DEF MarbleMaterial Material {
ambientIntensity 0.2
}
texture DEF MarbleImage ImageTexture {
url "marble_g.jpg"
}
textureTransform TextureTransform {
translation 0.2 0.2
rotation 0.1
scale 1.0 0.1
}
}
geometry Box {
size 1.1 0.1 1.1
}
}
]
}
Transform {
translation -1.0 0.15 0.0
children [
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
textureTransform TextureTransform {
translation 0.1 0.1
rotation 0.2
scale 1.0 0.1
}
}
geometry Cylinder {
height 0.1
radius 0.43
bottom FALSE
}
}
]
}
#
# Main pedestal
#
Transform {
translation -1.0 0.95 0.0
children [
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
}
geometry Cylinder {
height 1.5
radius 0.35
bottom FALSE
top FALSE
}
}
]
}
#
# Pedestal top
#
Transform {
translation -1.0 1.75 0.0
children [
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
textureTransform TextureTransform {
translation 0.3 0.1
rotation 0.3
scale 1.0 0.1
}
}
geometry Cylinder {
height 0.1
radius 0.43
top FALSE
}
}
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
textureTransform TextureTransform {
translation 0.3 0.1
rotation 0.3
scale 1.0 1.0
}
}
geometry Cylinder {
height 0.1
radius 0.43
side FALSE
bottom FALSE
}
}
]
}
WorldInfo {
title "Gothic pedestal"
info [ "Copyright (c) 1997, David R. Nadeau" ]
}
#
# Pedestal base
#
Transform {
translation 1.0 0.05 0.0
children [
Shape {
appearance Appearance {
material DEF MarbleMaterial Material {
ambientIntensity 0.2
}
texture DEF MarbleImage ImageTexture {
url "marble_g.jpg"
}
textureTransform TextureTransform {
translation 0.2 0.2
rotation 0.1
scale 1.0 0.1
}
}
geometry Box {
size 1.1 0.1 1.1
}
}
]
}
Transform {
translation 1.0 0.15 0.0
children [
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
textureTransform TextureTransform {
translation 0.1 0.1
rotation 0.2
scale 1.0 0.1
}
}
geometry Cylinder {
height 0.1
radius 0.43
bottom FALSE
}
}
]
}
#
# Main pedestal
#
Transform {
translation 1.0 0.95 0.0
children [
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
}
geometry Cylinder {
height 1.5
radius 0.35
bottom FALSE
top FALSE
}
}
]
}
#
# Pedestal top
#
Transform {
translation 1.0 1.75 0.0
children [
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
textureTransform TextureTransform {
translation 0.3 0.1
rotation 0.3
scale 1.0 0.1
}
}
geometry Cylinder {
height 0.1
radius 0.43
top FALSE
}
}
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
textureTransform TextureTransform {
translation 0.3 0.1
rotation 0.3
scale 1.0 1.0
}
}
geometry Cylinder {
height 0.1
radius 0.43
side FALSE
bottom FALSE
}
}
]
}
WorldInfo {
title "Gothic pedestal"
info [ "Copyright (c) 1997, David R. Nadeau" ]
}
#
# Pedestal base
#
Transform {
translation 3.0 0.05 0.0
children [
Shape {
appearance Appearance {
material DEF MarbleMaterial Material {
ambientIntensity 0.2
}
texture DEF MarbleImage ImageTexture {
url "marble_g.jpg"
}
textureTransform TextureTransform {
translation 0.2 0.2
rotation 0.1
scale 1.0 0.1
}
}
geometry Box {
size 1.1 0.1 1.1
}
}
]
}
Transform {
translation 3.0 0.15 0.0
children [
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
textureTransform TextureTransform {
translation 0.1 0.1
rotation 0.2
scale 1.0 0.1
}
}
geometry Cylinder {
height 0.1
radius 0.43
bottom FALSE
}
}
]
}
#
# Main pedestal
#
Transform {
translation 3.0 0.95 0.0
children [
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
}
geometry Cylinder {
height 1.5
radius 0.35
bottom FALSE
top FALSE
}
}
]
}
#
# Pedestal top
#
Transform {
translation 3.0 1.75 0.0
children [
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
textureTransform TextureTransform {
translation 0.3 0.1
rotation 0.3
scale 1.0 0.1
}
}
geometry Cylinder {
height 0.1
radius 0.43
top FALSE
}
}
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
textureTransform TextureTransform {
translation 0.3 0.1
rotation 0.3
scale 1.0 1.0
}
}
geometry Cylinder {
height 0.1
radius 0.43
side FALSE
bottom FALSE
}
}
]
}
WorldInfo {
title "Gothic pedestal"
info [ "Copyright (c) 1997, David R. Nadeau" ]
}
#
# Pedestal base
#
Transform {
translation 5.0 0.05 0.0
children [
Shape {
appearance Appearance {
material DEF MarbleMaterial Material {
ambientIntensity 0.2
}
texture DEF MarbleImage ImageTexture {
url "marble_g.jpg"
}
textureTransform TextureTransform {
translation 0.2 0.2
rotation 0.1
scale 1.0 0.1
}
}
geometry Box {
size 1.1 0.1 1.1
}
}
]
}
Transform {
translation 5.0 0.15 0.0
children [
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
textureTransform TextureTransform {
translation 0.1 0.1
rotation 0.2
scale 1.0 0.1
}
}
geometry Cylinder {
height 0.1
radius 0.43
bottom FALSE
}
}
]
}
#
# Main pedestal
#
Transform {
translation 5.0 0.95 0.0
children [
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
}
geometry Cylinder {
height 1.5
radius 0.35
bottom FALSE
top FALSE
}
}
]
}
#
# Pedestal top
#
Transform {
translation 5.0 1.75 0.0
children [
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
textureTransform TextureTransform {
translation 0.3 0.1
rotation 0.3
scale 1.0 0.1
}
}
geometry Cylinder {
height 0.1
radius 0.43
top FALSE
}
}
Shape {
appearance Appearance {
material USE MarbleMaterial
texture USE MarbleImage
textureTransform TextureTransform {
translation 0.3 0.1
rotation 0.3
scale 1.0 1.0
}
}
geometry Cylinder {
height 0.1
radius 0.43
side FALSE
bottom FALSE
}
}
]
}
胡铭代码(完整)
Shape {
appearance Appearance {
material Material {
ambientIntensity 0.1
diffuseColor 0.8 0.8 0.8
}
texture ImageTexture {
url "stone2.jpg"
}
textureTransform TextureTransform {
scale 20.0 20.0
}
}
geometry IndexedFaceSet {
coord Coordinate {
point [
-10.00 0.00 10.00,
-8.00 0.00 10.00,
-6.00 0.00 10.00,
-4.00 0.00 10.00,
-2.00 0.00 10.00,
0.00 0.00 10.00,
2.00 0.00 10.00,
4.00 0.00 10.00,
6.00 0.00 10.00,
8.00 0.00 10.00,
10.00 0.00 10.00,
-10.00 0.00 8.00,
-8.00 0.00 8.00,
-6.00 0.00 8.00,
-4.00 0.00 8.00,
-2.00 0.00 8.00,
0.00 0.00 8.00,
2.00 0.00 8.00,
4.00 0.00 8.00,
6.00 0.00 8.00,
8.00 0.00 8.00,
10.00 0.00 8.00,
-10.00 0.00 6.00,
-8.00 0.00 6.00,
-6.00 0.00 6.00,
-4.00 0.00 6.00,
-2.00 0.00 6.00,
0.00 0.00 6.00,
2.00 0.00 6.00,
4.00 0.00 6.00,
6.00 0.00 6.00,
8.00 0.00 6.00,
10.00 0.00 6.00,
-10.00 0.00 4.00,
-8.00 0.00 4.00,
-6.00 0.00 4.00,
-4.00 0.00 4.00,
-2.00 0.00 4.00,
0.00 0.00 4.00,
2.00 0.00 4.00,
4.00 0.00 4.00,
6.00 0.00 4.00,
8.00 0.00 4.00,
10.00 0.00 4.00,
-10.00 0.00 2.00,
-8.00 0.00 2.00,
-6.00 0.00 2.00,
-4.00 0.00 2.00,
-2.00 0.00 2.00,
0.00 0.00 2.00,
2.00 0.00 2.00,
4.00 0.00 2.00
,
6.00 0.00 2.00,
8.00 0.00 2.00,
10.00 0.00 2.00,
-10.00 0.00 0.00,
-8.00 0.00 0.00,
-6.00 0.00 0.00,
-4.00 0.00 0.00,
-2.00 0.00 0.00,
0.00 0.00 0.00,
2.00 0.00 0.00,
4.00 0.00 0.00,
6.00 0.00 0.00,
8.00 0.00 0.00,
10.00 0.00 0.00,
-10.00 0.00 -2.00,
-8.00 0.00 -2.00,
-6.00 0.00 -2.00,
-4.00 0.00 -2.00,
-2.00 0.00 -2.00,
0.00 0.00 -2.00,
2.00 0.00 -2.00,
4.00 0.00 -2.00,
6.00 0.00 -2.00,
8.00 0.00 -2.00,
10.00 0.00 -2.00,
-10.00 0.00 -4.00,
-8.00 0.00 -4.00,
-6.00 0.00 -4.00,
-4.00 0.00 -4.00,
-2.00 0.00 -4.00,
0.00 0.00 -4.00,
2.00 0.00 -4.00,
4.00 0.00 -4.00,
6.00 0.00 -4.00,
8.00 0.00 -4.00,
10.00 0.00 -4.00,
-10.00 0.00 -6.00,
-8.00 0.00 -6.00,
-6.00 0.00 -6.00,
-4.00 0.00 -6.00,
-2.00 0.00 -6.00,
0.00 0.00 -6.00,
2.00 0.00 -6.00,
4.00 0.00 -6.00,
6.00 0.00 -6.00,
8.00 0.00 -6.00,
10.00 0.00 -6.00,
-10.00 0.00 -8.00,
-8.00 0.00 -8.00,
-6.00 0.00 -8.00,
-4.00 0.00 -8.00,
-2.00 0.00 -8.00,
0.00 0.00 -8.00,
2.00 0.00 -8.00,
4.00 0.00 -8.00,
6.00 0.00 -8.00,
8.00 0.00 -8.00,
10.00 0.00 -8.00,
-10.00 0.00 -10.00,
-8.00 0.00 -10.00,
-6.00 0.00 -10.00,
-4.00 0.00 -10.00,
-2.00 0.00 -10.00,
0.00 0.00 -10.00,
2.00 0.00 -10.00,
4.00 0.00 -10.00,
6.00 0.00 -10.00,
8.00 0.00 -10.00,
10.00 0.00 -10.00,
]
}
coordIndex [
0, 1, 12, 11, -1,
1, 2, 13, 12, -1,
2, 3, 14, 13, -1,
3, 4, 15, 14, -1,
4, 5, 16, 15, -1,
5, 6, 17, 16, -1,
6, 7, 18, 17, -1,
7, 8, 19, 18, -1,
8, 9, 20, 19, -1,
9, 10, 21, 20, -1,
11, 12, 23, 22, -1,
12, 13, 24, 23, -1,
13, 14, 25, 24, -1,
14, 15, 26, 25, -1,
15, 16, 27, 26, -1,
16, 17, 28, 27, -1,
17, 18, 29, 28, -1,
18, 19, 3
0, 29, -1,
19, 20, 31, 30, -1,
20, 21, 32, 31, -1,
22, 23, 34, 33, -1,
23, 24, 35, 34, -1,
24, 25, 36, 35, -1,
25, 26, 37, 36, -1,
26, 27, 38, 37, -1,
27, 28, 39, 38, -1,
28, 29, 40, 39, -1,
29, 30, 41, 40, -1,
30, 31, 42, 41, -1,
31, 32, 43, 42, -1,
33, 34, 45, 44, -1,
34, 35, 46, 45, -1,
35, 36, 47, 46, -1,
36, 37, 48, 47, -1,
37, 38, 49, 48, -1,
38, 39, 50, 49, -1,
39, 40, 51, 50, -1,
40, 41, 52, 51, -1,
41, 42, 53, 52, -1,
42, 43, 54, 53, -1,
44, 45, 56, 55, -1,
45, 46, 57, 56, -1,
46, 47, 58, 57, -1,
47, 48, 59, 58, -1,
48, 49, 60, 59, -1,
49, 50, 61, 60, -1,
50, 51, 62, 61, -1,
51, 52, 63, 62, -1,
52, 53, 64, 63, -1,
53, 54, 65, 64, -1,
55, 56, 67, 66, -1,
56, 57, 68, 67, -1,
57, 58, 69, 68, -1,
58, 59, 70, 69, -1,
59, 60, 71, 70, -1,
60, 61, 72, 71, -1,
61, 62, 73, 72, -1,
62, 63, 74, 73, -1,
63, 64, 75, 74, -1,
64, 65, 76, 75, -1,
66, 67, 78, 77, -1,
67, 68, 79, 78, -1,
68, 69, 80, 79, -1,
69, 70, 81, 80, -1,
70, 71, 82, 81, -1,
71, 72, 83, 82, -1,
72, 73, 84, 83, -1,
73, 74, 85, 84, -1,
74, 75, 86, 85, -1,
75, 76, 87, 86, -1,
77, 78, 89, 88, -1,
78, 79, 90, 89, -1,
79, 80, 91, 90, -1,
80, 81, 92, 91, -1,
81, 82, 93, 92, -1,
82, 83, 94, 93, -1,
83, 84, 95, 94, -1,
84, 85, 96, 95, -1,
85, 86, 97, 96, -1,
86, 87, 98, 97, -1,
88, 89, 100, 99, -1,
89, 90, 101, 100, -1,
90, 91, 102, 101, -1,
91, 92, 103, 102, -1,
92, 93, 104, 103, -1,
93, 94, 105, 104, -1,
94, 95, 106, 105, -1,
95, 96, 107, 106, -1,
96, 97, 108, 107, -1,
97, 98, 109, 108, -1,
99, 100, 111, 110, -1,
100, 101, 112, 111, -1,
101, 102, 113, 112, -1,
102, 103, 114, 113, -1,
103, 104, 115, 114, -1,
104, 105, 116, 115, -1,
105, 106, 117, 116, -1,
106, 107, 118, 117, -1,
107, 108, 119, 118, -1,
108, 109, 120, 119, -1,
]
}
}
Background {
skyColor [ .1875 .5078 .9843, .1875 .5078 .9843, .9414 .9 .9 ]
skyAngle [ .2, 1.571 ]
groundColor [ 0 0 0, .9414 .9 .9 ]
groundAngle [ 1.571 ]
}
Viewpoint {
position 0 5 10
orientation 1 0 0 -0.2
}
NavigationInfo {
type [ "EXAMINE", "ANY" ]
headlight TRUE
}
Transform {
translation 0 3 -5
rotation 0 1 0 0
children [Shape {
appearance Appearance {
material Material {
diffuseColor 255 0 0
}
}
geometry Box {
size 1.0 1.0 1.0
}
}
]
}
Transform {
translation 0 3 -2
rotation 0 1 0 0
children [Shape {
appearance Appearance {
material Material {
diffuseColor 0 255 0 }
}
geometry Cone {
height 1.0
bottomRadius 0.5
bottom TRUE
side TRUE
}
}
]
}
Transform {
translation 0 3 0
rotation 0 1 0 0
children[Shape {
appearance Appearance {
material Material {
diffuseColor 0 0 255 }
}
geometry Cylinder {
height 1.0
radius 0.5
bottom TRUE
top TRUE
side TRUE
}
}
]
}
Transform {
translation 0 3 2
rotation 0 1 0 0
children[Shape {
appearance Appearance {
material Material {
diffuseColor 227 240 0 }
}
geometry Sphere {
radius 0.5
}
}
]
}
Transform {
translation 0 3 4
rotation 0 -110 40 -100
children[Shape {
appearance Appearance {
material Material {
diffuseColor 255 255 255}
}
geometry Text {
string ["HU MING"]
fontStyle FontStyle {
size 0.3
style "ITALIC"
style "Bold"
}
}
}
]
}
Transform {
translation 0 0 -5
rotation 0 1 0 0
children [Shape {
appearance Appearance {
material Material {
ambientIntensity 0.1
diffuseColor 0.8 0.8 0.8
}
texture ImageTexture {
url "stone2.jpg"
}
}
geometry Cylinder {
height 4.0
radius 0.5
bottom TRUE
top TRUE
side TRUE
}
}
]
}
Transform {
translation 0 0 -5
rotation 0 1 0 0
children [Shape {
appearance Appearance {
material Material {
ambientIntensity 0.1
diffuseColor 0.8 0.8 0.8
}
texture ImageTexture {
url "stone2.jpg"
}
}
geometry Cylinder {
height 0.1
radius 0.7
bottom TRUE
top TRUE
side TRUE
}
}
]
}Transform {
translation 0 2 -5
rotation 0 1 0 0
children [Shape {
appearance Appearance {
material Material {
ambientIntensity 0.1
diffuseColor 0.8 0.8 0.8
}
texture ImageTexture {
url "stone2.jpg"
}
}
geometry Cylinder {
height 0.1
radius 0.7
bottom TRUE
top TRUE
side TRUE
}
}
]
}
Transform {
translation 0 0 -2
rotation 0 1 0 0
children [Shape {
appearance Appearance {
material Material {
ambientIntensity 0.1
diffuseColor 0.8 0.8 0.8
}
texture ImageTexture {
url "stone2.jpg"
}
}
geometry Cylinder {
height 4.0
radius 0.5
bottom TRUE
top TRUE
side TRUE
}
}
]
}
Transform {
translation 0 0 -2
rotation 0 1 0 0
children [Shape {
appearance Appearance {
material Material {
ambientIntensity 0.1
diffuseColor 0.8 0.8 0.8
}
texture ImageTexture {
url "stone2.jpg"
}
}
geometry Cylinder {
height 0.1
radius 0.7
bottom TRUE
top TRUE
side TRUE
}
}
]
}Transform {
translation 0 2 -2
rotation 0 1 0 0
children [Shape {
appearance Appearance {
material Material {
ambientIntensity 0.1
diffuseColor 0.8 0.8 0.8
}
texture ImageTexture {
url "stone2.jpg"
}
}
geometry Cylinder {
height 0.1
radius 0.7
bottom TRUE
top TRUE
side TRUE
}
}
]
}
Transform {
translation 0 0 0
rotation 0 1 0 0
children [Shape {
appearance Appearance {
material Material {
ambientIntensity 0.1
diffuseColor 0.8 0.8 0.8
}
texture ImageTexture {
url "stone2.jpg"
}
}
geometry Cylinder {
height 4.0
radius 0.5
bottom TRUE
top TRUE
side TRUE
}
}
]
}
Transform {
translation 0 0 0
rotation 0 1 0 0
children [Shape {
appearance Appearance {
material Material {
ambientIntensity 0.1
diffuseColor 0.8 0.8 0.8
}
texture ImageTexture {
url "stone2.jpg"
}
}
geometry Cylinder {
height 0.1
radius 0.7
bottom TRUE
top TRUE
side TRUE
}
}
]
}Transform {
translation 0 2 0
rotation 0 1 0 0
children [Shape {
appearance Appearance {
material Material {
ambientIntensity 0.1
diffuseColor 0.8 0.8 0.8
}
texture ImageTexture {
url "stone2.jpg"
}
}
geometry Cylinder {
height 0.1
radius 0.7
bottom TRUE
top TRUE
side TRUE
}
}
]
}
Transform {
translation 0 0 2
rotation 0 1 0 0
children [Shape {
appearance Appearance {
material Material {
ambientIntensity 0.1
diffuseColor 0.8 0.8 0.8
}
texture ImageTexture {
url "stone2.jpg"
}
}
geometry Cylinder {
height 4.0
radius 0.5
bottom TRUE
top TRUE
side TRUE
}
}
]
}
Transform {
translation 0 0 2
rotation 0 1 0 0
children [Shape {
appearance Appearance {
material Material {
ambientIntensity 0.1
diffuseColor 0.8 0.8 0.8
}
texture ImageTexture {
url "stone2.jpg"
}
}
geometry Cylinder {
height 0.1
radius 0.7
bottom TRUE
top TRUE
side TRUE
}
}
]
}Transform {
translation 0 2 2
rotation 0 1 0 0
children [Shape {
appearance Appearance {
material Material {
ambientIntensity 0.1
diffuseColor 0.8 0.8 0.8
}
texture ImageTexture {
url "stone2.jpg"
}
}
geometry Cylinder {
height 0.1
radius 0.7
bottom TRUE
top TRUE
side TRUE
}
}
]
}
Transform {
translation 0 0 4
rotation 0 1 0 0
children [Shape {
appearance Appearance {
material Material {
ambientIntensity 0.1
diffuseColor 0.8 0.8 0.8
}
texture ImageTexture {
url "stone2.jpg"
}
}
geometry Cylinder {
height 4.0
radius 0.5
bottom TRUE
top TRUE
side TRUE
}
}
]
}
Transform {
translation 0 0 4
rotation 0 1 0 0
children [Shape {
appearance Appearance {
material Material {
ambientIntensity 0.1
diffuseColor 0.8 0.8 0.8
}
texture ImageTexture {
url "stone2.jpg"
}
}
geometry Cylinder {
height 0.1
radius 0.7
bottom TRUE
top TRUE
side TRUE
}
}
]
}Transform {
translation 0 2 4
rotation 0 1 0 0
children [Shape {
appearance Appearance {
material Material {
ambientIntensity 0.1
diffuseColor 0.8 0.8 0.8
}
texture ImageTexture {
url "stone2.jpg"
}
}
geometry Cylinder {
height 0.1
radius 0.7
bottom TRUE
top TRUE
side TRUE
}
}
]
}