Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::anonymous_namespace{Sky.cpp} Namespace Reference

Functions

void GenerateCurlNoise (const char *fileName, const I32 width, const I32 height)
 
void GeneratePerlinNoise (const char *fileName, const I32 width, const I32 height)
 
void GenerateWorleyNoise (const char *fileName, const I32 width, const I32 height, const I32 slices)
 
void GeneratePerlinWorleyNoise (PlatformContext &context, const char *fileName, const I32 width, const I32 height, const I32 slices)
 

Variables

constexpr bool g_alwaysGenerateWeatherTextures = false
 
constexpr bool g_useGroundTruthTextures = !g_alwaysGenerateWeatherTextures && false
 
const auto procLocation
 
const string curlTexName { "curlnoise.bmp" }
 
const string weatherTexName { "weather.bmp" }
 
const string worlTexName { "worlnoise.bmp" }
 
const string perlWorlTexName { "perlworlnoise.tga" }
 

Function Documentation

◆ GenerateCurlNoise()

void Divide::anonymous_namespace{Sky.cpp}::GenerateCurlNoise ( const char *  fileName,
const I32  width,
const I32  height 
)

Definition at line 57 of file Sky.cpp.

◆ GeneratePerlinNoise()

void Divide::anonymous_namespace{Sky.cpp}::GeneratePerlinNoise ( const char *  fileName,
const I32  width,
const I32  height 
)

Definition at line 87 of file Sky.cpp.

◆ GeneratePerlinWorleyNoise()

void Divide::anonymous_namespace{Sky.cpp}::GeneratePerlinWorleyNoise ( PlatformContext context,
const char *  fileName,
const I32  width,
const I32  height,
const I32  slices 
)

Definition at line 147 of file Sky.cpp.

◆ GenerateWorleyNoise()

void Divide::anonymous_namespace{Sky.cpp}::GenerateWorleyNoise ( const char *  fileName,
const I32  width,
const I32  height,
const I32  slices 
)

Definition at line 121 of file Sky.cpp.

Variable Documentation

◆ curlTexName

const string Divide::anonymous_namespace{Sky.cpp}::curlTexName { "curlnoise.bmp" }

Definition at line 52 of file Sky.cpp.

◆ g_alwaysGenerateWeatherTextures

constexpr bool Divide::anonymous_namespace{Sky.cpp}::g_alwaysGenerateWeatherTextures = false
constexpr

Definition at line 44 of file Sky.cpp.

◆ g_useGroundTruthTextures

constexpr bool Divide::anonymous_namespace{Sky.cpp}::g_useGroundTruthTextures = !g_alwaysGenerateWeatherTextures && false
constexpr

Definition at line 45 of file Sky.cpp.

◆ perlWorlTexName

const string Divide::anonymous_namespace{Sky.cpp}::perlWorlTexName { "perlworlnoise.tga" }

Definition at line 55 of file Sky.cpp.

◆ procLocation

const auto Divide::anonymous_namespace{Sky.cpp}::procLocation
Initial value:
= []()
{
return Paths::g_proceduralTexturesLocation / (g_useGroundTruthTextures ? "ground_truth" : "");
}
constexpr bool g_useGroundTruthTextures
Definition: Sky.cpp:45

Definition at line 47 of file Sky.cpp.

◆ weatherTexName

const string Divide::anonymous_namespace{Sky.cpp}::weatherTexName { "weather.bmp" }

Definition at line 53 of file Sky.cpp.

◆ worlTexName

const string Divide::anonymous_namespace{Sky.cpp}::worlTexName { "worlnoise.bmp" }

Definition at line 54 of file Sky.cpp.