So I’ve been thinking a lot about how to get Traffic working and really be performant on mobile, and desktop. So here’s the start to getting a new path based system with lane departure (not merging) that I got working.

So, after this video, I made it so that the system will only process vehicles that are within a specified region of the camera. I got it so that it can have 2 million total vehicles, and only show and spend GPU and CPU on the ones within 100 meters. It’s a pretty cool system that I’m sure we’ll use in a lot of different projects moving forward.