home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Using VRML (Special Edition)
/
Special_Edition_Using_VRML_CDROM_Que_1996.iso
/
webpages
/
objects
/
chap22
/
farm
/
farm.wrl
< prev
next >
Wrap
Text File
|
1995-12-21
|
1KB
|
44 lines
#VRML V1.0 ascii
# A farm scene: grass, trees, a barn and a truck
#
# Created by Bernie Roehl, November 1995
#
# Barn and truck are from the Mesh Mart
# Single tree was generated by InWorld's TreeTool
# Forest was generated by forest.exe
Separator {
DEF Forest Separator {
Transform { translation 2.5 0 2.5 }
WWWInline { name "forest.wrl" }
}
DEF Grass Separator {
Texture2 { filename "grass01.BMP" }
TextureCoordinate2 { point [ 0 0, 1 0, 1 1, 0 1 ] }
Texture2Transform { scaleFactor 25 25 }
Material { diffuseColor 0 1 0 }
Coordinate3 { point [ 0 0 0, 50 0 0, 50 0 50, 0 0 50 ] }
IndexedFaceSet {
coordIndex [ 0, 1, 2, 3, -1 ]
textureCoordIndex [ 0, 1, 2, 3, -1 ]
}
}
DEF Barn Separator {
Transform {
translation 10 3.2 10
rotation 1 0 0 -1.5708
scaleFactor .02 .02 .02
}
WWWInline { name "barn.wrl" }
}
DEF Truck Separator {
Transform {
translation 10 1.6 25
rotation 1 0 0 -1.5708
scaleFactor .015 .015 .015
}
WWWInline { name "semi.wrl" }
}
}