Tag Info

New answers tagged

-1

it was about NDC conversion on Y axis. this should be properly calculated. I have to reflect it.


0

Summary: Make a 3d mesh exactly the size of your terrain. Then do a raytrace trough the mouse towards the terrain. This will give you the x and z coordinate of the tile. Now from the z coordinate you can calculate the y coordinate of the tile without elevation. Then you can use one of your links to calculate the tile at that position. Now some simple math ...



Top 50 recent answers are included