Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 1, 2008, 5:42:25 PM (17 years ago)
Author:
rgrieder
Message:

removed commented shader hacks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/Model.cc

    r1505 r1511  
    8484        this->attachObject(this->mesh_.getEntity());
    8585
    86         //HACK!!
    87         /*if ((this->meshSrc_ == "assff.mesh") || (this->meshSrc_ == "ast1.mesh") || (this->meshSrc_ == "ast2.mesh") || (this->meshSrc_ == "ast3.mesh") || (this->meshSrc_ == "ast4.mesh") ||(this->meshSrc_ == "ast5.mesh") || (this->meshSrc_ == "ast6.mesh"))
    88         {
    89           Ogre::MeshPtr pMesh = this->mesh_.getEntity()->getMesh();
    90           //set Mesh to tangentspace
    91           unsigned short src, dest;
    92           if (!pMesh->suggestTangentVectorBuildParams(Ogre::VES_TANGENT, src, dest))
    93           {
    94             pMesh->buildTangentVectors(Ogre::VES_TANGENT, src, dest);
    95           }
    96           if ((this->meshSrc_ == "assff.mesh"))
    97           {
    98             (this->mesh_.getEntity())->setMaterialName("Assff/BumpMap");
    99           }
    100           else
    101           {
    102             (this->mesh_.getEntity())->setMaterialName("Asteroid/BumpMap");
    103           }
    104 
    105 
    106         }*/
    10786        COUT(4) << "Loader (Model.cc): Created model" << std::endl;
    10887      }
Note: See TracChangeset for help on using the changeset viewer.