Archived

This topic is now archived and is closed to further replies.

PaulSchwarz

Order of appearance

Recommended Posts

PaulSchwarz    122
Hello!!! I have a small problem with C++ DirectX 8. In program, which I am creating, I am using two objects from .3DS files. First I loaded the object which was nearer me, later the farther object. I ran my program and... I saw the farther object through the nearer object. How can I avoid this problem? Please, answer quickly.

Share this post


Link to post
Share on other sites
Seriema    634
Are you sure you''re not thinking "right hand" and using "left hand" coordinates?

"No lies of sugar can sweeten the sournes of reality"

}+TITANIUM+{ A.K.A. DXnewbie[onMIRC]

Share this post


Link to post
Share on other sites
Seriema    634
Are you sure you''re not thinking "right hand" and using "left hand" coordinates?

or are you using alpha values for transparency?..

"No lies of sugar can sweeten the sournes of reality"

}+TITANIUM+{ A.K.A. DXnewbie[onMIRC]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
It seems like a zbuffer problem, are you sure you setup it?

Share this post


Link to post
Share on other sites
PaulSchwarz    122
When I am using Z-buffer I have the same problem - I see the farther object through the nearer one. I am not using transparency at all.

I don''t know anything about "right hand" and "left hand" coordinates. Please, tell me more about them. Maybe, there is really something wrong with coordinates that I am using.

Share this post


Link to post
Share on other sites