[Orxonox-commit 195] r2867 - trunk/src/orxonox/tools

bknecht at orxonox.net bknecht at orxonox.net
Mon Mar 30 21:31:00 CEST 2009


Author: bknecht
Date: 2009-03-30 19:31:00 +0000 (Mon, 30 Mar 2009)
New Revision: 2867

Modified:
   trunk/src/orxonox/tools/Mesh.cc
Log:
Magician Beni on what he does best: Fixed the problem with the large scale models being too dark with only one line of change. I know everybody will love me now, so I would like you to keep relaxed and use your enthusiasm to code even greater stuff.

How great is it to finally be free using normal colored textures even when the objects is going to be scaled like crazy. No more dark space stations, no more dark planets and everybody is dancing around and holding hands. Spring has arrived and with it a brightly illuminated universe. Orxonox is so great and really the hottest (and now also the bright enough) space shooter ever to exist.

If only all problems could be solved by setting a bool to true:
world->peaceInTheMiddleEast(true);
this->usa_->noMoreAggressiveForeignPolicies(true);
eth->fiftyPercentGirls(true);

Modified: trunk/src/orxonox/tools/Mesh.cc
===================================================================
--- trunk/src/orxonox/tools/Mesh.cc	2009-03-30 13:34:39 UTC (rev 2866)
+++ trunk/src/orxonox/tools/Mesh.cc	2009-03-30 19:31:00 UTC (rev 2867)
@@ -69,6 +69,7 @@
             {
                 this->entity_ = this->scenemanager_->createEntity("Mesh" + convertToString(Mesh::meshCounter_s++), meshsource);
                 this->entity_->setCastShadows(this->bCastShadows_);
+                this->entity_->setNormaliseNormals(true);
             }
             catch (...)
             {




More information about the Orxonox-commit mailing list