Visibility computing problem

Hello,

Xith3D is a great framework, I am using it now
for already 1 month. I can already create multitextured shapes, with quite nice layout.

My problem is that even for single texturing, if I load
a big shape (terrain), often the far objects looks before
the close objects. I make a terrain so that I load a big quadarray, and for navigation I am using the
View.getTransform.lookat() method. Is someone able
to help me? For the rendering loop I am using the framework that JavaCoolDude made in his simplest demo. In the rendering loop there is the RenderOnce() method. But I cannot see Depth Buffer related methods
in the rendering loop. May it be that this is the problem?

Best regards
ssz

May want to post some code and maybe be more specific on the exact problem you are having. Screenshots and code help a lot to help diagnose problems.

Hello,

I brought a few screenshots, but I cannot insert them
here, How to insert a screenshot here in the forum?

Best regards
ssz

put them on a server as a jpg then link them using the image button above.

So finally here is the screenshots:

http://sacamaca.uw.hu/pictures/screenshot1.jpg

http://sacamaca.uw.hu/pictures/screenshot2.jpg

On the second screenshot it is clearly visible, that there is a close object, a rock peak. And there is a flat landscape, that should be behind the peak, partially visible. But the flat landscape is before the peak.
I will bring code also soon.

Best regards
ssz

Hi ssz!

How do you do the terrain?
I want a terrain just like your.
Are you able to send me the source code of it?
Thanks

Best regards,
Emil Alonzo

Hi

I also have had this problem.
Check your front clip distance by :

view.setFrontClipDistance(nearClipDistance);

Bye