Changeset 112


Ignore:
Timestamp:
Jun 21, 2005, 7:15:07 PM (20 years ago)
Author:
darran
Message:
  • working towards serialization of swollen state
Location:
Swollen
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • Swollen/swollen/customviewer.h

    r66 r112  
    1414    virtual CustomTrackballManipulator* getTrackball(){return _trackball;}
    1515    virtual CustomTerrainManipulator* getTerrainManipulator(){return _terrainmanipulator;}
     16    osg::Vec3d getPosition(){return osg::Vec3d(_position[0],_position[1],_position[2]);}
     17    osg::Quat getOrientation(){return _orientation;}
    1618
    1719protected:
  • Swollen/swollen/main.vcproj

    r75 r112  
    153153                        </File>
    154154                        <File
     155                                RelativePath=".\state.cpp">
     156                        </File>
     157                        <File
    155158                                RelativePath=".\surface.cpp">
    156159                        </File>
     
    194197                        </File>
    195198                        <File
     199                                RelativePath=".\state.h">
     200                        </File>
     201                        <File
    196202                                RelativePath=".\surface.h">
    197203                        </File>
  • Swollen/swwreader/swwreader.cpp

    r111 r112  
    270270   _valid = true;
    271271
    272    std::cout << _state.alphamin << std::endl;
    273    std::cout << _state.alphamax << std::endl;
    274    std::cout << _state.heightmin << std::endl;
    275    std::cout << _state.heightmax << std::endl;
    276    std::cout << _state.cullangle << std::endl;
    277    std::cout << _state.culling << std::endl;
    278 
    279    std::cout << *_state.swwfilename << std::endl;
    280    std::cout << *_state.bedslopetexturefilename << std::endl;
    281 
    282272}
    283273
  • Swollen/swwreader/swwreader.vcproj

    r63 r112  
    2020                                Name="VCCLCompilerTool"
    2121                                Optimization="0"
    22                                 AdditionalIncludeDirectories="./;&quot;$(OSG_ROOT)/Producer/include&quot;;&quot;$(OSG_ROOT)/OpenThreads/include&quot;;&quot;$(OSG_ROOT)/OpenSceneGraph/include&quot;;&quot;$(NETCDF_DIR)/include&quot;;../include"
     22                                AdditionalIncludeDirectories="./;&quot;$(OSG_ROOT)/Producer/include&quot;;&quot;$(OSG_ROOT)/OpenThreads/include&quot;;&quot;$(OSG_ROOT)/OpenSceneGraph/include&quot;;&quot;$(NETCDF_DIR)/include&quot;;../include;&quot;$(OSG_ROOT)/3rdParty/include&quot;"
    2323                                PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
    2424                                MinimalRebuild="TRUE"
     
    3636                        <Tool
    3737                                Name="VCLinkerTool"
    38                                 AdditionalDependencies="osgd.lib netcdf.lib"
     38                                AdditionalDependencies="osgd.lib osgdbd.lib netcdf.lib gdal_i.lib"
    3939                                OutputFile="../bin/swwreaderd.dll"
    4040                                LinkIncremental="2"
    4141                                SuppressStartupBanner="TRUE"
    42                                 AdditionalLibraryDirectories="&quot;$(OSG_ROOT)/Producer/lib&quot;;&quot;$(OSG_ROOT)/OpenThreads/lib/win32&quot;;&quot;$(OSG_ROOT)/OpenSceneGraph/lib&quot;;&quot;$(NETCDF_DIR)/lib&quot;;../lib"
     42                                AdditionalLibraryDirectories="&quot;$(OSG_ROOT)/Producer/lib&quot;;&quot;$(OSG_ROOT)/OpenThreads/lib/win32&quot;;&quot;$(OSG_ROOT)/OpenSceneGraph/lib&quot;;&quot;$(NETCDF_DIR)/lib&quot;;../lib;&quot;$(OSG_ROOT)/3rdParty/lib&quot;"
    4343                                GenerateDebugInformation="TRUE"
    4444                                ProgramDatabaseFile="$(OutDir)/SWWReader.pdb"
Note: See TracChangeset for help on using the changeset viewer.