Dynamic Terrain editing, raytracing, ?
I've created a simple 3d terrain editor in opengl (although this topic isnt API specific, or so i think), I want to grab the position on the map of where i clicked, so that i can raise-lower-flatten the terrain, or place objects etc., somebody told me to use raytracing, but i've googled alot, and cant find any articles on gamedev, does anyone know either a better method for what im doing, or a good article of how to use raytracing? Any help would be appreciated, thanks in advance.
[ the editor ]
I think what you are actually looking for is "ray picking". Google gives lots of results for this, I hope this will help you...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement