Author Topic: BLB Brick Format Reference  (Read 77249 times)

Try doubling all the uv coords. Or don't listen to me because I suck with UV coords.

Increase the 1s in the V column by tiny decimal amounts and decrease the 0s too until you get something acceptable.

The texture is being stretched to fit over the face and what you're doing here is basically increasing the texture size until it looks proportionate. The side texture, unlike other textures does not and can not loop indefinitely (to my knowledge) but rather the surrounding bevels just 'extend' outwards. By doing this you are thickening the bevels that appear on the face.

Perhaps I'm wrong with this but I haven't let myself down yet.  :cookieMonster:

It's also probably a good habit to stick with just one top quad when you can. :P

Try doubling all the uv coords. Or don't listen to me because I suck with UV coords.

I'll try it.

Increase the 1s in the V column by tiny decimal amounts and decrease the 0s too until you get something acceptable.

The texture is being stretched to fit over the face and what you're doing here is basically increasing the texture size until it looks proportionate. The side texture, unlike other textures does not and can not loop indefinitely (to my knowledge) but rather the surrounding bevels just 'extend' outwards. By doing this you are thickening the bevels that appear on the face.

Perhaps I'm wrong with this but I haven't let myself down yet.  :cookieMonster:

It's also probably a good habit to stick with just one top quad when you can. :P

The thing is, Jirue is bashing me for it. Thanks for the info, I'll do more trial-and-error stuff.

EDIT: Yes! I fixed it! Thanks guys! :D
« Last Edit: July 06, 2010, 09:22:43 AM by Jaydee »

How Exactly would I make a 9x Height Brick
« Last Edit: August 18, 2010, 02:04:14 PM by Robo Dude »

Quote from: Space Guy in the OP
BRICK

1x1x9.blb
Code:

1 1 27
BRICK

There. Those should be the correct numbers

Long time since someone posted...

If I put a file "brickBLOCK" in the base/data/shapes folder, could I use TEX:BLOCK on a brick file?

From looking at en epic brick, the letter "b" in the format allows both building on and under. For example, I modified my 1x1F print with it and now I can builds on it  :cookieMonster:

I made rail road track model already, I want know how create blb format shape?

I made rail road track model already, I want know how create blb format shape?


I asked the same question and nobody answered :(

I made rail road track model already, I want know how create blb format shape?

I asked the same question and nobody answered :(

Are you talking about the collision shape or the texture shape?  the collision shape's pretty easy, since it's just a cross section of where you've got "studs" that can or can't be built on.  Shorter way of saying (and thinking about it) is that it's "slices" from front to back.  The texture's trickier; there's a lot of math- basically, you're making a rectangular prism that can contain the entire shape and using coordinates in that block to map the texture.

Assuming the rails are two plates high, the collision diagram for the piece would look like this:

Code: [Select]
9 6 3
SPECIAL

-X--X-
-d--d-
------

-X--X-
-X--X-
dddddd

-X--X-
-d--d-
------

-X--X-
-X--X-
dddddd

-X--X-
-d--d-
------

-X--X-
-X--X-
dddddd

-X--X-
-d--d-
------

-X--X-
-X--X-
dddddd

-X--X-
-d--d-
------


fxDTSBrickData::Preload - unknown texID '20'
fxDTSBrickData::Preload - unknown texID '0 0 1'
fxDTSBrickData::Preload - unknown texID '0.200 0.200 0.200 1.000'
fxDTSBrickData::Preload - unknown texID ' 0.3 -7.5'
fxDTSBrickData::Preload - unknown texID ' -0.3 -7.5 0.5'
fxDTSBrickData::Preload - unknown texID '5'
fxDTSBrickData::Preload - unknown texID '0 0 -1'
fxDTSBrickData::Preload - unknown texID '0 0 -1'
fxDTSBrickData::Preload - unknown texID '0 0 -1'
fxDTSBrickData::Preload - unknown texID '0 0 -1'
fxDTSBrickData::Preload - unknown texID '0 0 -1'
fxDTSBrickData::Preload - unknown texID '0 1 0'
fxDTSBrickData::Preload - unknown texID 'NORMALS:'
fxDTSBrickData::Preload - unknown texID '0.02  1.09'
fxDTSBrickData::Preload - unknown texID '0.98 -0.09'
fxDTSBrickData::Preload - unknown texID ''

32 32 1
SPECIAL
bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

1

0 0 0
32 32 1
------------------ Top Quads:
20

TEX:TOP
POSITION:
-16 -16 0.5
-16 16 0.5
-7 16 0.5
-7 -16 0.5
UV COORDS:
9 -32
9 0
0 0
0 -32
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:RAMP
POSITION:
-0.3 -7.5 0.5
-0.3 -16 0.5
-6.3 -16 0.5
-6.3 -7 0.5
UV COORDS:
-0.3 -7.5
-0.3 -16
-6.3 -16
-6.3 -7
COLORS:
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:RAMP
POSITION:
 6.3 -7 0.5
  6.3 -16 0.5
   0.3 -16 0.5
 0.3 -7.5 0.5
UV COORDS:
 6.3 -7
  6.3 -16
   0.3 -16
 0.3 -7.5
COLORS:
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:RAMP
POSITION:
 -6.3 -7 0.5
  6.3 -7 0.5
   0.3 -7.5 0.5
 -0.3 -7.5 0.5
UV COORDS:
 -6.3 -7
  6.3 -7
   0.3 -7.5
 -0.3 -7.5
COLORS:
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:RAMP
POSITION:
 -7 -7 0.5
  -6.3 -7 0.5
   -6.3 -16 0.5
 -7 -16 0.5
UV COORDS:
 -7 -7
  -6.3 -7
   -6.3 -16
 -7 -16
COLORS:
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:RAMP
POSITION:
 6.3 -7 0.5
  7 -7 0.5
   7 -16 0.5
 6.3 -16 0.5
UV COORDS:
 6.3 -7
  7 -7
   7 -16
 6.3 -16
COLORS:
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:RAMP
POSITION:
 -0.3 -7.5 0.5
  0.3 -7.5 0.5
   0.3 -16 0.5
 -0.3 -16 0.5
UV COORDS:
 -0.3 -7.5
  0.3 -7.5
   0.3 -16
 -0.3 -16
COLORS:
0.973 0.800 0.000 1
0.973 0.800 0.000 1
0.973 0.800 0.000 1
0.973 0.800 0.000 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:TOP
POSITION:
-7 7 0.5
-7 16 0.5
16 16 0.5
16 7 0.5
UV COORDS:
23 -9
23 0
0 0
0 -9
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:TOP
POSITION:
7 -16 0.5
7 -7 0.5
16 -7 0.5
16 -16 0.5
UV COORDS:
9 -32
9 -23
0 -23
0 -32
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:RAMP
POSITION:
7.5 -0.3 0.5
16 -0.3 0.5
16 -6.3 0.5
7 -6.3 0.5
UV COORDS:
7.5 -0.3
16 -0.3
16 -6.3
7 -6.3
COLORS:
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:RAMP
POSITION:
7 6.3 0.5
16 6.3 0.5
16 0.3 0.5
7.5 0.3 0.5
UV COORDS:
7 6.3
16 6.3
16 0.3
7.5 0.3
COLORS:
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:RAMP
POSITION:
7 -6.3 0.5
7 6.3 0.5
7.5 0.3 0.5
7.5 -0.3 0.5
UV COORDS:
7 -6.3
7 6.3
7.5 0.3
7.5 -0.3
COLORS:
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:RAMP
POSITION:
7 -7 0.5
7 -6.3 0.5
16 -6.3 0.5
16 -7 0.5
UV COORDS:
7 -7
7 -6.3
16 -6.3
16 -7
COLORS:
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:RAMP
POSITION:
7 6.3 0.5
7 7 0.5
16 7 0.5
16 6.3 0.5
UV COORDS:
7 6.3
7 7
16 7
16 6.3
COLORS:
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:RAMP
POSITION:
7.5 -0.3 0.5
7.5 0.3 0.5
16 0.3 0.5
16 -0.3 0.5
UV COORDS:
7.5 -0.3
7.5 0.3
16 0.3
16 -0.3
COLORS:
0.973 0.800 0.000 1
0.973 0.800 0.000 1
0.973 0.800 0.000 1
0.973 0.800 0.000 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:RAMP
POSITION:
-7 -7 0.5
-7 7 0.5
-6.3 6.3 0.5
-6.3 -6.3 0.5
UV COORDS:
-7 -7
-7 7
-6.3 6.3
-6.3 -6.3
COLORS:
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:RAMP
POSITION:
6.3 -6.3 0.5
6.3 6.3 0.5
7 7 0.5
7 -7 0.5
UV COORDS:
6.3 -6.3
6.3 6.3
7 7
7 -7
COLORS:
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:RAMP
POSITION:
-6.3 -6.3 0.5
6.3 -6.3 0.5
7 -7 0.5
-7 -7 0.5
UV COORDS:
-6.3 -6.3
6.3 -6.3
7 -7
-7 -7
COLORS:
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:RAMP
POSITION:
-7 7 0.5
7 7 0.5
6.3 6.3 0.5
-6.3 6.3 0.5
UV COORDS:
-7 7
7 7
6.3 6.3
-6.3 6.3
COLORS:
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

TEX:RAMP
POSITION:
-6.3 -6.3 0.5
-6.3 6.3 0.5
6.3 6.3 0.5
6.3 -6.3 0.5
UV COORDS:
-6.3 -6.3
-6.3 6.3
6.3 6.3
6.3 -6.3
COLORS:
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
------------------ Bottom Quads:
5

TEX:BOTTOMLOOP
POSITION:
-15.5 -15.5 -0.5
15.5 -15.5 -0.5
15.5 15.5 -0.5
-15.5 15.5 -0.5
UV COORDS:
0 0
0 31
31 31
31 0
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
-16 -16 -0.5
16 -16 -0.5
15.5 -15.5 -0.5
-15.5 -15.5 -0.5
UV COORDS:
-0.5 0
31.5 0
31 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
-15.5 15.5 -0.5
15.5 15.5 -0.5
16 16 -0.5
-16 16 -0.5
UV COORDS:
0 0.5
31 0.5
31.5 0
-0.5 0
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
-15.5 -15.5 -0.5
-15.5 15.5 -0.5
-16 16 -0.5
-16 -16 -0.5
UV COORDS:
0 0.5
31 0.5
31.5 0
-0.5 0
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
16 -16 -0.5
16 16 -0.5
15.5 15.5 -0.5
15.5 -15.5 -0.5
UV COORDS:
-0.5 0
31.5 0
31 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
------------------ North Quads:
1

TEX:SIDE
POSITION:
-16 16 0.5
-16 16 -0.5
16 16 -0.5
16 16 0.5
UV COORDS:
0.98 -0.09
0.98  1.09
0.02  1.09
0.02 -0.09
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
------------------ East Quads:
1

TEX:SIDE
POSITION:
16 16 0.5
16 16 -0.5
16 -16 -0.5
16 -16 0.5
UV COORDS:
0.98 -0.09
0.98  1.09
0.02  1.09
0.02 -0.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
------------------ South Quads:
1

TEX:SIDE
POSITION:
16 -16 0.5
16 -16 -0.5
-16 -16 -0.5
-16 -16 0.5
UV COORDS:
0.98 -0.09
0.98  1.09
0.02  1.09
0.02 -0.09
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
------------------ West Quads:
1

TEX:SIDE
POSITION:
-16 -16 0.5
-16 -16 -0.5
-16 16 -0.5
-16 16 0.5
UV COORDS:
0.98 -0.09
0.98  1.09
0.02  1.09
0.02 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
------------------ Omni Quads:
0

This is my interpretation/understanding of the BLB file format from basically reading through the files. Please tell me if you think I'm going wrong on any part of this.

-reallybigsnip-

EDIT: Corrections.
-anotherreallybigsnip-
What the forget...?
« Last Edit: April 25, 2011, 08:37:33 AM by nariofan101 »


32 32 1
SPECIAL
bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb


What the forget is this stuffspam?