Removed a lot of compression-related code.

This commit is contained in:
David Williams
2014-09-13 12:20:56 +02:00
parent 302c6e688b
commit c0a22de2df
17 changed files with 2 additions and 5570 deletions

View File

@ -25,7 +25,6 @@ freely, subject to the following restrictions:
#include "PolyVoxCore/Density.h"
#include "PolyVoxCore/FilePager.h"
#include "PolyVoxCore/MinizBlockCompressor.h"
#include "PolyVoxCore/MaterialDensityPair.h"
#include "PolyVoxCore/RawVolume.h"
#include "PolyVoxCore/SimpleVolume.h"
@ -102,8 +101,7 @@ template <typename VolumeType>
VolumeType* createAndFillVolume(void)
{
const int32_t uVolumeSideLength = 64;
MinizBlockCompressor<VolumeType::VoxelType>* compressor = new MinizBlockCompressor<VolumeType::VoxelType>();
FilePager<VolumeType::VoxelType>* pager = new FilePager<VolumeType::VoxelType>("./");
//Create empty volume
@ -140,8 +138,7 @@ float randomFloat(float a, float b)
template <typename VolumeType>
VolumeType* createAndFillVolumeWithNoise(int32_t iVolumeSideLength, float minValue, float maxValue)
{
MinizBlockCompressor<float>* compressor = new MinizBlockCompressor<float>();
{
FilePager<float>* pager = new FilePager<float>("./");
//Create empty volume

View File

@ -25,7 +25,6 @@ freely, subject to the following restrictions:
#include "PolyVoxCore/FilePager.h"
#include "PolyVoxCore/LargeVolume.h"
#include "PolyVoxCore/MinizBlockCompressor.h"
#include "PolyVoxCore/RawVolume.h"
#include "PolyVoxCore/SimpleVolume.h"
@ -271,8 +270,6 @@ TestVolume::TestVolume()
{
Region region(-57, -31, 12, 64, 96, 131); // Deliberatly awkward size
//m_pCompressor = new RLECompressor<int32_t, uint16_t>;
m_pBlockCompressor = new MinizBlockCompressor<int32_t>;
m_pFilePager = new FilePager<int32_t>("./");
//Create the volumes