loaded irr file

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Post Reply
drarem
Posts: 81
Joined: Mon Mar 06, 2006 4:40 am
Contact:

loaded irr file

Post by drarem »

I load in a lightmapped .irr file - I notice when the camera view moves around, the edges of objects flicker slightly. Is there anything in irrEdit I can set to decrease this, or in irrlicht?
Lee Zhi Eng
Posts: 34
Joined: Tue Aug 22, 2006 2:48 pm
Location: Malaysia

Post by Lee Zhi Eng »

is there any screenshot?
drarem
Posts: 81
Joined: Mon Mar 06, 2006 4:40 am
Contact:

Post by drarem »

it happens when movement is involved - when two meshes are juxtaposition - even overlapping, when moving the camera around the lightmapped scene, the edges of the meshes flicker slightly. Like a brick wall joining to another section of brick (straight edges).
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

that's z-fighting, usually a model design flaw.
making less space between the near and far planes of the camera will make it look slightly better, or using a higher resolution z-buffer. (svn irrlicht has a higher res depth buffer by default, or in 1.1 you can enable the stencil buffer). if your faces are very close together or overlapping then there's nothing much you can do about it apart from make them further apart
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Post Reply