12th September 2003, 06:18 PM | #2 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
Re: how can i do a triangles file in C for read in ac3d
Hi Ray,
The format of triangle files is in the AC3D manual. if you can change your c code to output lines like this: fprintf(f, "%g %g %g %g %g %g %g %g %g 0x%X\n", p1->x, p1->y, p1->z, p2->x, p2->y, p2->z, p3->x, p3->y, p3->z, rgb); that will load into AC3D as a .tri file. Andy |
|
|