Hi, i have one problem.
Here you can see all the walls.
Here camera is farther than then and some walls ( clothes ) disappear, why ?
Walls disappear
Re: Walls disappear
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
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Re: Walls disappear
you could also make sure irrlicht is using a 32 bit depth buffer if you really need this much details
Re: Walls disappear
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
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
Re: Walls disappear
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.
To use 32bit buffers you need to use the createDeviceEx instead of CreateDevice(). The default value is 16bit.