Dx9 2 triangles combine

Started by
1 comment, last by hhpp228 7 years, 11 months ago

Hi guys!

I draw 2 triangle(call 2 DrawIndexedPrimitives) and 2 pass shader.

And i have:

9889398.jpg

And I need:

9879158.jpg

How do the right?

Use 1 DrawIndexedPrimitives is not suitable.

Thanks!

Advertisement

The two matching corners need their vertices positions to match as well. You should get the desired result if you move the single fruit vertex to be on top of the multi-fruit vertex at the bottom, and then you need to move the multi-fruit vertex to be on top of the single fruit vertex at the top. The stretching of the image will occur naturally at that point.

Thanks BBeck. But I make 3d animation.
Was decided used Skinned Instancing with help tex2Dlod.
Is a good way?

This topic is closed to new replies.

Advertisement