RenderDistance or what?

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
Strong99
Admin
Posts: 687
Joined: Fri Mar 31, 2006 7:06 pm
Location: Netherlands
Contact:

RenderDistance or what?

Post by Strong99 »

Does Someone knows why mine game renders the poly's so late? Showed on the picture? Is it the Createdevice what do that?

Image
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Do you mean why is there a gap in the wall? It looks like possibly that gap shouldn't be there. That would be due to the farValue (i think) on the camera, you can set the distance the camera can see with one of it's methods, i think it's setFarValue, check it out.
Image Image Image
Strong99
Admin
Posts: 687
Joined: Fri Mar 31, 2006 7:06 pm
Location: Netherlands
Contact:

Post by Strong99 »

a thanks :P hope it works
andrei25ni
Posts: 326
Joined: Wed Dec 14, 2005 10:08 pm

Post by andrei25ni »

Code: Select all

your_cam_node->setFarValue(22000.0f);
22000 or whatever you want and need :wink:
Strong99
Admin
Posts: 687
Joined: Fri Mar 31, 2006 7:06 pm
Location: Netherlands
Contact:

Post by Strong99 »

Yes it worked:) thanx
Knobs
Posts: 2
Joined: Thu May 25, 2006 12:22 pm

Post by Knobs »

you should limit your far-value, greater far-values are not good for your z-buffer (depth-buffer, how you call it..), so dont use 22000 (when using small values for the near plane)...
Post Reply