/dports/games/hyperrogue/hyperrogue-12.0f/rogueviz/ |
H A D | objmodels.cpp | 50 string mtlname, texname = ""; in load_obj() local 54 materials[mtlname] = tdata; in load_obj() 55 auto& mat = materials[mtlname]; in load_obj() 62 colors[mtlname] = nextcol; in load_obj() 63 println(hlog, "color of ", mtlname, " is ", nextcol); in load_obj() 80 mtlname = scanline(fsm); in load_obj() 133 string mtlname = scanline(fs); in load_obj() local 141 if(materials.count(mtlname)) { in load_obj() 144 co->tv.texture_id = materials[mtlname].textureid; in load_obj() 152 if(colors.count(mtlname)) in load_obj() [all …]
|
/dports/games/netradiant/netradiant-20150621-src/tools/quake3/q3map2/ |
H A D | convert_obj.c | 221 char name[ 1024 ], base[ 1024 ], mtlname[ 1024 ], dirname[ 1024 ]; in ConvertBSPToOBJ() local 234 strcpy( mtlname, bspName ); in ConvertBSPToOBJ() 235 StripExtension( mtlname ); in ConvertBSPToOBJ() 236 strcat( mtlname, ".mtl" ); in ConvertBSPToOBJ() 237 Sys_Printf( "writing %s\n", mtlname ); in ConvertBSPToOBJ() 246 fmtl = fopen( mtlname, "wb" ); in ConvertBSPToOBJ() 248 Error( "Open failed on %s\n", mtlname ); in ConvertBSPToOBJ()
|
/dports/math/vtk9/VTK-9.1.0/IO/Import/ |
H A D | vtkOBJImporter.cxx | 372 std::string mtlname = this->MTLFileName; in RequestData() local 375 mtlname = this->FileName + ".mtl"; in RequestData() 376 if (vtksys::SystemTools::FileExists(mtlname)) in RequestData() 378 this->MTLFileName = mtlname; in RequestData() 382 mtlname = vtksys::SystemTools::GetFilenamePath(this->FileName) + "/" + in RequestData() 384 if (vtksys::SystemTools::FileExists(mtlname)) in RequestData() 386 this->MTLFileName = mtlname; in RequestData()
|
H A D | vtk3DSImporter.cxx | 840 char mtlname[80]; in parse_msh_mat_group() local 844 strcpy(mtlname, read_string(importer)); in parse_msh_mat_group() 845 cleanup_name(mtlname); in parse_msh_mat_group() 847 new_mtl = update_materials(importer, mtlname, 0); in parse_msh_mat_group()
|
/dports/math/vtk8/VTK-8.2.0/IO/Import/ |
H A D | vtkOBJImporter.cxx | 364 std::string mtlname = this->MTLFileName; in RequestData() local 367 mtlname = this->FileName + ".mtl"; in RequestData() 369 FILE *defMTL = fopen(mtlname.c_str(), "r"); in RequestData() 374 vtkErrorMacro(<< "The MTL file " << mtlname << in RequestData() 382 this->MTLFileName = mtlname; in RequestData()
|
H A D | vtk3DSImporter.cxx | 814 char mtlname[80]; in parse_msh_mat_group() local 818 strcpy (mtlname, read_string(importer)); in parse_msh_mat_group() 819 cleanup_name (mtlname); in parse_msh_mat_group() 821 new_mtl = update_materials (importer, mtlname, 0); in parse_msh_mat_group()
|
/dports/math/vtk6/VTK-6.2.0/IO/Import/ |
H A D | vtk3DSImporter.cxx | 809 char mtlname[80]; in parse_msh_mat_group() local 813 strcpy (mtlname, read_string(importer)); in parse_msh_mat_group() 814 cleanup_name (mtlname); in parse_msh_mat_group() 816 new_mtl = update_materials (importer, mtlname, 0); in parse_msh_mat_group()
|
/dports/games/tesseract-data/tesseract/src/engine/ |
H A D | worldio.cpp | 894 defformatstring(mtlname, "%s.mtl", name); in writeobj() 895 path(mtlname); in writeobj() 896 f->printf("mtllib %s\n\n", mtlname); in writeobj() 968 f = openfile(mtlname, "w"); in writeobj()
|
/dports/games/tesseract/tesseract/src/engine/ |
H A D | worldio.cpp | 894 defformatstring(mtlname, "%s.mtl", name); in writeobj() 895 path(mtlname); in writeobj() 896 f->printf("mtllib %s\n\n", mtlname); in writeobj() 968 f = openfile(mtlname, "w"); in writeobj()
|
/dports/games/bzflag-server/bzflag-2.4.22/src/bzflag/ |
H A D | World.cxx | 1132 const std::string mtlname = filename + ".mtl"; in writeWorld() local 1133 const std::string mtlfile = getWorldDirName() + mtlname; in writeWorld() 1137 out << "mtllib " << mtlname << std::endl; // index the mtl file in writeWorld()
|
/dports/games/bzflag/bzflag-2.4.22/src/bzflag/ |
H A D | World.cxx | 1132 const std::string mtlname = filename + ".mtl"; in writeWorld() local 1133 const std::string mtlfile = getWorldDirName() + mtlname; in writeWorld() 1137 out << "mtllib " << mtlname << std::endl; // index the mtl file in writeWorld()
|
/dports/games/sauerbraten/sauerbraten/src/engine/ |
H A D | worldio.cpp | 1291 defformatstring(mtlname, "%s.mtl", name); in writeobj() 1292 path(mtlname); in writeobj() 1293 f->printf("mtllib %s\n\n", mtlname); in writeobj() 1372 f = openfile(mtlname, "w"); in writeobj()
|
/dports/games/redeclipse/base-2.0.0/src/engine/ |
H A D | worldio.cpp | 1340 defformatstring(mtlname, "%s.mtl", name); in writeobj() 1341 path(mtlname); in writeobj() 1342 f->printf("mtllib %s\n\n", mtlname); in writeobj() 1413 f = openfile(mtlname, "w"); in writeobj()
|
/dports/games/redeclipse16/base-1.6.0/src/engine/ |
H A D | worldio.cpp | 1836 defformatstring(mtlname, "%s.mtl", name); in writeobj() 1837 path(mtlname); in writeobj() 1838 f->printf("mtllib %s\n\n", mtlname); in writeobj() 1917 f = openfile(mtlname, "w"); in writeobj()
|
/dports/games/nexuiz/Nexuiz/sources/darkplaces/ |
H A D | model_shared.c | 2666 char mtlname[MAX_QPATH]; in Mod_Decompile_f() local 2707 dpsnprintf(mtlname, sizeof(mtlname), "%s_decompiled.mtl", basename); in Mod_Decompile_f() 2708 Mod_Decompile_OBJ(mod, outname, mtlname, inname); in Mod_Decompile_f()
|
/dports/games/xonotic/Xonotic/source/darkplaces/ |
H A D | model_shared.c | 3370 char mtlname[MAX_QPATH]; in Mod_Decompile_f() local 3414 dpsnprintf(mtlname, sizeof(mtlname), "%s_decompiled.mtl", basename); in Mod_Decompile_f() 3415 Mod_Decompile_OBJ(mod, outname, mtlname, inname); in Mod_Decompile_f()
|
/dports/games/darkplaces/darkplaces/ |
H A D | model_shared.c | 3474 char mtlname[MAX_QPATH]; in Mod_Decompile_f() local 3518 dpsnprintf(mtlname, sizeof(mtlname), "%s_decompiled.mtl", basename); in Mod_Decompile_f() 3519 Mod_Decompile_OBJ(mod, outname, mtlname, inname); in Mod_Decompile_f()
|