/Seneca-Golf

Seneca Golf is and opensource golf simulator.

GNU General Public License v3.0GPL-3.0

Seneca-Golf

Seneca Golf
What is Seneca Golf? Seneca Golf is an Open Source Golf Simulator that could be the basis for any homebrewer, DIY types, golf fanatics that want to build and test a Launch Monitor, or build a golf course, design a game. Why is it called Seneca golf course. Seneca is the name of a Golf course located near my house. I needed some means of exercise so I started walking the golf course, learned to swing a club and enjoy the game. Soon I was bitten by the bug and bought a Zepp and a net. Zepp has some great tutorials and tips but simply tracks the motion of your lead glove hand during the swing. After trying to teach myself how to swing with the Zepp, I decided to move up to my first simulator, with an Optishot. This was a really great sensor system that track your club motion as the club face flighs over two banks of infrarred LEDs. The first bank is the trigger bank, and the second bank is the one that measures the face angle of the club. You can get all kind of information about a golf swing from this device. Interesting enough, it does not see the golfball with the LED infrared emitter/detectors. This got me started in really building out a full simulator, with projector, impact screen and golf mats. I really enjoyed the Optishot software too. It allowed you to play on many real courses with all hazards and challanges of the real course. It has great online game play, good putting and a wide selection of courses. The game is propetary to Optishot and sadly is looking a little dated when you compare it against newer golf sim-software.

So was always looking at new things when I stumbled on a startup-fundme page that featured a system called Tittle (or Tittle-X now). This was a bluetooth based 6-DOF motion tracking device that you would attach to your club. It was one of the coolest golf gadgets ever! So I bought into their fundme. It came with a simulator called E6 that blew my socks off. It was amazing in how detailed all the plants, trees, houses and water looked. I was so realistc. About the same time, Raposodo had come out with their R-Motion that was a huge rave on the Golfsimulator forums. It included a license for a trimmed down version of the orginal TGC. It was very much like the Tittle. Anyway somewhere in that timeframe, I was wondering how to build my own courses for the simulator, and while looking at graphics engines, I found and tested on called Horde 3d (that I always associated with the rock tunneling creatures from "The Devil in the Dark" episode of StarTrek). Apparently that project was forked to another called Urho3d.

https://github.com/urho3d/Uho3d

Urho3d is an opensource project that aims to build a full robust game-engine, the like of Unity and others but more lightweight. As I was playing around with the Urho3D examples I started coding my first course. Urho3d already had some great physics models built in, and produced complex animation with easy. So I started putting together a project that would be golf simulator one day. I started with a elevation map of Seneca Golf course because I knew the course and it has some really interesting features, including a tee off over a creek, massive hills with may blind tee shots, a couple of sand traps, bridges, trees, practice areas. Its just a beautiful public course. With the terrain roughed out, I used a golfcart model (a box with 4 wheels) to ride over the map and verify that feel. The makeshift 'golfcart' could fire golf balls at object so one could get a sense of how a golf ball might play and act on landing, hitting objects and rolling. It was about this time that events popped up and I had to stop the project to take it up later. I never forgot about this code, but I could not find the time to restart the project. So this is the kickstart.

So I'm opening this project up, for all that want to contributed and build something cool. This can be a starting point, or whatever you would like to do.

For those that can't wait (and I would advise not to for now), I've recreated the Seneca Golf Course for TGC2019 along with Cherokee Park Golf Course (one of the oldest Muni golf courses in the USA) and Cresent Hill and soon to be released Charley Vittner Golf course. I just recently looked at GSPro which also has a nice course creation software and also has an openAPI for DIY Launch monitor systems. Should be fun.

Have fun.