ahmadi
05-10-2006 05:49:14
setFarClipDistance dont work on my oFusion scene.
i have some small and large meshes on my scene and i need to clip all things that are far from my camera but "setFarClipDistance" dont work here.
i must mention that setNearClipDistance work correct here.
its my code, perhaps you need
i have some small and large meshes on my scene and i need to clip all things that are far from my camera but "setFarClipDistance" dont work here.
i must mention that setNearClipDistance work correct here.
its my code, perhaps you need
camNode->setPosition(Vector3(0,0, 0));
mCamera->setPosition(Vector3(-10,5,-10));
mSceneMgr->setFog(FOG_LINEAR,ColourValue(0.9,0.9,1),0.1,500,10000);
mCamera->lookAt(0,0,0);
mCamera->setNearClipDistance(1);
mCamera->setFarClipDistance(50);