Store shadow file in PNG. Re #326.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3343 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 19534eacaa76acbdc81b367af4829267efbe1716 Former-commit-id: d8f7b02655741ee3f75a326be6fd73f3bdde7e9d
This commit is contained in:
parent
7bb9debefc
commit
6e1a0a3839
1 changed files with 6 additions and 6 deletions
|
@ -76,7 +76,7 @@ double tmptexa[200000];
|
|||
int tmpsurf[100000];
|
||||
ob_t * root_ob;
|
||||
int refs=0;
|
||||
char * const shadowtexture=strdup("shadow2.rgb");
|
||||
char * const shadowtexture=strdup("shadow2.png");
|
||||
|
||||
FILE * ofile;
|
||||
|
||||
|
@ -1467,8 +1467,8 @@ void saveObin3DS( char * OutputFilename, ob_t * object)
|
|||
}
|
||||
}
|
||||
|
||||
printf("texture file %s will be stored as %s.rgb \n",tex[i],name2);
|
||||
sprintf(matr->texture.map.name,"%s.rgb",name2);
|
||||
printf("texture file %s will be stored as %s.png \n",tex[i],name2);
|
||||
sprintf(matr->texture.map.name,"%s.png",name2);
|
||||
|
||||
if (root_material!=NULL) {
|
||||
matr->ambient.r = root_material->amb.r;
|
||||
|
@ -2451,7 +2451,7 @@ void computeSaveAC3D( char * OutputFilename, ob_t * object)
|
|||
}
|
||||
}
|
||||
|
||||
printf("texture file %s will be stored as %s.rgb \n",tex[i],name2);
|
||||
printf("texture file %s will be stored as %s.png \n",tex[i],name2);
|
||||
}
|
||||
|
||||
|
||||
|
@ -2611,7 +2611,7 @@ void computeSaveOBJ( char * OutputFilename, ob_t * object)
|
|||
}
|
||||
}
|
||||
|
||||
printf("texture file %s will be stored as %s.rgb \n",tex[i],name2);
|
||||
printf("texture file %s will be stored as %s.png \n",tex[i],name2);
|
||||
}
|
||||
|
||||
tmpob=object;
|
||||
|
@ -3139,7 +3139,7 @@ void computeSaveAC3DM( char * OutputFilename, ob_t * object)
|
|||
}
|
||||
}
|
||||
|
||||
printf("texture file %s will be stored as %s.rgb \n",tex[i],name2);
|
||||
printf("texture file %s will be stored as %s.png \n",tex[i],name2);
|
||||
}
|
||||
|
||||
tmpob=object;
|
||||
|
|
Loading…
Reference in a new issue