Page 1 of 1

Terrain issue

Posted: Thu Aug 27, 2009 10:30 am
by Vandal
I am confronted with a problem now. It is that part of terrain is cut off with the burr edge when the terrain is made by ITerrainSceneNode. I have no idea why the right part of the terrain is not drawn and becomes like teeth of the saw.
Please give me advice.

Image

Posted: Thu Aug 27, 2009 11:34 am
by U238
What driver type do you use when create Irrlicht device with

Code: Select all

createDevice (...)
function? I got like effect when used EDT_SOFTWARE driver type.
Or the thing may be in z-buffer distance. See ...

Code: Select all

ICameraSceneNode::setFarValue(...) 
function

solved

Posted: Thu Aug 27, 2009 2:22 pm
by Vandal
Sorry. When I wrote the following, the issue was solved. It happened on DirctX8.

Code: Select all

device = createDevice(EDT_DIRECT3D9, dimension2d<s32>(SCREENSIZE_X, SCREENSIZE_Y), 32, 
							false, false, false, &receiver);

Posted: Thu Aug 27, 2009 3:29 pm
by hybrid
That looks like a 32bit rendering bug, maybe it's not supported under DX8, maybe it's just not properly set up in Irrlicht.