I thought it worked like this.

But that's not the result I'm getting. For an easy example, start with the 01.HelloWorld example, and change this line:
Code: Select all
smgr->addCameraSceneNode(0, vector3df(0,30,-40), vector3df(0,5,0));Code: Select all
ICameraSceneNode *cam = smgr->addCameraSceneNode(0, vector3df(0,5,-40), vector3df(0,5,0));
cam->setNearValue(40);
/* If you want to use the handy grid node to check the axis
ISceneNode *grid = new CGridSceneNode(smgr->getRootSceneNode(), smgr);
grid->setPosition(vector3df(0, 0, 0));
grid->setRotation(vector3df(90,0,0));
*/
But I found if I double the near value to 80, I get the results I thought I should with 40. Am I understanding this right? What's going on here?
FYI Mac OS X, Irrlicht 1.4.1, OpenGL device


