Show HN: Drive around my village in 3D

(cherwellvalleymotorclub.app)

33 points | by johnwards 3 days ago ago

31 comments

  • jojogeo 2 hours 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 32 minutes 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.

  • pawelwentpawel 16 minutes 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 10 minutes 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.

  • quibono 12 minutes ago

    Nice! I wonder how the driving physics is implemented, what is and isn't modelled?

  • _puk an hour 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 an hour 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

  • fluxusars 36 minutes 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.

  • parkersweb 2 hours ago

    Crazy - my wife grew up in Adderbury, so just virtually popping over there now!

    • jojogeo 2 hours ago

      Same as my mum! Definitely smol world.

  • samayashar 44 minutes 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 34 minutes ago

      Yeah high speed turning is tricky, because its based on grip, you are probably feeling understeer tbh...

  • Cilan798 43 minutes ago

    It is so cool ,I drove around,the whole experience is very smooth,including the house and the driving feeling

  • 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!

  • 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...

  • 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

  • sfpk 3 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 3 days ago

      Think this should be fixed for you.

      • throwaway_023 10 minutes 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?

    • johnwards 3 days ago

      Oooh ok, good catch! There is one, but yes its not super obvious.

      • johnwards 3 days ago

        I'm so used to testing it with everything cached totally overlooked this!

  • Aardwolf 2 hours ago

    As it turns out, it has a map much bigger than just one village!

    • johnwards 34 minutes 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.

  • Dragoing-Xing an hour ago

    Can the loading speed of the model be improved?

  • fugaziboutit 3 days ago

    This locks up my browser at the "AAA" screen.

    • throwaway_023 9 minutes 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?

  • pacifika 2 days ago

    Good fun surprisingly realistic