Changeset 2201 for GTP/trunk/App/Demos/Illum/Ogre/src/Common
- Timestamp:
- 03/07/07 17:36:02 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/Common/src/SceneSerializer.cpp
r2186 r2201 50 50 for(int i = 2; i < parameters.size(); i++) 51 51 clasters.clusters[i-2] = StringConverter::parseUnsignedInt(parameters.at(i)); 52 clasters.pathMapTextureFilename = context.pathMapTextureName + "_" + parameters[0]+ ". hdr";52 clasters.pathMapTextureFilename = context.pathMapTextureName + "_" + parameters[0]+ ".dds"; 53 53 clasters.pathMapResolution = context.pathMapResolutions[context.meshName]; 54 54 OgreIlluminationManager::getSingleton().addPathMapClusters(subentityname, clasters); … … 158 158 159 159 OgreIlluminationManager::getSingleton().addPathMapEntryPoint(ep); 160 161 stream->readLine(buffer, 500); 162 line = buffer; 163 tokens = StringUtil::split(line); 164 ep.position = Vector3(StringConverter::parseReal(tokens[1])); 165 166 OgreIlluminationManager::getSingleton().addPathMapEntryPoint(ep); 167 160 168 stream->readLine(buffer, 500); 161 169 }
Note: See TracChangeset
for help on using the changeset viewer.