Walls disappear

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
Geniusz
Posts: 1
Joined: Fri Aug 29, 2014 3:27 pm

Walls disappear

Post by Geniusz »

Hi, i have one problem.

Here you can see all the walls.
Image

Here camera is farther than then and some walls ( clothes ) disappear, why ?
Image
REDDemon
Developer
Posts: 1044
Joined: Tue Aug 31, 2010 8:06 pm
Location: Genova (Italy)

Re: Walls disappear

Post by REDDemon »

z-fight. google for it.. For distant objects use billboards or simplified models (having skin under shirt is wasting of processing power and over -complex model)
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Granyte
Posts: 850
Joined: Tue Jan 25, 2011 11:07 pm
Contact:

Re: Walls disappear

Post by Granyte »

you could also make sure irrlicht is using a 32 bit depth buffer if you really need this much details
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Walls disappear

Post by CuteAlien »

Are you maybe using the software renderer? In that case please switch to OpenGL or DirectX rendering for 3D stuff.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
christianclavet
Posts: 1638
Joined: Mon Apr 30, 2007 3:24 am
Location: Montreal, CANADA
Contact:

Re: Walls disappear

Post by christianclavet »

I see that happening all the time on Intel hardware with GL on windows. I don't know why but their rendering is less precise than the others. (Perhaps their depth buffer can't be set properly? For me it look almost like 8bit depth compared to the others)
To use 32bit buffers you need to use the createDeviceEx instead of CreateDevice(). The default value is 16bit.
Post Reply