Hit testing in winforms
#5
Well, I'll want to be able to ray cast against both specific objects from a specified location (for example to "explore" the geometry around a certain point in space) as well as casting against the entire scene from both an arbitrary point in space, as well as from a particular screen point.

I would definitely want to be able to iterate over hit locations along a ray as well.

An example of one of the things I'm trying to do. Imagine you have a line that penetrates into a mesh (in this case the line represents a "hole" and the mesh is a terrain scan). I want to be able to walk along sample points along the length of the line and cast rays around each sample point to find the closest intersection with the terrain. I then want to use this information to change the vertex colour of the terrain mesh to represent proximity to the hole.

That is one example. I have a few others as well, so let me know if you need more examples or detail.
  


Messages In This Thread
Hit testing in winforms - by Hamish - 02-23-2018, 03:38 AM
RE: Hit testing in winforms - by abenedik - 02-26-2018, 10:34 AM
RE: Hit testing in winforms - by Hamish - 02-27-2018, 01:49 AM
RE: Hit testing in winforms - by abenedik - 02-27-2018, 10:53 AM
RE: Hit testing in winforms - by Hamish - 02-27-2018, 12:14 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)