Archived

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

Toyemann

Sprite & Mesh conflict

Recommended Posts

I''m having problem rendering a mesh over a sprite background. The mesh hides behind the sprite. When I use the dev->setrenderstate(D3DRS_ZENABLE, 1), certain part of the mesh becomes transparent. What do I do? Help.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Sprites are meant to be layered on top of the current image, so I imagine that trying to get them to behave differently will be unpredictable at best.

-andy

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Don''t use d3dx sprite functions, use transformed triangles texture mapped with your sprite.

Share this post


Link to post
Share on other sites