how to create floor plane that extends to infinity?
Posted: Thu May 12, 2011 2:02 am
Hi,
I create a floor plane with something like this:
This has to set the size of the plane. But I'd like to have a floor plane that extends to infinity in all directions, so that when I move my camera, I'll never reach the end.
How could I do that?
Thanks for all.
Paul
I create a floor plane with something like this:
Code: Select all
SMaterial * material = new SMaterial();
material->AntiAliasing = EAAM_QUALITY | EAAM_LINE_SMOOTH | EAAM_POINT_SMOOTH;
material->Thickness = 1.0f;
IAnimatedMesh *movingPlane = smgr->addHillPlaneMesh("floor",
core::dimension2df(10, 10),
core::dimension2du(100, 100),
material);
IAnimatedMeshSceneNode *myfloor = smgr->addAnimatedMeshSceneNode(movingPlane);
How could I do that?
Thanks for all.
Paul