Original Post
Im trying to load, and render a world, from a standard .MAP file ( the one Worldcraft or Q3Radiant export). I''ve understood the format, but, its in stupid planes, instead of vertex co-ords. How do you calculate the vertexes from the planes? Also the method im using to read the values from each line in the file is giving me a problem when I get to the texture name.
// Var definitions...
char buffer[255]; memset( buffer, 0 , 20);
char tn[20]; memset( tn, 0, 20);
// Load values... well some of them...
sscanf( buffer, "( %d %d %d ) ( %d %d %d ) ( %d %d %d) %s %d %d %d %d %d %d %d %d ", &x1,&y1,&z1,&x2,&y2,&z2,&x3,&y3,&z3, tn )
Any help on these points would be lovely... Thnx, Syan