Camera has short viewing radius

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
XSportSeeker
Posts: 10
Joined: Wed Apr 28, 2004 7:31 am

Camera has short viewing radius

Post by XSportSeeker »

I still couldn't solve the texture problem on .3ds and .obj files... but let's go to the next issue.
I was able to load my file, and apply colision detection on it... now there's another problem.
Don't know if I'll be able to explain it but here goes: The viewing reach of the camera is too short. I am able to visualize objects that are near, but if you get a little farther... the object just disapears... in fact, everything disapears... just turning pitch black darkness.
Is there a way to expand the field of view, or something like that?
I had the intention of like, running thru the map (with no phisics applyed) and then get to a far enough distance so that I can visualize the entire map (which in fact, is the logo from my university). Problem is, when I try to do that, the map will disapear in this pitch black darkness... guess it gets out of the field of view of the camera.
I'm guessing addAnimatedMeshSceneNode would do the trick, but since this function isn't working yet... is there another way?
arras
Posts: 1622
Joined: Mon Apr 05, 2004 8:35 am
Location: Slovakia
Contact:

Post by arras »

cameranode->setFarValue(value);
cameranode->setNearValue(value);
cameranode->setFOV(value);
Post Reply