- Timestamp:
- Nov 12, 2004, 2:32:01 PM (20 years ago)
- Location:
- orxonox/trunk/importer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/importer/framework.cc
r2812 r2837 46 46 return 0; 47 47 } 48 49 50 obj = new Object (argv[1]); 48 if (argc >=3) 49 obj = new Object (argv[1], atof(argv[2])); 50 else 51 obj = new Object(argv[1]); 51 52 52 53 GLfloat lmodelAmbient[] = {.1, .1, .1, 1.0}; -
orxonox/trunk/importer/material.cc
r2836 r2837 55 55 setAmbient(0,0,0); 56 56 setSpecular(0,0,0); 57 setShininess( 0.0);57 setShininess(2); 58 58 setTransparency(0.0); 59 59 -
orxonox/trunk/importer/object.cc
r2836 r2837 331 331 tmpMat->setShininess(Buffer+3); 332 332 } 333 // setting up transparency 334 else if (!strncmp(Buffer, "d", 1)) 335 { 336 tmpMat->setTransparency(Buffer+2); 337 } 338 else if (!strncpy(Buffer, "Tf", 2)) 339 { 340 tmpMat->setTransparency(Buffer+3); 341 } 342 333 343 } 334 344 return true;
Note: See TracChangeset
for help on using the changeset viewer.