11 - Picking a Triangle on the Terrain using the Mouse (DirectX + C# 3D Terrain Generator Tutorial)
У вашего броузера проблема в совместимости с HTML5
Let's make the Terrain interactive. In this tutorial I am trying to explain how to pick any spot on the terrain with the mouse. Only problem: the mouse is in 2D Screenspace while the terrain is in 3D Worldspace and there is quite alot of math in the middle, but Direct3D provides very easy-to-use functions to overcome the bounderies.
SourceCode: https://github.com/NeloBorcram/TerrainGeneratorTutorial0.1