Jump to content
  • Advertisement
Sign in to follow this  
SilverLogic

Dynamic Terrain editing, raytracing, ?

This topic is 4974 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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 ]

Share this post


Link to post
Share on other sites
Advertisement
I think what you are actually looking for is "ray picking". Google gives lots of results for this, I hope this will help you...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!