home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1995 November
/
PCWK1195.iso
/
inne
/
win
/
sieciowe
/
oiv_demo.lzh
/
disk4
/
DATA.4
/
data
/
SlotCar
/
car7.iv
< prev
next >
Wrap
Text File
|
1994-11-13
|
8KB
|
294 lines
#Inventor V2.0 ascii
LODD {
distance [ 250, 700, 1000 ]
# Highest detail:
Separator {
renderCulling ON
ShapeHints {
vertexOrdering COUNTERCLOCKWISE
shapeType SOLID
faceType CONVEX
}
DEF Coords File { name "carCoords.iv" }
# CarBody
DEF MainColor
Material {
ambientColor .08 .25 .08
diffuseColor 0 1 .1
specularColor 1 1 1
shininess 0.9
}
DEF CarBody Group {
NormalBinding { value PER_VERTEX }
Normal {
vector [ 0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1,
0 0 1, 0 0 1, 0 0 1, 0 0 1,
0 7.0304e-09 -1, 0 7.0304e-09 -1, 0 7.0304e-09 -1,
0 7.0304e-09 -1, 0 7.0304e-09 -1, 0 7.0304e-09 -1,
0 7.0304e-09 -1, 0 7.0304e-09 -1, 0 7.0304e-09 -1,
0 7.0304e-09 -1, 0 7.0304e-09 -1, 0 7.0304e-09 -1,
0.267902 0.960761 0.0718763,
0.267902 0.960761 0.0718763,
0.268597 0.963253 3.73495e-09,
0.268597 0.963253 3.73495e-09,
0.267902 0.960761 0.0718763,
0.267902 0.960761 -0.0718763,
0.267902 0.960761 -0.0718763,
0.268597 0.963253 3.73495e-09,
0.268597 0.963253 3.73495e-09,
0.267902 0.960761 -0.0718763,
0 1 0, 0 1 0, 0 1 0, 0 1 0, 0 1 0, 0 1 0, 0 1 0,
0 1 0, 0 1 0, 0 1 0, 0 1 0, 0 1 0, 0 1 0, 0 1 0,
-1 0 0, -1 0 0, -1 0 0, -1 0 0,
-0.707107 0.707107 0,
-0.707107 0.707107 0,
-0.707107 0.707107 0,
-0.707107 0.707107 0, ]
}
IndexedFaceSet {
coordIndex [ 0, 1, 3, 4, 5, 6, 7, 8,
9, 10, 11, -1, 46, 45, 44, 43,
42, 41, 40, 39, 38, 37, 36, 35,
-1, 19, 4, 26, 23, 21, -1, 54,
56, 23, 26, 39, -1, 16, 17, 18,
20, 22, 55, 53, 52, 51, 29, -1,
10, 9, 44, 45, -1, 0, 11, 46,
35, -1, 11, 10, 45, 46 ]
}
}
# Car number box on hood
BaseColor { rgb 0.4 0 0.6 }
Normal {
vector [ 0.260947 0.964919 0.0289478,
0.260947 0.964919 0.0289478,
0.261056 0.965324 0,
0.261056 0.965324 0,
0.261056 0.965324 0,
0.260947 0.964919 -0.0289478,
0.260947 0.964919 -0.0289478,
0.261056 0.965324 0, ]
}
IndexedFaceSet {
coordIndex [ 82, 83, 84, 87, -1, 84, 85, 86, 87, -1, ]
}
# Car Trim
BaseColor { rgb 1 1 0 }
NormalBinding { value PER_VERTEX_INDEXED }
Normal {
vector [ 0.179388 0.779948 0.599584,
0.179388 0.779948 0.599584,
0.255143 0.776596 0.576021,
0.179388 0.779948 -0.599584,
0.179388 0.779948 -0.599584,
0.179388 0.779948 -0.599584,
0 0.406138 0.913812,
0.220848 0.466545 0.856483,
0.150773 0.31851 0.935852,
0.220848 0.466545 0.856483,
0.429393 0.50096 0.751439,
0.220848 0.466545 0.856483,
0 0 1,
0 0 1,
0 0.207591 0.978216,
0 0 1,
0 0 1,
0 0 1,
0 0 1,
-0.0145601 0.0036402 0.999887,
0 0 1,
-0.0145601 0.0036402 0.999887,
-0.0218408 0.00546046 0.999747,
0 0 1,
-0.0145601 0.0036402 0.999887,
-0.0436705 0.0109181 0.998986,
-0.0218408 0.00546046 0.999747,
0.32929 0.768349 0.548825,
0.255143 0.776596 0.576021,
0.32929 0.768349 0.548825,
0 0.406138 -0.913812,
0.150773 0.31851 -0.935852,
0.220848 0.466545 -0.856483,
0.220848 0.466545 -0.856483,
0.429393 0.50096 -0.751439,
0.220848 0.466545 -0.856483,
0 0.207591 -0.978216,
0 0 -1,
0 0 -1,
0 0 -1,
0 0 -1,
0 0 -1,
0 0 -1,
0 0 -1,
-0.0145601 0.0036402 -0.999887,
-0.0145601 0.0036402 -0.999887,
0 0 -1,
-0.0218408 0.00546046 -0.999747,
-0.0145601 0.0036402 -0.999887,
-0.0218408 0.00546046 -0.999747,
-0.0436705 0.0109181 -0.998986,
0.401931 0.889993 -0.215323,
0.400298 0.909962 -0.108303,
0.400298 0.909962 -0.108303,
0.39392 0.919145 0,
0.39392 0.919145 0,
0.39392 0.919145 0,
0.392197 0.91895 0.0413779,
0.400298 0.909962 -0.108303,
0.392197 0.91895 -0.0413779,
0.400298 0.909962 -0.108303,
0.39392 0.919145 0,
0.389802 0.917179 0.0826848,
0.391141 0.920331 0,
0.391141 0.920331 0,
0.392197 0.91895 0.0413779,
0.389802 0.917179 -0.0826848,
0.392197 0.91895 -0.0413779,
0.391141 0.920331 0,
0.391141 0.920331 0,
0.948683 0 0.316228,
0.948683 0 0.316228,
0.948683 0 0.316228,
0.948683 0 0.316228,
0.948683 0 -0.316228,
0.948683 0 -0.316228,
0.948683 0 -0.316228,
0.948683 0 -0.316228,
-0.707107 0.707107 0,
-0.707107 0.707107 0,
-0.707107 0.707107 0,
-0.707107 0.707107 0,
-0.624695 -0.780869 0,
-0.624695 -0.780869 0,
-0.624695 -0.780869 0,
-0.624695 -0.780869 0,
-0.810679 0.58549 0,
-0.810679 0.58549 0,
-0.810679 0.58549 0,
-0.810679 0.58549 0 ]
}
IndexedTriangleStripSet {
coordIndex [ 19, 6, 4, -1, 39, 41, 54, -1,
16, 9, 8, -1, 16, 8, 13, -1,
16, 13, 17, 14, 15, -1, 17, 15,
18, 12, -1, 18, 12, 19, -1, 43,
44, 51, -1, 43, 51, 48, -1, 51,
52, 48, 49, -1, 49, 52, 50, 53,
47, -1, 47, 53, 56, 55, -1, 19,
21, 18, 20, -1, 54, 53, 56, -1,
20, 24, 22, 25, 57, -1, 22, 57,
55, -1, 27, 26, 3, 4, -1, 39,
26, 38, 27, # -1, 10, 45, 11, 46,
-1, 0, 35, 1, 36, -1, 16, 51,
9, 44, -1 ]
normalIndex [ 2, 0, 1, -1, 5, 3, 4, -1,
8, 6, 7, -1, 11, 7, 10, -1,
14, 12, 13, 16, 19, -1, 13, 19,
22, 25, -1, 29, 27, 2, -1, 32,
30, 31, -1, 32, 33, 34, -1, 36,
37, 38, 41, -1, 41, 37, 44, 47,
50, -1, 51, 52, 53, 59, -1, 55,
56, 54, 57, -1, 61, 52, 53, -1,
57, 62, 64, 63, 66, -1, 64, 66,
59, -1, 71, 72, 70, 73, -1, 75,
76, 74, 77, # -1, 79, 80, 78, 81,
-1, 83, 84, 82, 85, -1, 87, 88,
86, 89, -1 ]
}
# Racing stripe
Material {
diffuseColor 1 .4 0
shininess ~
specularColor ~
}
NormalBinding { value PER_FACE }
Normal { vector [ 0 0 1, 0 0 -1 ] }
IndexedFaceSet { coordIndex [ 92, 93, 94, 95, -1, 96, 99, 98, 97, -1 ] }
# Car number
Separator {
MatrixTransform {
matrix 8.19398e-12 -2.21729e-06 -0.6 0
-0.577456 0.162926 -6.02099e-07 0
0.162926 0.577456 -2.13398e-06 0
18 3.5 1.6 1
}
Complexity { value 0 }
Text3 { string "7" }
}
File { name "wheel.iv" }
# Car Windows and Bottom
Material {
diffuseColor 0 0 0
ambientColor 0 0 0
specularColor ~
shininess ~
}
Normal {
vector [ -0.813733 0.581238 0,
-0.813733 0.581238 0,
-0.813733 0.581238 0,
-0.813733 0.581238 0,
0.0442598 0.449279 0.892295,
0.0442598 0.449279 0.892295,
0.0442598 0.449279 0.892295,
0.0442598 0.449279 0.892295,
0.0442598 0.449279 0.892295,
0.0442598 0.449279 0.892295,
0.0442598 0.449279 0.892295,
0.0442598 0.449279 -0.892295,
0.0442598 0.449279 -0.892295,
0.0442598 0.449279 -0.892295,
0.0442598 0.449279 -0.892295,
0.0442598 0.449279 -0.892295,
0.0442598 0.449279 -0.892295,
0.0442598 0.449279 -0.892295,
0.394211 0.91902 0,
0.394211 0.91902 0,
0.394211 0.91902 0,
0.394211 0.91902 0,
0.394211 0.91902 0,
0.394211 0.91902 0,
0.0 -1 0,
0.0 -1 0,
0.0 -1 0,
0.0 -1 0,
0.0 -1 0, ]
}
NormalBinding { value PER_VERTEX }
IndexedFaceSet {
coordIndex [ 88, 89, 90, 91, -1, 8, 7, 6,
12, 15, 14, 13, -1, 43, 48, 49,
50, 47, 41, 42, -1, 24, 21, 23,
56, 57, 25, -1, 1, 36, 38, 27, 3, -1, ]
}
}
# Next LOD:
# Second LOD-- just car body and low-complexity wheels
Separator {
USE Coords
USE MainColor
USE CarBody
File { name smallWheel.iv }
}
# Third LOD-- just approximate with a cube
Separator {
USE MainColor
Translation { translation 0 2 -6 }
Cube { width 7 height 3 depth 14 }
}
# Final LOD-- don't draw anything at all
Group { }
}