Changeset 3070 in orxonox.OLD for orxonox/trunk/importer/object.cc
- Timestamp:
- Dec 3, 2004, 8:22:38 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/importer/object.cc
r3069 r3070 575 575 tmpMat->setTransparency(Buffer+2); 576 576 } 577 else if (!strnc py(Buffer, "Tf ", 3))577 else if (!strncmp(Buffer, "Tf ", 3)) 578 578 { 579 579 tmpMat->setTransparency(Buffer+3); 580 580 } 581 582 else if (!strncmp(Buffer, "map_Kd ", 7)) 583 { 584 tmpMat->setDiffuseMap(Buffer+7); 585 } 586 else if (!strncmp(Buffer, "map_Ka ", 7)) 587 { 588 tmpMat->setAmbientMap(Buffer+7); 589 } 590 else if (!strncmp(Buffer, "map_Ks ", 7)) 591 { 592 tmpMat->setSpecularMap(Buffer+7); 593 } 594 else if (!strncmp(Buffer, "bump ", 5)) 595 { 596 tmpMat->setBump(Buffer+7); 597 } 598 581 599 582 600 }
Note: See TracChangeset
for help on using the changeset viewer.