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

i assumed that you would just model any regular object you want to represent as your collision block, then rename it

Try COLLISION1.
didn't work, still doing the same thing

i'm thinking it's because my collision box is all one object - do i have to make it into 5 separate blocks?

also, my object settings, if it helps:

Objects should be exported as obj groups.

Objects should be exported as obj groups.
thanks, works now.

Becuase I not know how add collision box at google sketchup models. I hope someone willing be nice help me with these. Aslo I did removed all the textures.
I recommend you pick up either Anim8or, Blender, or Milkshape. The first two are free, but I have the most experience with Milkshape.

i'm thinking it's because my collision box is all one object - do i have to make it into 5 separate blocks?
Yes... A collision box can only be a BOX... Complex shapes will be reduced to their bounding box...

Can someone explain what this does?

Can someone explain what this does?
Download: http://blockland.us/files/blbConverter.rar

This is a command line utility that will convert an .obj file to a .blb file.  

You can name the different objects within the obj file for certain effects:
Object Name  Effect
COLOR_255_255_255_255Color will be the provided RGBA value (regardless of paint color)
COLOR_255_255_255Color will be the provided RGB value (alpha will default to 255)
SUBCOLOR_20_20_20Color will be the paint color minus provided RGB value
ADDCOLOR_20_20_20Color will be the paint color plus provided RGB value
BOUNDSBounding box, determines size and centering of blb.  If no BOUNDS object is provided, the bounds of the entire shape will be used.  
COLLISIONCollision box, in game collision.  Anything that starts with the word "COLLISION" will be considered a collision box (so COLLISION1, COLLISION2, etc will work).  Collision boxes are boxes.  Complex shapes will be reduced to their bounding box.  Maximum of 10 collision boxes per blb.

Maximum of 512 quads per blb.
Triangles can be used, but they will be represented by quads.
There is currently no mechanism for texturing.




That isn't what it does.


Obj to Blb converter converters the model file for .obj into a Blockland brick format so that models can efficiently become bricks.

That isn't what it does.


Obj to Blb converter converters the model file for .obj into a Blockland brick format so that models can efficiently become bricks.
This is a utility that will convert an .obj file to a .blb file.

Yes I quite think that is what it does.

That isn't what it does.
This is a command line utility that will convert an .obj file to a .blb file. 

That isn't what it does.


Obj to Blb converter converters the model file for .obj into a Blockland brick format so that models can efficiently become bricks.
At the risk of sounding repetetive, you're completely wrong

Just a little Blb isn't new but I'm vary happy Blb is the popular pick now

At the risk of sounding repetetive, you're completely wrong

So if it doesn't turn .obj files into .blb files what does it do?

So if it doesn't turn .obj files into .blb files what does it do?
when you run the application, it outputs ASCII research