Ignore:
Timestamp:
03/07/07 17:36:02 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/Ogre/src/Common/src/SceneSerializer.cpp

    r2186 r2201  
    5050        for(int i = 2; i < parameters.size(); i++) 
    5151                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"; 
    5353        clasters.pathMapResolution = context.pathMapResolutions[context.meshName]; 
    5454        OgreIlluminationManager::getSingleton().addPathMapClusters(subentityname, clasters); 
     
    158158 
    159159                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 
    160168                stream->readLine(buffer, 500); 
    161169        } 
Note: See TracChangeset for help on using the changeset viewer.