zotto
03-24-2003, 01:12 AM
Hi folks,
I’ve created a 3D terrain using triangles. Now I want to mark these triangles with my mouse to manipulate the height of the terrain on any position I want. (like in SimCity 2000 … long time ago)
How can I identify on which x/y position in 3D the mouse is and which triangle is marked.
First I thought about using the “picking” method, but I guess I have to many triangles for this.
Is any other solution out there???
I’ve created a 3D terrain using triangles. Now I want to mark these triangles with my mouse to manipulate the height of the terrain on any position I want. (like in SimCity 2000 … long time ago)
How can I identify on which x/y position in 3D the mouse is and which triangle is marked.
First I thought about using the “picking” method, but I guess I have to many triangles for this.
Is any other solution out there???