3D Object Selection
This used to be one of the larger wants on my to-do list. A few days ago, I searched for this info like the holy grail, some tutorial or same project to explain it as I suck at 3D maths.
Better than finding one that works, I found one that almost worked. It was SO CLOSE. But it didn't work 100% right. Succumbing to being so close, I opened up DarkPlaces and searched for PRYDON_CURSOR and did a Googling frenzy on the topic. For hours, I was on the brink of fixing it, trying to work out the missing components and in my head the mechanics.
Finally, I did something I felt would work. It didn't. After 10 hours of frustration. And then I clicked it again. And it did work, I clicked wrong the first time.
3D calculations are, in fact, easy. I can say this in hindsight. And what makes me rather happy about this experience is that if I ever get time to mess with the , I should be able to add rotating brush texture rotation into it. And work with the BSP editor tools.
[I get ever increasingly irritated that when I took all those matrix math kind of college courses they never did explain decent practical uses or applications of matrix math. Had they done so ... grrrr]
But better than that, I'm going to explain the basics of 3D math calculations. I have some more to learn. But going from not understanding it to rather well understanding it, I think I can explain how it works very well even for people like myself from a week ago that struggled deeply with the concepts. And do it lucidly and easily. It really is super easy.
(To be continued. Next time ... explanation. The following time: a really fun working project I already wrote for Mac OS X but I need to convert it to MSVC6 and CodeBlocks for Windows. Won't have a MSVC Express 2008 project, my Vista notebook died in September and my XP desktop doesn't have the right stuff to run 2008.)