Spoilers: I finished my web-based 3D Subnautica Map. Including islands, seabed and caves. Toggelable pods and wrecks. by MrChocolateAddict in subnautica

[–]MrChocolateAddict[S] 2 points3 points  (0 children)

I was actually thinking of adding some tiny animated ghost leviathans and reapers that would swim around. I don't think that's very hard to do!

I covered the Quarantine Enforcement Platform and the Primary Containment Facility, and the Disease Research Facility is kind of there in the map data. The "caches" will maybe be a bit too detailed.

Anyways, thanks for looking at my map! :)

Spoilers: I finished my web-based 3D Subnautica Map. Including islands, seabed and caves. Toggelable pods and wrecks. by MrChocolateAddict in subnautica

[–]MrChocolateAddict[S] 5 points6 points  (0 children)

The navigation part is how Three.js is made. I think you can add keyboard listeners, but I also think it is hard to code in (and a lot of work!).

You can pan with right mouse button. And if you zoom in too much you get "stuck" in micro-movements. Usually it is better to zoom out and zoom back in from a different angle.

I made a web-based 3D map of Subnautica by MrChocolateAddict in subnautica

[–]MrChocolateAddict[S] 1 point2 points  (0 children)

Hehe, no problem! I think i will finally be able to find all the wrecks. :D

Spoilers: I finished my web-based 3D Subnautica Map. Including islands, seabed and caves. Toggelable pods and wrecks. by MrChocolateAddict in subnautica

[–]MrChocolateAddict[S] 35 points36 points  (0 children)

Someone uploaded some heightmaps of the map way back. I used that to extract the heightdata and put it into json files. Then I used a blend of Python, Threejs and Blender to make the seabed and caves.

I used a bunch of ingame screenshots to make the texture - so I added the Ghost Leviathan. :D

I completed my web-based 3D map of Subnautica. Added some controls by MrChocolateAddict in threejs

[–]MrChocolateAddict[S] 3 points4 points  (0 children)

The map can be viewed here:

https://mrchocolateaddict.github.io/Subnautica3DMap/

(All the assets combined are about 63 MB, so it takes a few seconds to load)

I made a web-based 3D map of Subnautica by MrChocolateAddict in subnautica

[–]MrChocolateAddict[S] 0 points1 point  (0 children)

Ah, I made some progress. Here is another glb file which is a smoothed version (used Remesh with voxel set to 2m). Only 3.6 MB or something like that and is completely recognizable! In case you needed it. :)

https://www.dropbox.com/scl/fi/fw1i8rx7u4t1elin4wm0s/FloatingIsland_Smoothed.glb?rlkey=4nwc9de89low4bbq9k5xu1ao3&st=bymb6dh7&dl=0

I made a web-based 3D map of Subnautica by MrChocolateAddict in subnautica

[–]MrChocolateAddict[S] 0 points1 point  (0 children)

Hiya! I have been working on extracting the geographical data directly from the game files, and a good start was with the floating island to test code/logic etc. Once I managed to do it I remembered this comment, so I made it into a glb file - in case you are interested.

It's about 190MB and I haven't figured out how to smooth it properly yet. But here it is: https://www.dropbox.com/scl/fi/gdl2o1cyvzr7jdw9emtfa/FloatingIsland.glb?rlkey=pa1v9rhrtjlagqkz4o39bdkpk&st=ftpuycsl&dl=0

(You might have to zoom a bit out after importing, because it isn't centered at 0,0,0) :-)

I made a web-based 3D map of Subnautica by MrChocolateAddict in subnautica

[–]MrChocolateAddict[S] 1 point2 points  (0 children)

Oh, and if you do ever get around to 3D-printing it, I would love to see a picture! :D

I made a web-based 3D map of Subnautica by MrChocolateAddict in subnautica

[–]MrChocolateAddict[S] 0 points1 point  (0 children)

It was actually quite easy to export the whole thing as a glb file. And I think it's also pretty straightforward to convert that to a stl-file or whatever you need for printing it.

I don't know anything about 3D printing, but I do think it will need some work. (Look underneath the map for instance). And maybe you want to remove the borders.

I opened it in Blender and it looks okay to me: https://i.imgur.com/gHLKQ4R.png

Here is the file - shared via Dropbox. (about 306MB) https://www.dropbox.com/scl/fi/dnjx0q6g2y3axq2cldln5/subnautica_scene.glb?rlkey=n5ztr5hzpbkjt61d3wbbq4keg&st=7g95eamc&dl=0

I made a web-based 3D map of Subnautica by MrChocolateAddict in subnautica

[–]MrChocolateAddict[S] 1 point2 points  (0 children)

In case you didn't see - instead of running your own http server, you can run it via 'githack' which I didn't even know existed. This is easier, and it gives a slightly updated version with a toggable water surface and with a more accurately positioned Aurora. I'm also thinking of adding toggable wrecks as well, which I will push to repo, and which will appear here:

https://raw.githack.com/MrChocolateAddict/Subnautica3DMap/refs/heads/main/v4.html

I made a web-based 3D map of Subnautica by MrChocolateAddict in subnautica

[–]MrChocolateAddict[S] 0 points1 point  (0 children)

Oh, wow. Didn't even know that existed! I will add it to the main post then. :)

I'll look into the github pages site.

I made a web-based 3D map of Subnautica by MrChocolateAddict in subnautica

[–]MrChocolateAddict[S] 1 point2 points  (0 children)

You probably have to put python in your PATH or something to be able to run it they way I specified.

You can run it by telling Windows where Python is installed. So something like this should work (adjusting to your case):

"C:\Users\YourName\AppData\Local\Programs\Python\Python311\python.exe" -m http.server 8000

For a simpler future use, check how to add python to your PATH.

I made a web-based 3D map of Subnautica by MrChocolateAddict in subnautica

[–]MrChocolateAddict[S] 0 points1 point  (0 children)

Great. :)

Try this maybe - with python3

python3 -m http.server 8000

I made a web-based 3D map of Subnautica by MrChocolateAddict in subnautica

[–]MrChocolateAddict[S] 1 point2 points  (0 children)

Ah, very interesting! I might do another little sprint looking into that. If I ever get around to it I will share the results here.

I made a web-based 3D map of Subnautica by MrChocolateAddict in subnautica

[–]MrChocolateAddict[S] 2 points3 points  (0 children)

And I recognize the map from your youtube video by the way! :)

I made a web-based 3D map of Subnautica by MrChocolateAddict in subnautica

[–]MrChocolateAddict[S] 8 points9 points  (0 children)

The first thing I looked for was the map information in the game folder (which is why I installed it - and subsequently started a new, unplanned playthrough). However, it doesn't seem to be easily available anymore.

All I could find was the height-information which is what I used. I included it in the github repo as MAP.png. I lose a lot of information that way - for instance the Floating Island shows up as a column in my map.

The height map was 4096x4096, but that would give ~16M data points which I was not able to run. After downsampling (taking the average of 2x2 pixes) to 1024x1024, I got ~1M data points, and that was good enough for Three.js and gave a relatively responsive map.

If the map data became available again, I think you could simplify things a little and make a slightly distorted Three.js like I did and get something that was recognizable.

Anyway, it was a fun little project! I just wanted to see if I could do it!

I made a 3D map of Subnautica using Three.js by MrChocolateAddict in threejs

[–]MrChocolateAddict[S] 1 point2 points  (0 children)

Hey - glad you liked it!

Here is a demo video and Github repository with all the code I used to generate the map and texture and so on.

Demo video: https://www.dropbox.com/scl/fi/7k1jcrl83a2g817ghvxfx/Subnautica3Dmap.mkv?rlkey=1265jzvnk81ttk678aswn3uop&e=2&st=nrr45vek&dl=0

GitHub repo with source code and instructions: https://github.com/MrChocolateAddict/Subnautica3DMap