accc: fix material name
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9040 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 8d5faf9156158c2cbff3e1ed498531983e9f73bb Former-commit-id: a416011ae000be91da142097de5b420a1a079dae
This commit is contained in:
parent
c1ffbeb50c
commit
c6cc86fd81
2 changed files with 2 additions and 2 deletions
|
@ -3583,7 +3583,7 @@ void printMaterials(FILE *file, const std::vector<mat_t> &materials)
|
|||
{
|
||||
const mat_t &material = materials[j];
|
||||
fprintf(file,
|
||||
"MATERIAL %s rgb %1.2f %1.2f %1.2f amb %1.2f %1.2f %1.2f emis %1.2f %1.2f %1.2f spec %1.2f %1.2f %1.2f shi %3d trans 0\n",
|
||||
"MATERIAL \"%s\" rgb %1.2f %1.2f %1.2f amb %1.2f %1.2f %1.2f emis %1.2f %1.2f %1.2f spec %1.2f %1.2f %1.2f shi %d trans 0\n",
|
||||
material.name.c_str(), material.rgb.r, material.rgb.g, material.rgb.b, material.amb.r,
|
||||
material.amb.g, material.amb.b, material.emis.r, material.emis.g,
|
||||
material.emis.b, material.spec.r, material.spec.g, material.spec.b,
|
||||
|
|
|
@ -58,7 +58,7 @@ double smooth_angle = 70.0;
|
|||
|
||||
void usage(void)
|
||||
{
|
||||
fprintf(stderr, "Ac3d Compiler $Revision: 1.4.2 $\n");
|
||||
fprintf(stderr, "Ac3d Compiler $Revision: 1.4.3 $\n");
|
||||
fprintf(stderr, "Usage: accc [option] <inputfile> <outputfile> [dist][-order \"orderstring\"]<\n");
|
||||
fprintf(stderr, "+o: ac3d to ac3d : the result file is optimized\n");
|
||||
fprintf(stderr, " in using groups by zone of track\n");
|
||||
|
|
Loading…
Reference in a new issue