Show HN: Drive around my village in 3D

(cherwellvalleymotorclub.app)

124 points | by johnwards 4 days ago

60 comments

  • jojogeo 1 day ago
    Oh my this is outstanding, seriously good job.

    My father's family all come from Deddington/Banbury, and my nan still lives there; couldn't believe it when my Rover loaded across the road from the Unicorn!

    I even made the same mistake I normally do, turning right at the crossroads instead of left; having to turn round up the Banbury road and come back. edit: Thank you very much for making me smile on a Monday morning op!

    • johnwards 1 day ago
      Nice! Small world. I like the job the agents made of the Unicorn. But the town hall is my fav. All agent done from LIDAR and photos. Deddington, British Motor Museum and Silverstone have had this dedicated treatment.

      The rest is all generated from LIDAR and roof colours are guessed at based on arial photos, which then feeds the world generation. So its roughly the right shape etc, but can be a bit odd at time.

      • jojogeo 1 day ago
        I even had some asshole in a metro shoving me along for doing 30 through the village, 11/10 for realism!
        • Doctor_Fegg 1 day ago
          And just like real life, there was no sign of Thames Valley Police to do anything about it!
          • johnwards 19 hours ago
            Well you can pick a police livery if you want, on the SD1, Dolly and the Metro... (B for blues)
            • jojogeo 6 hours ago
              Muahahahaha, re-live the 80s as a SD1 wielding country copper in Oxfordshire; I'm sure there's a crappy TV show in here somewhere!

              Need to give this a try with a wheel on my gaming PC.

  • iamwil 19 hours ago
    I've always wanted a driving game, where I could race my commute. In the car I owned, for the fantasy of GTA'ing it to work. And then I should be able to drive a tank to work, and blast traffic. Even more fantastical would be drive a katamari to work. Or maybe if you had to fight traffic by teleporting between bodies of drivers of cars (like in the Matrix 2 movie)--but they have to line up right and timed right, otherwise you end up tumbling on the highway.

    I suppose the fun for that kind of power fantasy wanes quickly, so you'd have to build in some kind of challenge or limiter. But man, I day dreamt of it so often while commuting.

    • foobarian 17 hours ago
      I wanted something similar but merely to learn the route. At the more complicated intersections for example, or accounting for one-way streets.
    • elikoga 16 hours ago
      BeamNG with the world map mod?
  • Doctor_Fegg 1 day ago
    This is amazing. Would love a write-up on the world generation if you felt like it.

    Frivolous suggestion: You could vary the stone colour for different areas - I just drove around my town (Charlbury) and it looks like Deddington-style Northamptonshire ironstone rather than our own Cotswold limestone!

    • jojogeo 1 day ago
      I love that this thread is drawing out locals from around us, don't think this has ever occurred previously on HN! \o/

      My family lives in Welford now on the other side of Daventry from Oxfordshire, but am not far away and still visit regularly.

  • _puk 1 day ago
    Please sir can we have have an Austin mini cooper 1.3!

    Love this! Was on my ideas list years ago to build something like this from Google maps; caning around the Devon lanes in a mini. Those were the days.

    Extra points if you can drive in the dark and flip your lights off at crossroads to check noone coming the other way ;)

    • johnwards 1 day ago
      So it follows Deddington time for the day night cycle (with correct phase of moon and star map, because...well I'm posting on HN...)

      So yes, you can drive in the dark and check whats coming

  • kucakun 19 hours ago
    Kinda in the topic: There's a community built mod to BeamNG where the whole earth map is streamed from OSM and other sources (elev maps, goverments lidar maps, etc ) to the game live.

    I'm testing it currently playing in VR and it is the best free roam experience ive had in budget simracing. You can take a weak, regular car and drive it around your hometown wherever you are on earth. https://github.com/TecnaGamer/BeamNG.Earth

  • dialectio 1 day ago
    Great fun. How do you turn the LIDAR data into drivable roads? Do you drape the OSM ways over the terrain model and flatten a corridor around them, or drive on the raw surface?
  • Kuyawa 16 hours ago
    This is awesome!

    Everybody is named AAA because we just want to try it without being bothered, so I would pick 3 letters at random for every tester

    I want this for my city!

    * Where is the handbrake? we definitely need a handbrake!

    • nacnud 15 hours ago
      Press Space. Or H to see all the keys.
    • biomcgary 15 hours ago
      No, this is AAA game.
  • euoia 6 hours ago
    My friend made a drone flying game using a similar approach: https://failsafe.emptystring.dev/

    It's difficult! I think best played with a controller.

  • ccoreilly 19 hours ago
    I also started a similar project driven by the desire to play a GTA like game in Berlin, but prefer cell-shading graphics. The game is still rough but slowly improving itself automatically with agents fetching street view images and comparing them to what is rendered today.

    https://drive.liam.cat/

  • parkersweb 1 day ago
    Crazy - my wife grew up in Adderbury, so just virtually popping over there now!
    • jojogeo 1 day ago
      Same as my mum! Definitely smol world.
  • pawelwentpawel 1 day ago
    This looks great! What was your process in building the map itself? Was the LIDAR data enough? Is each building an exact replica?
    • johnwards 1 day ago
      So three main data sources build the world, and those are generic to build any part of England that has this LIDAR data.

      1) UK gov LIDAR 2) Open streetmap for the roads 3) Open data sets for the roof colours/land colours

      That gives general placements, how the hills roll, fields etc.

      Then if I want to focus on a specific area to get the accuracy higher I can then feed in pictures of places to agents and it will then use those pictures to increase the accuracy.

      For best examples of that is the spawn point in Deddington, the British Motor Museum or Silverstone GP (escape to pause, then press Go To for a selection). Or M for map, z to see the whole thing, then click and teleport.

  • tantalor 20 hours ago
    I'm getting like 0.01 FPS
    • drltaidev 3 hours ago
      Lucky you, I can't even get it started beyond the first menu! :( I guess that's where 99% of the time goes now: making it work for others and better UX. Too bad because the idea looks cool, and I am also still amazed at how AI agents make this stuff so fast and well (this used to be 90% of the work, not 1%...).
    • chihuahua 10 hours ago
      It seems to require a certain level of GPU. I tried it first on one machine with a weak integrated GPU (Intel Xe), and got your experience. Then I tried it on a different machine with a Radeon 760M and it works much better.
    • anthk 5 hours ago
      If you use Firefox type about:config in the URL bar and set to 'true' all the keys with both layout and accel in the same name and ditto wtih webgpu...enabled. Set these to "true". Also set to true to one with "ignore blacklist gpu" or something like that. You can search for the keys at the input box.

      Ditto with "webgl force enabled " or similar.

      On Chrome based browsers it's "about:flags" and the setting it's about ignore GPU blacklist or software rendering or such. Ditto, ignore the blacklist by setting the value to on or true. If you search for "ignore" or "blacklist" you might get it fast.

  • monkeydust 20 hours ago
    Very nice and pretty fun. Was thinking it would be nice to reproduce my town if the setup was extendable e.g. could give my claude your instruction_manual.md for how you did this and it could go off and pull down the relevant artifacts for my area (lidar etc) and I could host it.
  • fluxusars 1 day ago
    Nice! Btw there are services out there that charge for this kind of thing, where you can generate a track for e.g. Assetto Corsa based on map data. I've found those to be pretty poor quality so this seems like a thing you can make some money with if you do it well.
  • chihuahua 10 hours ago
    Pretty cool. Works great on my desktop, totally freezes up on my laptop. The desktop has a much better GPU, so that's probably why some others are having problems.

    I seem to be the only car on the road, probably due to time of day.

  • yiranvc 14 hours ago
    The car design, sound, and engine are super immersive, and the traffic around you feels just like real driving.

    Do you plan to add more villages?

  • fugaziboutit 3 days ago
    This locks up my browser at the "AAA" screen.
    • throwaway_023 1 day ago
      I had the same experience. I don't know if it was due to my clicking around or if it just took a while to load, but it finally loaded. The "HN effect" perhaps?
      • amelius 15 hours ago
        Same here. Firefox on Linux.
  • azaeske 3 days ago
    This is awesome! Curious if you looked at the generated code or if you just served as the product manager / UI person? I've done it both ways and its fun and surprising in both modes.
    • johnwards 3 days ago
      Stayed full product manager, not looked at a line of code. Scary as hell tbh. But I've just looked at screenshots, specs/plans and done play testing!
  • baliex 17 hours ago
    This is the most fun I've had in a browser in a LONG time. Amazing, well done!! Please cover more areas!
  • jins__earth 7 hours ago
    Well made. Nice village!
  • sfpk 4 days ago
    Fun, but you need a progress-bar -- I clicked 'skip' and I thought the site was broken because nothing happened for about 5 seconds.
    • johnwards 4 days ago
      Oooh ok, good catch! There is one, but yes its not super obvious.
      • johnwards 4 days ago
        I'm so used to testing it with everything cached totally overlooked this!
    • johnwards 3 days ago
      Think this should be fixed for you.
      • throwaway_023 1 day ago
        After entering my initials it took a long time for it to start. I thought it was frozen and was almost about to leave when it loaded.

        Perhaps you should add some type of loading indicator or something?

  • thelbartworks 3 days ago
    in my case it takes too long to load, is stuck at about 90ish%
    • johnwards 3 days ago
      Working on speeding it up. Its pulling from R2 direct the models, busy optimising it.
    • johnwards 3 days ago
      should be fixed now! Or at least better loading...
  • Aardwolf 1 day ago
    As it turns out, it has a map much bigger than just one village!
    • johnwards 1 day ago
      Yes, just launched bigger map this morning before work. Press M and you can see the full map.

      Built Silverstone race track over the weekend.

  • wx196 18 hours ago
    I created roadarium.com a few months ago with the same idea. It's less artistic, but it has a lot more cities :)
  • Aryon111 9 hours ago
    It's so cool, I really like its realism.
  • samayashar 1 day ago
    Really good! A quick feedback - The car goes straight when it's in speed and I try to turn. So that can be made a bit more sensitive.
    • johnwards 1 day ago
      Yeah high speed turning is tricky, because its based on grip, you are probably feeling understeer tbh...
  • Dragoing-Xing 1 day ago
    Can the loading speed of the model be improved?
  • gus_massa 3 days ago
    I got an option to change to lighter graphic, but after driving for a minute or two. It should appear at the beginning.
    • johnwards 3 days ago
      It measured your performance. I did try and guess CPU/GPUs but it was a bit hit or miss. You can set it in settings to
  • Cilan798 1 day ago
    It is so cool ,I drove around,the whole experience is very smooth,including the house and the driving feeling
  • jrrv 1 day ago
    Drive on the left guys
  • GTSx 11 hours ago
    We have GTA England now
  • nacnud 18 hours ago
    This is enormous fun. :) How much did it cost to develop, out of interest?
  • anthk 4 hours ago
    I'd love this on rural Spain in Castille, it's damn charming at night. Plug any streaming radio and it's megarelaxing.
  • RobinL 20 hours ago
    This is great fun, well done
  • quibono 1 day ago
    Nice! I wonder how the driving physics is implemented, what is and isn't modelled?
  • calebrider 1 day ago
    This is so cool! How did you apply the game assets to the LIDAR and map data?
  • anthk 5 hours ago
    It's a bit slow on my Pentium Silver NUC with 8GB of RAM, both under Waterfox and Ladybird.
  • xdennis 1 day ago
    It's crazy how AI can't understand the real world. For example it put the wheel on the wrong side of the car.

    Just kidding, I see it's the UK.

    > Uses LIDAR data from the UK Gov + OpenStreetMap

    I wanted to do the same thing for my city 2 weeks ago, but instead of lidar using 3D data from Google Maps. Unfortunately, Google bans your IP if you try to fetch too much. I'm afraid to try more in case they ban my account.

    I was going to vibe an RTS game though.

  • ForHackernews 1 day ago
    Cool idea! Freezes/crashes on Lunux/Firefox. :*(
    • Vivek-KY 19 hours ago
      same dude its lagging on firefox
  • nickt 15 hours ago
    Nice touch that the TR7 is kosher and taxed!
  • dami014 19 hours ago
    This is really nice!
  • botanrice 18 hours ago
    wicked cool, but post this anywhere else on the web except maybe twitter and you'll get flamed because you used AI xD
  • retrolover83 14 hours ago
    This is a great job man! Holy molly such realism!! Keep u the good work!
  • ErroneousBosh 17 hours ago
    This is perfect. Super realistic!

    Within minutes of getting started I was doing a ton five along a little B-road in my red Peugeot 205, and then it was on its side in a field.

  • fluxusars 22 hours ago
    .
    • nacnud 20 hours ago
      And North Yorkshire!
  • pacifika 3 days ago
    Good fun surprisingly realistic
  • okasaki 12 hours ago
    It's quite cool but I hope you at least extend it to all of Oxfordshire because you've skipped all the parts I'm familiar with.
  • Docpixelkb 1 day ago
    impressive especially for running inside a browser
  • empressplay 15 hours ago
    I love how the police follow you at a 'safe speed'...
  • IshKebab 16 hours ago
    Super janky.
  • drcongo 1 day ago
    Couldn't quite get to either my house or my mum's, but had a lot of fun trying!
  • j_leboulanger 1 day ago
    Does not work, it freezes my tab (Chrome and Firefox on MacBook)
    • komatar 1 day ago
      It also hammers my CPU completelyl, but after a minute it starts working normally.
  • gamblor956 19 hours ago
    It's a buggy mess.

    Wasn't AI supposed to be able to generate bug-free code by now? How many more trillions in R&D will that take?

    • ben_w 18 hours ago
      > Wasn't AI supposed to be able to generate bug-free code by now?

      It's only better than a single human, not perfect.

      You can have it look at what it did and fix the mistakes it does eventually make, but in that regard it's currently still a "are you holding the power tool right" kind of thing, not a Star Trek computer thing.

      (This is also why it took an actual mathematician to get the Riemann hypothesis, and not me).

  • jfcheng 10 hours ago
    [dead]
  • jamesbuildspcs 19 hours ago
    [flagged]
  • MrShoster 19 hours ago
    [flagged]
  • elbistec24 16 hours ago
    Buggy LLM slop like every other Show HN these days