WPF 3D transparent textures - clipping?

前端 未结 1 1513
陌清茗
陌清茗 2021-01-13 20:58

http://www.youtube.com/watch?v=gZNdfVwkttM - you can see all of the problem described on this video if you can\'t see pictures.

All of walls in all images below have

相关标签:
1条回答
  • 2021-01-13 21:11

    You need to sort the triangles based on their distances from the viewpoint. Only then, wpf will be able to blend the transparent textures. DirectX is able to blend triangles on top of each other but only when drawing thema back to front

    http://www.ericsink.com/wpf3d/2_Transparency.html

    0 讨论(0)
提交回复
热议问题