I have problem. I have a 3D-simulation. Now I want to know the texture of my location. How can I get this information.



What do you mean by ‘the texture of my location’? do you mean the texture of the polygon that you are standing on?

If thats the case, then you need to project a ray straight down from where your standing and see which polygon it collides with (standard collision detection in 3d). Given that information you should also know which texture your polygon has on it (otherwise how do you know which texture to draw on the polygon?).

If I’ve misunderstood you please let me know