Update messages.
This commit is contained in:
parent
acc02abaf1
commit
dfe081d32a
@ -509,7 +509,7 @@ void TexImage::resize(int w, int h, ResizeFilter filter)
|
|||||||
|
|
||||||
if (m->type == TextureType_Cube)
|
if (m->type == TextureType_Cube)
|
||||||
{
|
{
|
||||||
#pragma message(NV_FILE_LINE "Output error when image is cubemap and w != h.")
|
#pragma message(NV_FILE_LINE "TODO: Output error when image is cubemap and w != h.")
|
||||||
h = w;
|
h = w;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -951,7 +951,7 @@ void TexImage::toNormalMap(float sm, float medium, float big, float large)
|
|||||||
const FloatImage * img = m->imageArray[i];
|
const FloatImage * img = m->imageArray[i];
|
||||||
m->imageArray[i] = nv::createNormalMap(img, (FloatImage::WrapMode)m->wrapMode, filterWeights);
|
m->imageArray[i] = nv::createNormalMap(img, (FloatImage::WrapMode)m->wrapMode, filterWeights);
|
||||||
|
|
||||||
#pragma messsage(NV_FILE_LINE "Pack and expand normals explicitly")
|
#pragma message(NV_FILE_LINE "TODO: Pack and expand normals explicitly")
|
||||||
m->imageArray[i]->packNormals(0);
|
m->imageArray[i]->packNormals(0);
|
||||||
|
|
||||||
delete img;
|
delete img;
|
||||||
@ -968,7 +968,7 @@ void TexImage::toHeightMap()
|
|||||||
{
|
{
|
||||||
if (m->imageArray[i] == NULL) continue;
|
if (m->imageArray[i] == NULL) continue;
|
||||||
|
|
||||||
#pragma message(NV_FILE_LINE "Implement TexImage::toHeightMap")
|
#pragma message(NV_FILE_LINE "TODO: Implement TexImage::toHeightMap")
|
||||||
}
|
}
|
||||||
|
|
||||||
m->isNormalMap = false;
|
m->isNormalMap = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user