binvox to sm3 blueprint (Released)

    Joined
    Jun 24, 2013
    Messages
    45
    Reaction score
    12
    • Legacy Citizen 2
    • Legacy Citizen
    Ive spent the last few days making a converter from the binvox format to the new sm3 blueprint format

    The purpose of this program is for importing in large hulls originally in .obj format using binvox for the voxeliseation

    First release of the program Vox2sm3


    a test conversion of the hulk from EVE (175x69x507, 254k block shell, conversion took 4 seconds)

    binvox parameters: -e -cb -fit -d 507
     
    Last edited:

    Keptick

    Building masochist
    Joined
    Sep 26, 2013
    Messages
    4,062
    Reaction score
    1,841
    • Councillor 2 Gold
    • Railman Gold
    • Thinking Positive Gold
    Very nice! I'm sure that a lot of the people that enjoy re-creating ships from other series will be very happy to have this!
     
    Joined
    Sep 12, 2014
    Messages
    90
    Reaction score
    44
    • Purchased!
    • Community Content - Bronze 1
    • Legacy Citizen 4
    A release of some sort cannot come soon enough. I've got a small pile of ships I'd like to build, and this tool will be awesome for making that happen.
     
    Joined
    Mar 2, 2014
    Messages
    1,293
    Reaction score
    230
    • Thinking Positive
    • Community Content - Bronze 1
    • Legacy Citizen 3
    Ive spent the last few days making a converter from the binvox format to the new sm3 blueprint format

    The purpose of this program is for importing in large hulls originally in .obj format using binvox for the voxeliseation
    Does it also place a core in the ship?
     
    Joined
    Jun 24, 2013
    Messages
    45
    Reaction score
    12
    • Legacy Citizen 2
    • Legacy Citizen
    Does it also place a core in the ship?
    Yes it does, I'm currently working out the best way for the user to tell the program where to put the ship core. Additionally it will support importing models as stations and, in theory, asteroids (untested)

    And can we change the hull colour/type?
    You will be able too, although probably not in the very first release, and you will be limited to cube blocks (because automatic slopes would be really hard)
     
    • Like
    Reactions: Malacodor
    Joined
    Aug 23, 2016
    Messages
    758
    Reaction score
    129
    Do you export the smd3 file only terra, or a full sment?
     
    Joined
    Jun 24, 2013
    Messages
    45
    Reaction score
    12
    • Legacy Citizen 2
    • Legacy Citizen
    First release is out Vox2sm3 includes user selected block types, and a small tutorial on how to get the core in the correct place.

    Do you export the smd3 file only terra, or a full sment?
    It creates a folder that can be dropped directly into the blueprints folder, effectively it outputs an unzipped sment


    Additionally, I want to fix the size limit (because wheres the fun in only being able to do 1500 x 1000 x 600), does anyone have some nice models that would be good for extra-large tests
     
    Last edited:
    Joined
    Feb 27, 2016
    Messages
    35
    Reaction score
    19
    I am getting a libgcc_s_dw2-1.dll, zlib1.dll and libstdc++-6.dll not found error.
     
    Joined
    Jun 24, 2013
    Messages
    45
    Reaction score
    12
    • Legacy Citizen 2
    • Legacy Citizen
    Seems to work.


    The issue skywalker was having was related to me not staticly linking the std libraries, so the program refused to run on pcs that dont have a c++ compiler installed, the precompiled exe has been updated and hopefully now works on all systems
     
    Joined
    Feb 16, 2014
    Messages
    256
    Reaction score
    73
    Additionally, I want to fix the size limit (because wheres the fun in only being able to do 1500 x 1000 x 600), does anyone have some nice models that would be good for extra-large tests
    How do you get binvox to voxelize longer dimensions? I am capped around 1024.
     
    Joined
    Jun 24, 2013
    Messages
    45
    Reaction score
    12
    • Legacy Citizen 2
    • Legacy Citizen
    How do you get binvox to voxelize longer dimensions? I am capped around 1024.
    recommended flags are --cb -fit -e (the -cb makes sure that its symmetrical (if the model is), the -fit removes the areas that are blank at the edges (means Vox2sm3 uses less memoery and is faster), the -e uses a different technique that bypasses the size limit)

    just remember that the total dimensions when multiplied together shouldn't exceed 1 billion (unless you recompile with an x64 g++ that raises the limit)
     
    Joined
    Feb 16, 2014
    Messages
    256
    Reaction score
    73
    just remember that the total dimensions when multiplied together shouldn't exceed 1 billion (unless you recompile with an x64 g++ that raises the limit)
    This must be why I keep getting an error code of "could not allocate memory for -xxx million voxels?
     
    Joined
    Jun 24, 2013
    Messages
    45
    Reaction score
    12
    • Legacy Citizen 2
    • Legacy Citizen
    This must be why I keep getting an error code of "could not allocate memory for -xxx million voxels?
    was that error in binvox or vox2sm3, I know that the windows version of binvox has errors with memory arrays larger than 2gb (1290 cube)