Empyrion - Galactic Survival

Empyrion - Galactic Survival

johnwhile Nov 20, 2021 @ 11:41am
Blueprint to 3d converter
Hi, I'm working on a tool to convert blueprint files into 3D objects. The main purpose is to create a preview for your creations via SketchFab or print with a 3d printer.
Sketchfab sample [sketchfab.com]

ReforgedEden:
the mods like reforged eden 1.7 use some new models which have not been put in my pre-computed mesh list, so they will not be exported. But for all other meshes refer to vanilla are exported, to do this you must copy the "BlockConfig.ecf" from reforged eden 1.7 folder and past in the folder of the tool, so the program will prioritize this file

Versions:
05.07.2023
- update for game version 1.10.0 (assetstudio library don't work with new bundles, I leave the old geometry file in the Models folder but it won't be possible to import the new 3d models untill i find the way to read the new bundles format)

24.02.2023:
-add fbx file extension on voxelizer converter.

07.01.2021 :
-add voxelizer to convert a 3d obj file into blueprint file.
-add mirroring in the middle of axis X, Y, Z. This help to force simmetry of geometry

30.01.2022
- now the remove invisible triangles work as intended

30.04.2022
- fix issue for block's ID up 2048 (see reforged eden BlockConfig.ecf)
- fix parsing of section comment delimited by "/*" and "*/"

15.12.2020
- add .epb to .txt in Debug menu

* the low rendering performance of windows10 obj visualizer it is due to the fact that it's necessary sorting the materials reference inside obj's data.


Blue3DPrinter_Release_x86[drive.google.com]


Currently it exports only geometries in obj format. This version is for testing purpose, it' a work in progress.
Please read the readme file.
For the moment please convert only medium/small ships if you don't want files that are too large.

The main problem of the tool is that it export all objects with max details. In game there are various techniques to reduce the number of rendered triangles. For example, a class 30 capital ship may have 5 million vertices and 4 million triangles, and it puts a lot of strain on many 3d graphic modeling programs.

https://steamcommunity.com/sharedfiles/filedetails/?id=2699986425

https://steamcommunity.com/sharedfiles/filedetails/?id=2710485993

https://steamcommunity.com/sharedfiles/filedetails/?id=2696920731

Source Codes
Blue3DPrinter[bitbucket.org]
Math Lib[bitbucket.org] (can change because is used for other projects)
my fbx wrapper[bitbucket.org] (require FBX SDK 2020.2 and link the targhet folder in visual studio project)
Last edited by johnwhile; Jul 4, 2023 @ 3:08pm
< >
Showing 1-15 of 94 comments
Nika Nov 20, 2021 @ 12:12pm 
Excellent work!
VulcanTourist (Banned) Nov 21, 2021 @ 10:29am 
Nice to have a reversal of the EGS Tools 3D, for the people that need it.
This would be awesome if could do both ways, from 3D to bp and the other way, can't help with programming but count me in as beta tester
johnwhile Dec 7, 2021 @ 4:08am 
I'm writing the code to read the assets directly from the game instead of creating a list of uncompressed files as in the first test (require 4GB of space)
it's not difficult but I have to write many lines of code.

the intention is also to convert a 3d object into a blueprint and make some small tools for working with blueprints since the format of the blueprint's file is almost completely understood.

As soon as I complete the Beta I release the repository.
Mokopopo Dec 10, 2021 @ 3:43am 
This would be a game Changer imagine being able to make custom blocks this way, Engines, Wings, Cocpits, more transitional blocks. it would be awesome if the devs got in touch with you. this could easily revolutionize the building ingame.
VulcanTourist (Banned) Dec 10, 2021 @ 8:41am 
Originally posted by Mokopopo:
This would be a game Changer imagine being able to make custom blocks this way, Engines, Wings, Cocpits, more transitional blocks. it would be awesome if the devs got in touch with you. this could easily revolutionize the building ingame.
I don't think you understand what this or its counterpart does. What neither does is create any means to add custom blocks to the game. The game's hull block is their minimum unit of measure.
johnwhile Dec 17, 2021 @ 1:16pm 
add first version
Nika Dec 17, 2021 @ 4:04pm 
Tried a couple of them. Some don't load others halfway, but hey I must say I don't even have the game updated so I guess that's why. For the rest good.

Good work, thank you very much.

PS: You are going to achieve what the developers cannot ... give me the motivation to update the game ...

PS: The path is not editable from "Settings". If anyone needs to change the default path, edit "Blue3DPrinter.exe.config"
johnwhile Dec 17, 2021 @ 11:01pm 
Thank. It is only the first working version, I have only tested it on some blueprints.
If possible send me the blueprint file that doesn't work so i understand where i wrong.
Now I'm implementing the faces hide method to reduce the number of vertices and triangles, like in the game.
Nika Dec 18, 2021 @ 3:15am 
I just tried a couple of them that did not work for me and the problem was in the version of the game with which they were created I suppose. I recorded them again with the current game version and I had no problem.

https://steamcommunity.com/sharedfiles/filedetails/?id=2685735221
johnwhile Dec 18, 2021 @ 4:29am 
I'm update the game to experimental 1.7 before update this tool. I had to fix something in the BlockConfig.ecf reading because I noticed the dev added new informations. But the tool can read correctly also the oldest blueprint file because when I extracted the code I copy also the internal check.
So, if you have some issues send me the .epb file instead the workshop link
Nika Dec 18, 2021 @ 5:29am 
The ones that I have tried by saving them again, I solve the problem.

But if you're curious, I'll upload this one for you.

For example this one.

(link deleted)

Before overwriting.

"error reading with error code: The length of compressed stream is greater than file length"

After.

> missing blocks 2/56
> GenerateScene: OK

And the two missing blocks are two cargo boxes that were removed from the game. So everything ok

Last edited by Nika; Dec 18, 2021 @ 6:38am
johnwhile Dec 18, 2021 @ 6:24am 
Found the issue. When i starting write the tool my blueprint's file report a version = 29 (game ver 1.6.3) but your file report a version = 20 and the compressed part of file start with a little bit different variation what i don't check (alse because i don't have these old files)
Nika Dec 18, 2021 @ 6:37am 
Yes, well, I have had the game for 6 years ... but I'm glad if it helped you with something.

I remove the link then.
ohhhhhhhh nice, you got it working mate, gonna download this in the next days, got a pretty tight schedule atm, keep it up dude this is amazing.
< >
Showing 1-15 of 94 comments
Per page: 1530 50