Changeset 6806 for code/branches/skybox2/src
- Timestamp:
- Apr 29, 2010, 3:27:24 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/skybox2/src/modules/designtools/SkyboxGenerator.cc
r6804 r6806 85 85 { 86 86 case 0 : 87 fovy_ = camera->getOgreCamera()->getFOVy(); 87 88 camera->getOgreCamera()->setFOVy(Degree(90)); 88 89 aspectRatio_ = camera->getOgreCamera()->getAspectRatio(); 89 fovy_ = camera->getOgreCamera()->getFOVy();90 90 camera->getOgreCamera()->setAspectRatio(1); 91 91 iterateOverDirections_++; … … 93 93 case 1 : 94 94 w->writeContentsToFile(skyboxPrefix_+"fr.png"); 95 //w->writeContentsToFile(skyboxPrefix_+"0.png");96 95 ce->yaw(Degree(90)); 97 96 iterateOverDirections_++; … … 100 99 case 2 : 101 100 w->writeContentsToFile(skyboxPrefix_+"lf.png"); 102 //w->writeContentsToFile(skyboxPrefix_+"1.png");103 101 ce->yaw(Degree(90)); 104 102 iterateOverDirections_++; … … 107 105 case 3 : 108 106 w->writeContentsToFile(skyboxPrefix_+"bk.png"); 109 //w->writeContentsToFile(skyboxPrefix_+"2.png");110 107 ce->yaw(Degree(90)); 111 108 iterateOverDirections_++; … … 114 111 case 4 : 115 112 w->writeContentsToFile(skyboxPrefix_+"rt.png"); 116 //w->writeContentsToFile(skyboxPrefix_+"3.png");117 113 ce->yaw(Degree(90)); 118 114 ce->pitch(Degree(90)); … … 122 118 case 5 : 123 119 w->writeContentsToFile(skyboxPrefix_+"up.png"); 124 //w->writeContentsToFile(skyboxPrefix_+"4.png");125 120 ce->pitch(Degree(180)); 126 121 iterateOverDirections_++; … … 129 124 case 6 : 130 125 w->writeContentsToFile(skyboxPrefix_+"dn.png"); 131 //w->writeContentsToFile(skyboxPrefix_+"5.png");132 126 ce->pitch(Degree(90)); 133 127 iterateOverDirections_++;
Note: See TracChangeset
for help on using the changeset viewer.