Menu

Commit [r150]  Maximize  Restore  History

have terrain loading from server - well sort of

added a 'converter' package to hold converters that will do the hard work of converting string values from the server to useable data for the client
added HeightMapType1Converter and TripletConverter
HeightMapType1Converter converts height data of type 1 to an array that the client can use to initialize the terrain height map
TripletConvert converts triplet strings to float values

bmoberly 2011-11-26

changed /BrightMOO Python/src/BrightMOO/Communications/MOOCommands/MakeWorldCommand.py
changed /BrightMOO Python/src/BrightMOO/Graphics/TerrainUtils.py
added /BrightMOO Python/src/BrightMOO/Objects/DataConverters
added /BrightMOO Python/src/BrightMOO/Objects/DataConverters/HeightMapType1Converter.py
added /BrightMOO Python/src/BrightMOO/Objects/DataConverters/TripletConverter.py
added /BrightMOO Python/src/BrightMOO/Objects/DataConverters/__init__.py
copied /BrightMOO Python/src/BrightMOO/Objects/PropertyProcessors/RoomHeightPropertyProcessor.py -> /BrightMOO Python/src/BrightMOO/Objects/PropertyProcessors/RoomHeightPropertyProcessor.py
removed /BrightMOO Python/src/BrightMOO/Objects/PropertyProcessors/RoomHeightPropertyProcessor.pyc
changed /BrightMOO Python/src/BrightMOO/brightmoo.py
/BrightMOO Python/src/BrightMOO/Communications/MOOCommands/MakeWorldCommand.py Diff Switch to side-by-side view
Loading...
/BrightMOO Python/src/BrightMOO/Graphics/TerrainUtils.py Diff Switch to side-by-side view
Loading...
/BrightMOO Python/src/BrightMOO/Objects/DataConverters/HeightMapType1Converter.py Diff Switch to side-by-side view
Loading...
/BrightMOO Python/src/BrightMOO/Objects/DataConverters/TripletConverter.py Diff Switch to side-by-side view
Loading...
/BrightMOO Python/src/BrightMOO/Objects/DataConverters/__init__.py Diff Switch to side-by-side view
Loading...
/BrightMOO Python/src/BrightMOO/brightmoo.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.