SubnauticaWatcher icon indicating copy to clipboard operation
SubnauticaWatcher copied to clipboard

new map

Open hhrhhr opened this issue 7 years ago • 14 comments

I want to suggest using a relief map of the seabed. A "flat" biome map, in my opinion, is not at all interesting.

I converted the file ...\Subnautica\AssetBundles\lod3worldmeshes, which contains model of octets with a size of 160 m with a resolution of 4 m. After removing unnecessary and erroneous octets and merging them into one, it is possible to create a height map. Below are examples of ready-made maps.

Top view, applied filter Ambient Occlusion (can be combined with a biome map for the effect of relief): ao_map

And here the coloring of each point is added depending on its height: relief_map

hhrhhr avatar Dec 17 '17 02:12 hhrhhr

But since the game is extremely "vertical", one card is not enough for orienting by the height (depth). Here we can use the "side view": side_map

Or even something like X-ray: x-ray_maps

If you are interested, you can suggest changing the colors in the depth gradient or specifying the desired size of the map (or tiles). I hope that this will be useful.

hhrhhr avatar Dec 17 '17 03:12 hhrhhr

I agree. The perfect map would actually be entirely 3D, but that's beyond my skill set.

I solve this issue by having multiple "layers" that switch automatically. So when you enter the ILZ or the lost river, or the shroom caves then you get a different map, specific to that zone/area.

I'm not sure the other maps would add all that much, although the X-Ray map might be interesting to add as an alternative. It looks out of data though, the east entrance to the Lost River isn't shaped like that anymore.

MartinSGill avatar Dec 17 '17 13:12 MartinSGill

Out of data? LOD3 used in Seaglide's radar and Scanner Room, if the source (AssetBundles) is no longer relevant, then on the radar in the game will be displayed incorrect data. By the way, what do you compare with? If with the image lost-river-polygon.png, how and from what it was generated?

hhrhhr avatar Dec 17 '17 17:12 hhrhhr

Meant out of date.

I created the maps I use (other than the all biome one) by actually travelling around the area and recording my route, then drawing it based on those points and the biome reported for each. Not brilliant, but fairly accurate.

I have to admit though, they look gorgeous. How did you render them, is the code available somewhere?

MartinSGill avatar Dec 17 '17 18:12 MartinSGill

Meant out of date

Yes you are right. Some entrances to underwater caves are really closed or moved to other places. It turns out that the "source" used by me is completely irrelevant. I'll try to process the LOD level higher. Still, with ready 3D models (meshes) it's easier to work than to reconstruct the game world from octets ;)

How did you render them, is the code available somewhere?

  1. extract all meshes from ...\Subnautica\AssetBundles\lod3worldmeshes with AssetsBundleExtractor 2.2beta1 (or any Unity model converter can be used)
  2. load these models into Meshlab, remove unnecessary (bottom at the level of three kilometers, side "walls"), clean (combine vertices, fix a bunch of irregular surfaces).
  3. in Meshlab can be visualized AO and beautiful X-Ray shader, but to build a depth map I used CloudCompare v2.10.alpha Unfortunately, ready-made models of the world are too big so that I can share them somewhere.

hhrhhr avatar Dec 17 '17 20:12 hhrhhr

Wow this is incredibly neat! You should consider joining our modding discord! We'd love to have you. https://discord.gg/9MfKs2s I've been making something sort of related that involves extracting the octree data from the compiled batch data and generating a 3d mesh using my implementation of a dual contouring algorithm with a catmull clark subdivision pass, which I guess could then be exported like this. I'd love to talk more about the specifics on the discord.

dumbdiscord avatar Dec 18 '17 18:12 dumbdiscord

What could be really cool if to take a framework like threejs or just plain webgl and get an 3d x-ray view of where you are.

nesrak1 avatar Dec 18 '17 19:12 nesrak1

updated maps:

Album on Imgur

Used lod4worldmeshes and now everything looks much better (except for the area under the "Aurora"). I also tried to apply an array of points from /subnautica-map/data-source/*.json, мatches wherever possible:

Another album on Imgur

If somewhere to get the biome boundaries for each (or necessary) voxel/batch, then in addition to the depth, the map is also automatically colored according to the type of biome. If the developers again dig out new caves and tunnels, I'm afraid to imagine how long it takes to manually re-navigate along the borders. And this is if after an early release there will be a debug-console and the opportunity to be injected into the game code.

hhrhhr avatar Dec 19 '17 07:12 hhrhhr

I've taken the existing images and overlayed them with the ones provided by @hhrhhr . I've also added labels to the maps as I felt that was very needed. You can see them here. @hhrhhr didn't upload a topography of the other layers but if he can I'd be happy to add them in.

theFisher86 avatar Feb 06 '18 17:02 theFisher86

Hey. Can I use your maps in my mod? https://www.nexusmods.com/subnautica/mods/12

newman55 avatar Feb 08 '18 14:02 newman55

@newman55 fine with me but I used @hhrhhr topology stuff to make it so I'd recommend getting his approval as well.

theFisher86 avatar Feb 08 '18 21:02 theFisher86

Hi, I was wondering if anyone knows where I can find the lod3worldmeshes file, it doesn't seem to be located in the AssetBundles folder anymore and when I search for the file windows returns 0 results, did the subnautica devs remove the file or something? if so is there a different file I can use or could someone send me the lod3worldmeshes file?

@hhrhhr

Thanks,

Niels

TheDutchDev avatar Jun 26 '18 19:06 TheDutchDev

It looks that the world files were hidden in recent updates. I can't seem to find it anywhere in the assetbundles or streaming assets.

I really wanted to make a 3d visualization map for myself :(

Did you end up finding it @sampniels ?

Fonserbc avatar Aug 22 '18 15:08 Fonserbc

@Fonserbc Yes, these files are removed from the game. But what @hhrhhr did still remained. See the link. https://forums.unknownworlds.com/discussion/147269/maps-in-games-folder/p2

newman55 avatar Aug 23 '18 06:08 newman55