Pablo Goldszeft (pablo++at++bvr.co.il)
Thu, 30 Jun 1994 10:53:13 +0000
I'm trying to import an Inventor file created with the "revo" demo tool, to my
Performer 1.2 application using the LoadIv() routine. The routine doesn't seem
to recognize the tokens in the file. Why?
(By the way, "revo" outputs files in Inventor 2.0 format. I've converted the
files into Inventor 1.0 format using the "iv2toiv1")
The file looks as follows:
#Inventor V1.0 ascii
Separator {
ShapeHints {
hints (ORDERED | CONVEX)
}
Coordinate3 {
point [ 0.5 -0.2 0,
0.472909 -0.2 0.16235,
0.39457 -0.2 0.307106,
0.273474 -0.2 0.418583,
0.122743 -0.2 0.4847,
-0.0412897 -0.2 0.498292,
-0.200848 -0.2 0.457887,
-0.338641 -0.2 0.367862,
-0.439737 -0.2 0.237974,
-0.493181 -0.2 0.0822973,
-0.493181 -0.2 -0.0822973,
-0.439737 -0.2 -0.237974,
-0.338641 -0.2 -0.367862,
-0.200848 -0.2 -0.457887,
-0.0412897 -0.2 -0.498292,
0.122743 -0.2 -0.4847,
0.273474 -0.2 -0.418583,
0.39457 -0.2 -0.307106,
0.472909 -0.2 -0.16235,
0.5 -0.2 0,
0.5 0.2 0,
0.472909 0.2 0.16235,
0.39457 0.2 0.307106,
0.273474 0.2 0.418583,
0.122743 0.2 0.4847,
-0.0412897 0.2 0.498292,
-0.200848 0.2 0.457887,
-0.338641 0.2 0.367862,
-0.439737 0.2 0.237974,
-0.493181 0.2 0.0822973,
-0.493181 0.2 -0.0822973,
-0.439737 0.2 -0.237974,
-0.338641 0.2 -0.367862,
-0.200848 0.2 -0.457887,
-0.0412897 0.2 -0.498292,
0.122743 0.2 -0.4847,
0.273474 0.2 -0.418583,
0.39457 0.2 -0.307106,
0.472909 0.2 -0.16235,
0.5 0.2 0 ]
}
Normal {
vector [ 1 0 0,
0.945817 0 0.324699,
0.789141 0 0.614213,
0.546948 0 0.837166,
0.245485 0 0.9694,
-0.0825793 0 0.996584,
-0.401695 0 0.915773,
-0.677282 0 0.735724,
-0.879474 0 0.475947,
-0.986361 0 0.164595,
-0.986361 0 -0.164595,
-0.879474 0 -0.475947,
-0.677282 0 -0.735724,
-0.401695 0 -0.915773,
-0.0825793 0 -0.996584,
0.245485 0 -0.9694,
0.546948 0 -0.837166,
0.789141 0 -0.614213,
0.945817 0 -0.324699,
1 0 0,
1 0 0,
0.945817 0 0.324699,
0.789141 0 0.614213,
0.546948 0 0.837166,
0.245485 0 0.9694,
-0.0825793 0 0.996584,
-0.401695 0 0.915773,
-0.677282 0 0.735724,
-0.879474 0 0.475947,
-0.986361 0 0.164595,
-0.986361 0 -0.164595,
-0.879474 0 -0.475947,
-0.677282 0 -0.735724,
-0.401695 0 -0.915773,
-0.0825793 0 -0.996584,
0.245485 0 -0.9694,
0.546948 0 -0.837166,
0.789141 0 -0.614213,
0.945817 0 -0.324699,
1 0 0 ]
}
NormalBinding {
value PER_VERTEX_INDEXED
}
QuadMesh {
verticesPerColumn 2
verticesPerRow 20
}
}
-- Pablo Goldszeft
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:22 PDT