[not a bug] Light + Scale Node + GeForce 7600 GS = ERROR!!!
Posted: Tue Dec 19, 2006 10:53 pm
I am bue new PC.
I have video card: NVIDIA GeForce 7600 GS.
My project has this code:
Result:
If I am uncomment this line:
I am take this result:
If I am set scale > 1 my programm works correctly.
This error does not appear on my second computer.
This computer has NVIDIA GeForce 5200
Also this error does not appear if I disable lighting.
Therefore, my error appear only on the my PC with NVIDIA GeForce 7600 GS,
and if I am create two nodes:
1. lighting node
2. SCALED object with enabled lighting. (And error is appear if scale factor more then one)
I have video card: NVIDIA GeForce 7600 GS.
My project has this code:
Code: Select all
device->getFileSystem()->changeWorkingDirectoryTo("../media/");
IAnimatedMesh* mesh = smgr->getMesh("waterLily.ms3d");
IAnimatedMeshSceneNode* node = smgr->addAnimatedMeshSceneNode( mesh );
if (node)
{
node->setMaterialFlag(video::EMF_BACK_FACE_CULLING, false);
node->setMaterialFlag(EMF_LIGHTING, true);
//node->setScale(vector3df(0.5,0.5,0.5));
}
If I am uncomment this line:
Code: Select all
node->setScale(vector3df(0.5,0.5,0.5));
If I am set scale > 1 my programm works correctly.
This error does not appear on my second computer.
This computer has NVIDIA GeForce 5200
Also this error does not appear if I disable lighting.
Therefore, my error appear only on the my PC with NVIDIA GeForce 7600 GS,
and if I am create two nodes:
1. lighting node
2. SCALED object with enabled lighting. (And error is appear if scale factor more then one)