Page 1 of 1

about objects made in blender...

Posted: Mon Sep 07, 2009 12:13 pm
by dreamport
why is there part of my objects that i can see through inside of it..

like a wall in the house but when i walk forward the wall i see the insides of my house...

ive tried normalizing but nothing happens...

Posted: Mon Sep 07, 2009 12:37 pm
by JeroenP
I do think it's something with the normals...

You could flip the normals of a face individual.

(Edit mode -> select the face to flip the normal -> press W-key -> flip normals)

In blender (edit mode) you can show the normals -> Mesh Tools More -> show Normals.

Jeroen

Posted: Mon Sep 07, 2009 12:41 pm
by dreamport
i dont think its a problem from blender...

id copy one object from blender,,,, but when loaded with irrlicht... one of them can be seen through but the other cant....

Posted: Mon Sep 07, 2009 5:45 pm
by cheshirekow
but when i walk forward the wall i see the insides of my house...
This makes it sound to me like it's not a blender issue, but near-plane culling in the engine. So at first the wall is shown right? and it disappears when you get too close to it?

When you get too close to a face, it won't be drawn because it is essentially "behind" the camera, in that it is behind the distance of the image plane. You can change it by using

Code: Select all

camera->setNearValue(...);
edit: actually looked up the solution