Author Topic: 2012/10/26 - Obj to Blb Converter  (Read 119180 times)

Blender is automatically centering the brick's meshes, even if they aren't placed on the origin.

Which parts need to be placed on the origin, and which parts need to be placed on top of the plane?

Okay, I got my brick to work.. but the collision and bounding box are visible.
How do I hide them?

You probably have to check the obj file if the groups are named the way they should be named. Go look for lines which are like "g <groupname>" and make sure you rename it as "g BOUNDS". Same should be done for the collision, name it as "COLLISION N". Some exporters tend to export things with all sorts of silly names.

Can you perhaps post your .obj file so we could take a look at it?

barn should make blb cars that you can build in

Some exporters tend to export things with all sorts of silly names.
It hasn't given me any problems yet. "g BOUNDS_Cube.002" seems to work.

barn should make blb cars that you can build in
you would have to have super simple cars, because you can only have 10 collision boxes lol

It hasn't given me any problems yet. "g BOUNDS_Cube.002" seems to work.
looking at the .obj file format, i don't think "g" is actually part of the name

you're right though, it still works.

looking at the .obj file format, i don't think "g" is actually part of the name
Correct. It's the part that defines the next string as a group name. Just like v is the prefix for the vertex coordinates.

I'm a newb in blender... how do I name a part of my object? Also, for the collision box would you just make a cube, fit it to scale then name it?

I'm a newb in blender... how do I name a part of my object? Also, for the collision box would you just make a cube, fit it to scale then name it?
Check YouTube for beginner Blender tutorials.

Check YouTube for beginner Blender tutorials.
Ok. I think it's this.

Also,
for the collision box would you just make a cube, fit it to scale then name it?
« Last Edit: November 02, 2012, 12:34:45 PM by CheeseDragon »

Actually I had found that the version of Blender I was using, (2.5, and most likely older versions) lacked specific options required upon export to create a successful brick.

I recommend using the latest.

Actually I had found that the version of Blender I was using, (2.5, and most likely older versions) lacked specific options required upon export to create a successful brick.

I recommend using the latest.
Alright.

Blender is automatically centering the brick's meshes, even if they aren't placed on the origin.

Which parts need to be placed on the origin, and which parts need to be placed on top of the plane?
Answer this.

I am using Blender v2.64

Answer this.

I am using Blender v2.64
http://dl.dropbox.com/u/22217440/1x1fPublic.blend

Try this, the BOUNDS box needs to ALWAYS be above the grid, and any other objects meant for the BLB need to have their origin set at the center of the box.

http://dl.dropbox.com/u/22217440/1x1fPublic.blend

Try this, the BOUNDS box needs to ALWAYS be above the grid, and any other objects meant for the BLB need to have their origin set at the center of the box.
Oh, thank you.

Also, this one thing I was trying to make got rotated weirdly. What settings on the OBJ export correct this?

Oh, thank you.

Also, this one thing I was trying to make got rotated weirdly. What settings on the OBJ export correct this?
Text in the .blend would explain that.