rework entities to get the text margins right.

This commit is contained in:
Vanessa Dannenberg 2018-09-24 20:24:21 -04:00
parent 079c21bd41
commit fa15f7c0ad
6 changed files with 81 additions and 81 deletions

View File

@ -443,8 +443,8 @@ minetest.register_node("street_signs:sign_basic", {
vert_scaling = 1,
line_spacing = 6,
font_size = 15,
x_offset = 6,
y_offset = 4,
x_offset = 1,
y_offset = 3,
chars_per_line = 30,
entity_info = {
mesh = "street_signs_basic_entity.obj",
@ -498,8 +498,8 @@ minetest.register_node("street_signs:sign_basic_top_only", {
vert_scaling = 1,
line_spacing = 6,
font_size = 15,
x_offset = 6,
y_offset = 4,
x_offset = 1,
y_offset = 3,
chars_per_line = 30,
entity_info = {
mesh = "street_signs_basic_top_only_entity.obj",
@ -544,12 +544,12 @@ minetest.register_node("street_signs:sign_highway_medium", {
street_signs.update_sign(pos)
end,
number_of_lines = 6,
horiz_scaling = 2.8,
vert_scaling = 2.8,
horiz_scaling = 2,
vert_scaling = 1.12,
line_spacing = 2,
font_size = 31,
x_offset = 25,
y_offset = 36,
x_offset = 2,
y_offset = 11,
chars_per_line = 22,
entity_info = {
mesh = "street_signs_highway_medium_entity.obj",

View File

@ -1,38 +1,38 @@
# Blender v2.79 (sub 0) OBJ File: 'street signs entity.blend'
# www.blender.org
o Cube
v 0.046875 1.437500 -0.500000
v 0.046875 1.437500 0.500000
v -0.046875 1.437500 -0.500000
v -0.046875 1.437500 0.500000
v 0.046875 1.125000 -0.500000
v 0.046875 1.125000 0.500000
v -0.046875 1.125000 0.500000
v -0.046875 1.125000 -0.500000
v 0.500000 1.062500 -0.046875
v 0.500000 1.062500 0.046875
v -0.500000 1.062500 0.046875
v -0.500000 1.062500 -0.046875
v 0.500000 0.750000 -0.046875
v 0.500000 0.750000 0.046875
v -0.500000 0.750000 0.046875
v -0.500000 0.750000 -0.046875
vt -0.000000 1.000000
vt -0.000000 0.500000
vt 1.000000 0.500000
vt 1.000000 1.000000
vt 0.000000 1.000000
vt 0.000000 0.500000
vt 1.000000 0.500000
vt 1.000000 1.000000
vt -0.000000 0.500000
vt -0.000000 -0.000000
vt 1.000000 -0.000000
vt 1.000000 0.500000
vt -0.000000 0.500000
vt 0.000000 -0.000000
vt 1.000000 -0.000000
vt 1.000000 0.500000
v 0.046875 1.406250 -0.468750
v 0.046875 1.406250 0.468750
v -0.046875 1.406250 -0.468750
v -0.046875 1.406250 0.468750
v 0.046875 1.156250 -0.468750
v 0.046875 1.156250 0.468750
v -0.046875 1.156250 0.468750
v -0.046875 1.156250 -0.468750
v 0.468750 1.031250 -0.046875
v 0.468750 1.031250 0.046875
v -0.468750 1.031250 0.046875
v -0.468750 1.031250 -0.046875
v 0.468750 0.781250 -0.046875
v 0.468750 0.781250 0.046875
v -0.468750 0.781250 0.046875
v -0.468750 0.781250 -0.046875
vt 0.031250 0.950000
vt 0.031250 0.550000
vt 0.968750 0.550000
vt 0.968750 0.950000
vt 0.031250 0.950000
vt 0.031250 0.550000
vt 0.968750 0.550000
vt 0.968750 0.950000
vt 0.031250 0.450000
vt 0.031250 0.050000
vt 0.968750 0.050000
vt 0.968750 0.450000
vt 0.031250 0.450000
vt 0.031250 0.050000
vt 0.968750 0.050000
vt 0.968750 0.450000
vn -1.0000 0.0000 0.0000
vn 1.0000 0.0000 0.0000
vn 0.0000 0.0000 -1.0000

View File

@ -1,38 +1,38 @@
# Blender v2.79 (sub 0) OBJ File: 'street signs entity top only.blend'
# www.blender.org
o Cube
v 0.046875 0.437500 -0.500000
v 0.046875 0.437500 0.500000
v -0.046875 0.437500 -0.500000
v -0.046875 0.437500 0.500000
v 0.046875 0.125000 -0.500000
v 0.046875 0.125000 0.500000
v -0.046875 0.125000 0.500000
v -0.046875 0.125000 -0.500000
v 0.500000 0.062500 -0.046875
v 0.500000 0.062500 0.046875
v -0.500000 0.062500 0.046875
v -0.500000 0.062500 -0.046875
v 0.500000 -0.250000 -0.046875
v 0.500000 -0.250000 0.046875
v -0.500000 -0.250000 0.046875
v -0.500000 -0.250000 -0.046875
vt -0.000000 1.000000
vt -0.000000 0.500000
vt 1.000000 0.500000
vt 1.000000 1.000000
vt -0.000000 1.000000
vt -0.000000 0.500000
vt 1.000000 0.500000
vt 1.000000 1.000000
vt -0.000000 0.500000
vt -0.000000 0.000000
vt 1.000000 0.000000
vt 1.000000 0.500000
vt -0.000000 0.500000
vt -0.000000 0.000000
vt 1.000000 0.000000
vt 1.000000 0.500000
v 0.046875 0.406250 -0.468750
v 0.046875 0.406250 0.468750
v -0.046875 0.406250 -0.468750
v -0.046875 0.406250 0.468750
v 0.046875 0.156250 -0.468750
v 0.046875 0.156250 0.468750
v -0.046875 0.156250 0.468750
v -0.046875 0.156250 -0.468750
v 0.468750 0.031250 -0.046875
v 0.468750 0.031250 0.046875
v -0.468750 0.031250 0.046875
v -0.468750 0.031250 -0.046875
v 0.468750 -0.218750 -0.046875
v 0.468750 -0.218750 0.046875
v -0.468750 -0.218750 0.046875
v -0.468750 -0.218750 -0.046875
vt 0.031250 0.950000
vt 0.031250 0.550000
vt 0.968750 0.550000
vt 0.968750 0.950000
vt 0.031250 0.950000
vt 0.031250 0.550000
vt 0.968750 0.550000
vt 0.968750 0.950000
vt 0.031250 0.450000
vt 0.031250 0.050000
vt 0.968750 0.050000
vt 0.968750 0.450000
vt 0.031250 0.450000
vt 0.031250 0.050000
vt 0.968750 0.050000
vt 0.968750 0.450000
vn -1.0000 0.0000 0.0000
vn 1.0000 0.0000 0.0000
vn 0.0000 0.0000 -1.0000

View File

@ -1,14 +1,14 @@
# Blender v2.79 (sub 0) OBJ File: 'street_signs_medium_highway_sign.blend'
# Blender v2.79 (sub 0) OBJ File: 'street_signs_medium_highway_sign entity.blend'
# www.blender.org
o Cube
v 0.437500 -0.312500 0.359375
v 0.437500 1.312500 0.359375
v -1.437500 -0.312500 0.359375
v -1.437500 1.312500 0.359375
vt 0.861111 0.546875
vt 0.861111 0.953125
vt 0.027778 0.953125
vt 0.027778 0.546875
v 0.375000 -0.250000 0.359375
v 0.375000 1.250000 0.359375
v -1.375000 -0.250000 0.359375
v -1.375000 1.250000 0.359375
vt 0.966667 0.038462
vt 0.966667 0.961538
vt 0.033333 0.961538
vt 0.033333 0.038462
vn 0.0000 0.0000 -1.0000
g Cube_Cube_front
s off

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 808 B