p-hofmann / SMBEdit

StarMade Blueprint Editor
5 stars 1 forks source link

convert obj files #9

Open p-hofmann opened 7 years ago

p-hofmann commented 7 years ago

Would be nice to be able to convert obj files

Septaris commented 7 years ago

Voxelization is a costly operation. It might be a good idea to use a C/C++ implementation (or one in Cython) and call it from SMBedit (using a wrapper).

Here are the software usually used to voxelized 3d models (they can be used as a reference to compare performances of different implementations) :

Poly2vox is only available on windows but it is more efficient (faster and more accurate).

I am sorry, at this moment I'm rather busy with work but I hope next week will be a little more tranquil. See you soon ;)

p-hofmann commented 7 years ago

I think SMEdit could import obj files, would be interesting to know how they dealt with it. So much for platform independence, maybe compile one for each OS? I wrote a wrapper a few years ago. Probably have to rewrite the whole thing.

'poly2vox' is better? I will have to try it. Ow, two files of source code, each over 3k lines and hardly any comments. I'll give this issue a low priority ....

No worries, I will be busy, too. Your help is very appreciated. You have good ideas and use python in ways I have not seen before. I love learning new tricks.