I have my very own OpenGL program which is c++ based running on Windows.
I have questions
- How to know whether the selective line passes through certain surface
- How to easily calculate collision point coordinate if the line passes through certain surface
With above, I think I can do object Boolean operation?
It would be much appreciated if there are algorithms that I can refer to or simply show me the way to do.
I’ve attached screenshots to visually show what I’m trying to do
Thank you very much!!