Jump to content

  • Log In with Google      Sign In   
  • Create Account

Direct3D & Voodoo2


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 bronto   Members   -  Reputation: 122

Like
Likes
Like

Posted 24 December 1999 - 04:13 AM

Hi

I'm having serious troubles with my d3d app (DirectX 6.1 interfaces), especially with Voodoo2 cards

First, the IDirect3DViewport3::Clear2 doesn't work when used with D3DCLEAR_TARGET (and I'm not too sure about the ZBuffer, since I get very strange ZBuffer artifacts, but not in *every* frame)

my app is quite simple at the moment
it draws a picture in the background using D3DTLVERTEX's as seen in many sdk samples
then I draw some triangles (with star texture) on top of it. Now on some areas they seem to be overlapped by the background, on some they are in front of the background, though they are coplanar

Hope someone can help me,
and Merry Christmas !

Martin "Bronto"


Sponsor:

#2 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 24 December 1999 - 04:00 AM

ummm, i'm not sure but I think you may have answered your own question about the z-buffer. You said your polygons are coplanar? Well then of course the z-buffer is going to have difficulty determining which surface should be drawn first/second and you will get a flickering effect between them alternating first/second drawn. Add a small offset into one of the polygons so it is definitely closer than the other one and the flickering will go away.

#3 bronto   Members   -  Reputation: 122

Like
Likes
Like

Posted 24 December 1999 - 04:13 AM

no, sorry, you got me wrong
the triangles in the front and the background are not coplanar
only the triangles in the front are coplanar

Martin





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS