Author Topic: Someone fix the OBJ2BLB (3DtoBLB Released but buggy)  (Read 10445 times)

What .bat file? I only downloaded the .exe. GitHub is so damn confusing.
You have to make it. Read the readme.

You have to make it. Read the readme.
Wait, so we have to download everything in all the folders, create folders for them, then make the .bat file?

You have to make it. Read the readme.
The readme does not specifically mention .bat files.

The readme does not specifically mention .bat files.

Quote
Simply use:

3dtoblb [OPTIONS] [INPUT] [OUTPUT]

For example (in the tests folder):

3dtoblb sphere.3ds sphere.blb

If you need more help, and to see other options (not many at the moment, but still):

3dtoblb --help
//OR
3dtoblb -h
//OR
3dtoblb

The only useful option at the moment is the size argument, which generates a brick grid and collision for you (all bricks are 1x1x1 by default), eg.:

3dtoblb --size 3x2x5 sphere.3ds sphere.blb

The above generates a brick file from a 3ds file with the brick size of 3 (x axis) times 2 (y axis) times 5 (z axis), with the brick grid pre-generated.
Things like that means 'use this with these options through the command prompt or a .bat file'

Things like that means 'use this with these options through the command prompt or a .bat file'
I am aware of that since I've used them many times in the past, my point was that nowhere in the read me does it mention ".bat" files. Some users might not understand how to use it.

If someone has it all built, setup, and working properly then just zip it and upload it, otherwise you may end up explaining it over and over.

I am aware of that since I've used them many times in the past, my point was that nowhere in the read me does it mention ".bat" files. Some users might not understand how to use it.
You're not meant to use .bat files if you don't understand how they work. You just open up a command prompt and type in the commands. Hang on, I'll make it a bit more clearer and make it so you can drag the model onto the executable. EDIT: Redownload. You can now drag 3d models onto the executable and it will convert it.
« Last Edit: October 22, 2011, 12:11:27 AM by Destiny/Zack0Wack0 »

yes It worked, Thank you very much!

what about color? It not work texture with png :C I hope you able fix it.
« Last Edit: October 22, 2011, 01:35:44 AM by Cubelands »

Bricks can't have textures, you have to work out the textures yourself. Just fix up any uv coords you don't like and rename the TEX: bit to the texture you want. You can name seperate meshes "side", "bottomloop","top" etc and it will use those as the textures when it converts. This is not my issue, it's just how BLBs work so you have to deal with it yourself.

OK, I got it semi working. It loads the model if it's not triangulated. It accepts the following model formats:

[Tons of file types]

Currently, I just need to fix an issue with inwards facing normals and make any triangulated polygons turn into quads (ie. detriangulate).
When will be out? Or is it already out?

When will be out? Or is it already out?
Anyway, the download link is in my signature. Probably full of bugs.. so please report them.
EDIT: By downloading it you understand that anything that happens is your responsibility, blah blah blah

How do I give my brick accurate collision (I am making a ramp).

How do I give my brick accurate collision (I am making a ramp).
Aww stuff. It isn't making proper collisions? That sucks. I won't do my stuff manually.

Also it crashes when I use a blender file on it. - and .dae files.
Please fix Dest :c

Obj doesnt work either... Model doesn't even show up in game. And .stl
« Last Edit: October 22, 2011, 08:12:57 AM by Rusty »

Yep, blender and obj don't work. I drag them to it and it crashes. An empty .blb file is generated.