
Added "Controlled" mesh classes Added Global Lighting Class Added Gamepad controls Split terrain nodes into Height and Perlin classes Fixed Splitmesh node stuff
17 lines
417 B
C++
17 lines
417 B
C++
#pragma once
|
|
#include "DirectXFramework.h"
|
|
#include "SharedMethods.h"
|
|
#include "TerrainNode.h"
|
|
|
|
class HeightMapTerrainNode : public TerrainNode
|
|
{
|
|
public:
|
|
HeightMapTerrainNode(wstring name, wstring heightMap, wstring seed, float waterHeight = 150.0f, int widthX = 1023, int widthZ = 1023, int cellSizeX = 10, int cellSizeZ = 10);
|
|
|
|
private:
|
|
wstring _heightMap;
|
|
|
|
bool LoadHeightMap(wstring heightMapFilename);
|
|
};
|
|
|