First upload

master
DonBatman 2016-03-15 20:17:36 -07:00
commit e8649f71fc
24 changed files with 827 additions and 0 deletions

11
README.md Normal file
View File

@ -0,0 +1,11 @@
# myconcrete
myconcrete adds concrete to minetest.
Limestone is added to the mapgen. It is required in order to make concrete.
You will find limestone when mining.
Concrete take time to dry. When you place concrete it will be darker then when it is dry.
Licence - WTFPL

12
aliases.lua Normal file
View File

@ -0,0 +1,12 @@
minetest.register_alias("mystreets:sidewalk", "myconcrete:sidewalk")
minetest.register_alias("mystreets:concrete", "myconcrete:concrete")
minetest.register_alias("mystreets:fence_concrete", "myconcrete:fence_concrete")
minetest.register_alias("mystreets:precast_concrete_seperating_wall", "myconcrete:precast_concrete_seperating_wall")
minetest.register_alias("mystreets:precast_concrete_cylinder", "myconcrete:precast_concrete_cylinder")
minetest.register_alias("mystreets:ramp_sidewalk", "myconcrete:ramp_sidewalk")
minetest.register_alias("mystreets:ramp_sidewalk_long", "myconcrete:ramp_sidewalk_long")
minetest.register_alias("mystreets:ramp_concrete", "myconcrete:ramp_concrete")
minetest.register_alias("mystreets:ramp_concrete_long", "myconcrete:ramp_concrete_long")
minetest.register_alias("mystreets:manhole", "myconcrete:manhole")
minetest.register_alias("mystreets:manhole_open", "myconcrete:manhole_open")
minetest.register_alias("mystreets:manhole_shaft", "myconcrete:manhole_shaft")

220
concrete.lua Normal file
View File

@ -0,0 +1,220 @@
local slope_cbox = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.25, 0.5},
{-0.5, -0.25, -0.25, 0.5, 0, 0.5},
{-0.5, 0, 0, 0.5, 0.25, 0.5},
{-0.5, 0.25, 0.25, 0.5, 0.5, 0.5}
}
}
local slope_cbox_long = {
type = "fixed",
fixed = {
{-0.5, -0.5, -1.5, 0.5, -0.375, 0.5},
{-0.5, -0.375, -1.25, 0.5, -0.25, 0.5},
{-0.5, -0.25, -1, 0.5, -0.125, 0.5},
{-0.5, -0.125, -0.75, 0.5, 0, 0.5},
{-0.5, 0, -0.5, 0.5, 0.125, 0.5},
{-0.5, 0.125, -0.25, 0.5, 0.25, 0.5},
{-0.5, 0.25, 0, 0.5, 0.375, 0.5},
{-0.5, 0.375, 0.25, 0.5, 0.5, 0.5},
}
}
local sep_wall_cbox = {
type = "fixed",
fixed = {
{-5/16, -1/2, -7/16, 5/16, -1/4, 7/16},
{-1/16, -1/4, -7/16, 1/16, 1/2, 7/16},
{-3/16, -1/2, -5/16, 3/16, 0, -1/4},
{-3/16, -1/2, 1/4, 3/16, 0, 5/16}
}
}
local cyl_cbox = {
type = "fixed",
fixed = {
{3/8, -1/2, -1/2, 1/2, 1/2, 1/2},
{-1/2, -1/2, -1/2, -3/8, 1/2, 1/2},
{-1/2, -1/2, 3/8, 1/2, 1/2, 1/2},
{-1/2, -1/2, -1/2, 1/2, 1/2, -3/8}
}
}
local fence_cbox = {
type = "fixed",
fixed = {-1/8, -1/2, -1/8, 1/8, 1/2, 1/8},
}
local item_tab = { -- mat, descr, img, dtype, cbox
{"sidewalk","Sidewalk","sidewalk","","normal",""},
{"concrete","Concrete","concrete","","normal",""},
{"ramp_sidewalk", "Sidewalk Ramp", "sidewalk_mesh", "myconcrete_slope.obj","mesh",slope_cbox},
{"ramp_sidewalk_long", "Sidewalk Ramp Long", "sidewalk_long_mesh", "myconcrete_slope_long.obj","mesh",slope_cbox_long},
{"ramp_concrete","Concrete Ramp","concrete_mesh","myconcrete_slope.obj","mesh",slope_cbox},
{"ramp_concrete_long","Concrete Ramp Long","concrete_mesh","myconcrete_slope_long.obj","mesh",slope_cbox_long},
{"precast_concrete_seperating_wall", "Seperation Wall", "concrete", "","nodebox",sep_wall_cbox},
{"precast_concrete_cylinder", "Concrete Cylinder", "concrete", "","nodebox",cyl_cbox},
{"fence_concrete", "Concrete Fence", "concrete", "","fencelike",fence_cbox},
}
for i in ipairs (item_tab) do
local mat = item_tab[i][1]
local descr = item_tab[i][2]
local img = item_tab[i][3]
local obj = item_tab[i][4]
local dtype = item_tab[i][5]
local cbox = item_tab[i][6]
local concrete_tab = { --num, desc, imgnum, gro
{"","","",{cracky = 1}},
{"3","3","^[colorize:black:100",{cracky = 1, not_in_creative_inventory = 1}},
{"2","2","^[colorize:black:50",{cracky = 1, not_in_creative_inventory = 1}},
{"1","1","^[colorize:black:25",{cracky = 1, not_in_creative_inventory = 1}},
}
for i in ipairs (concrete_tab) do
local num = concrete_tab[i][1]
local desc = concrete_tab[i][2]
local imgnum = concrete_tab[i][3]
local gro = concrete_tab[i][4]
minetest.register_node("myconcrete:"..mat..num, {
description = descr..desc,
drawtype = dtype,
mesh = obj,
tiles = {"myconcrete_"..img..".png"..imgnum},
paramtype = "light",
paramtype2 = "facedir",
drop = "myconcrete:"..mat,
groups = gro,
-- stack_max = 250,
sounds = default.node_sound_stone_defaults(),
node_box = cbox,
selection_box = cbox,
collision_box = cbox,
after_place_node = function(pos, placer, itemstack, pointed_thing)
local node = minetest.get_node(pos)
-- if node == "myconcrete:"..mat then
minetest.set_node(pos, {name = "myconcrete:"..mat.."3", param2 = node.param2})
-- end
end,
})
minetest.register_abm({
nodenames = {"myconcrete:"..mat.."3",},
interval = 180.0,
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)
minetest.set_node(pos, {name = "myconcrete:"..mat.."2", param2 = node.param2})
end,
})
minetest.register_abm({
nodenames = {"myconcrete:"..mat.."2"},
interval = 180.0,
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)
minetest.set_node(pos, {name = "myconcrete:"..mat.."1", param2 = node.param2})
end,
})
minetest.register_abm({
nodenames = {"myconcrete:"..mat.."1"},
interval = 180.0,
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)
minetest.set_node(pos, {name = "myconcrete:"..mat, param2 = node.param2})
end,
})
--Craft
minetest.register_craft({
output = "myconcrete:sidewalk 2",
recipe = {
{"myconcrete:concrete", "",""},
{"myconcrete:concrete", "",""},
{"", "",""},
}
})
--Craft
minetest.register_craft({
type = "shapeless",
output = "myconcrete:concrete",
recipe ={"myconcrete:lime", "default:gravel"},
})
--Craft
minetest.register_craft({
output = "myconcrete:fence_concrete 6",
recipe = {
{'myconcrete:concrete', 'myconcrete:concrete', 'myconcrete:concrete'},
{'myconcrete:concrete', 'myconcrete:concrete', 'myconcrete:concrete'}
}
})
--Craft
minetest.register_craft({
output = "myconcrete:precast_concrete_seperating_wall 5",
recipe = {
{'', 'myconcrete:concrete', ''},
{'', 'myconcrete:concrete', ''},
{'myconcrete:concrete', 'myconcrete:concrete', 'myconcrete:concrete'}
}
})
--Craft
minetest.register_craft({
output = "myconcrete:precast_concrete_cylinder 8",
recipe = {
{'myconcrete:concrete', 'myconcrete:concrete', 'myconcrete:concrete'},
{'myconcrete:concrete', '', 'myconcrete:concrete'},
{'myconcrete:concrete', 'myconcrete:concrete', 'myconcrete:concrete'}
}
})
--Craft
minetest.register_craft({
output = "myconcrete:ramp_sidewalk 2",
recipe = {
{"", "",""},
{"", "","myconcrete:sidewalk"},
{"", "myconcrete:sidewalk","myconcrete:sidewalk"},
}
})
--Craft
minetest.register_craft({
output = "myconcrete:ramp_sidewalk_long 2",
recipe = {
{"", "",""},
{"", "","myconcrete:sidewalk"},
{"myconcrete:sidewalk", "myconcrete:sidewalk","myconcrete:sidewalk"},
}
})
--Craft
minetest.register_craft({
output = "myconcrete:ramp_concrete 2",
recipe = {
{"", "",""},
{"", "","myconcrete:concrete"},
{"", "myconcrete:concrete","myconcrete:concrete"},
}
})
--Craft
minetest.register_craft({
output = "myconcrete:ramp_concrete_long 2",
recipe = {
{"", "",""},
{"", "","myconcrete:concrete"},
{"myconcrete:concrete", "myconcrete:concrete","myconcrete:concrete"},
}
})
end
end

1
depends.txt Executable file
View File

@ -0,0 +1 @@
default

1
description.txt Normal file
View File

@ -0,0 +1 @@
Myconcrete adds concrete to Minetest

6
init.lua Executable file
View File

@ -0,0 +1,6 @@
dofile(minetest.get_modpath("myconcrete").."/concrete.lua")
dofile(minetest.get_modpath("myconcrete").."/limestone.lua")
dofile(minetest.get_modpath("myconcrete").."/mapgen.lua")
dofile(minetest.get_modpath("myconcrete").."/aliases.lua")
--dofile(minetest.get_modpath("myconcrete").."/machine.lua")

22
limestone.lua Normal file
View File

@ -0,0 +1,22 @@
minetest.register_node("myconcrete:limestone", {
description = "Limestone",
tile_images = {
"myconcrete_limestone.png"
},
drawtype = "normal",
paramtype = "light",
drop = "myconcrete:lime",
groups = {cracky = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craftitem("myconcrete:lime", {
description = "Lime",
inventory_image = "myconcrete_lime.png",
})
minetest.register_craft({
type = "shapeless",
output = "myconcrete:limestone",
recipe = {"myconcrete:lime"},
})

197
manholes.lua Normal file
View File

@ -0,0 +1,197 @@
minetest.register_node("myconcrete:manhole", {
description = "Manhole",
tile_images = {
"myconcrete_manhole_top_closed.png",
"myconcrete_concrete.png",
"myconcrete_concrete.png",
"myconcrete_concrete.png",
"myconcrete_concrete.png",
"myconcrete_concrete.png"
},
drawtype = "nodebox",
paramtype = "light",
-- paramtype2 = "facedir",
walkable = true,
climbable = false,
groups = {cracky=2},
node_box = {
type = "fixed",
fixed = {
{0.4375, -0.5, -0.5, 0.5, 0.5, 0.5},
{-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
{-0.5, -0.5, -0.5, 0.5, 0.5, -0.4375},
{-0.5, -0.5, 0.4375, 0.5, 0.5, 0.5},
{0.375, -0.5, -0.5, 0.5, 0.5, -0.1875},
{0.1875, -0.5, -0.5, 0.5, 0.5, -0.375},
{0.3125, -0.5, -0.5, 0.5, 0.5, -0.3125},
{-0.5, -0.5, -0.5, -0.375, 0.5, -0.1875},
{-0.5, -0.5, -0.5, -0.1875, 0.5, -0.375},
{-0.5, -0.5, -0.5, -0.3125, 0.5, -0.3125},
{-0.5, -0.5, 0.375, -0.1875, 0.5, 0.5},
{-0.5, -0.5, 0.1875, -0.375, 0.5, 0.5},
{-0.5, -0.5, 0.3125, -0.3125, 0.5, 0.5},
{0.375, -0.5, 0.1875, 0.5, 0.5, 0.5},
{0.1875, -0.5, 0.375, 0.5, 0.5, 0.5},
{0.3125, -0.5, 0.3125, 0.5, 0.5, 0.5},
{0.3125, 0.4375, -0.5, 0.5, 0.5, -0.125},
{0.125, 0.4375, -0.5, 0.5, 0.5, -0.3125},
{0.25, 0.4375, -0.5, 0.5, 0.5, -0.25},
{-0.5, 0.4375, -0.5, -0.3125, 0.5, -0.125},
{-0.5, 0.4375, -0.5, -0.1875, 0.5, -0.3125},
{-0.5, 0.4375, -0.5, -0.25, 0.5, -0.25},
{-0.5, 0.4375, 0.3125, -0.125, 0.5, 0.5},
{-0.5, 0.4375, 0.125, -0.3125, 0.5, 0.5},
{-0.5, 0.4375, 0.25, -0.25, 0.5, 0.5},
{0.3125, 0.4375, 0.125, 0.5, 0.5, 0.5},
{0.125, 0.4375, 0.3125, 0.5, 0.5, 0.5},
{0.25, 0.4375, 0.25, 0.5, 0.5, 0.5},
{0.375, 0.375, -0.5, 0.5, 0.5, 0.5},
{-0.5, 0.4375, 0.375, 0.5, 0.5, 0.5},
{-0.5, 0.4375, -0.5, -0.375, 0.5, 0.5},
{-0.5, 0.4375, -0.5, 0.5, 0.5, -0.375},
{-0.0625, 0.4375, -0.5, 0.0625, 0.5, 0.5},
{0.125, 0.4375, -0.5, 0.1875, 0.5, 0.5},
{0.25, 0.4375, -0.5, 0.3125, 0.5, 0.5},
{-0.1875, 0.4375, -0.5, -0.125, 0.5, 0.5},
{-0.3125, 0.4375, -0.5, -0.25, 0.5, 0.5},
{0.25, 0.1875, -0.5, 0.3125, 0.25, 0.5},
{0.25, -0.3125, -0.5, 0.3125, -0.25, 0.5},
}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}
},
on_punch = function(pos, node, puncher, pointed_thing)
minetest.set_node(pos,{name = "mystreets:manhole_open", param2 = node.param2})
end,
})
--Manhole open
minetest.register_node("myconcrete:manhole_open", {
description = "Manhole Open",
tile_images = {
"myconcrete_manhole_top_closed.png",
"myconcrete_concrete.png",
"myconcrete_concrete.png",
"myconcrete_concrete.png",
"myconcrete_concrete.png",
"myconcrete_concrete.png"
},
drawtype = "nodebox",
paramtype = "light",
-- paramtype2 = "facedir",
walkable = false,
climbable = true,
drop = "myconcrete:manhole",
groups = {cracky=2, not_in_creative_inventory = 1},
node_box = {
type = "fixed",
fixed = {
{0.4375, -0.5, -0.5, 0.5, 0.5, 0.5},
{-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
{-0.5, -0.5, -0.5, 0.5, 0.5, -0.4375},
{-0.5, -0.5, 0.4375, 0.5, 0.5, 0.5},
{0.375, -0.5, -0.5, 0.5, 0.5, -0.1875},
{0.1875, -0.5, -0.5, 0.5, 0.5, -0.375},
{0.3125, -0.5, -0.5, 0.5, 0.5, -0.3125},
{-0.5, -0.5, -0.5, -0.375, 0.5, -0.1875},
{-0.5, -0.5, -0.5, -0.1875, 0.5, -0.375},
{-0.5, -0.5, -0.5, -0.3125, 0.5, -0.3125},
{-0.5, -0.5, 0.375, -0.1875, 0.5, 0.5},
{-0.5, -0.5, 0.1875, -0.375, 0.5, 0.5},
{-0.5, -0.5, 0.3125, -0.3125, 0.5, 0.5},
{0.375, -0.5, 0.1875, 0.5, 0.5, 0.5},
{0.1875, -0.5, 0.375, 0.5, 0.5, 0.5},
{0.3125, -0.5, 0.3125, 0.5, 0.5, 0.5},
{0.4375, 0.5, -0.1875, 0.5, 0.5625, 0.1875},
{0.4375, 0.625, -0.375, 0.5, 0.6875, 0.375},
{0.4375, 0.5625, 0.125, 0.5, 0.625, 0.3125},
{0.4375, 0.5625, -0.3125, 0.5, 0.625, -0.125},
{0.4375, 0.75, -0.4375, 0.5, 0.8125, 0.4375},
{0.4375, 0.6875, -0.375, 0.5, 0.75, -0.3125},
{0.4375, 0.6875, 0.3125, 0.5, 0.75, 0.375},
{0.4375, 0.875, -0.4375, 0.5, 0.9375, 0.4375},
{0.4375, 0.8125, 0.375, 0.5, 0.9375, 0.4375},
{0.4375, 0.8125, -0.4375, 0.5, 0.875, -0.375},
{-0.5, 0.5, -0.1875, -0.4375, 0.5625, 0.1875},
{-0.5, 0.625, -0.375, -0.4375, 0.6875, 0.375},
{-0.5, 0.5625, 0.125, -0.4375, 0.625, 0.3125},
{-0.5, 0.5625, -0.3125, -0.4375, 0.625, -0.125},
{-0.5, 0.75, -0.4375, -0.4375, 0.8125, 0.4375},
{-0.5, 0.6875, -0.375, -0.4375, 0.75, -0.3125},
{-0.5, 0.6875, 0.3125, -0.4375, 0.75, 0.375},
{-0.5, 0.875, -0.4375, -0.4375, 0.9375, 0.4375},
{-0.5, 0.8125, 0.375, -0.4375, 0.9375, 0.4375},
{-0.5, 0.8125, -0.4375, -0.4375, 0.875, -0.375},
{0.25, 0.1875, -0.5, 0.3125, 0.25, 0.5},
{0.25, -0.3125, -0.5, 0.3125, -0.25, 0.5},
}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}
},
on_punch = function(pos, node, puncher, pointed_thing)
minetest.set_node(pos,{name = "myconcrete:manhole", param2 = node.param2})
end,
on_construct = function(pos)
local timer = minetest.get_node_timer(pos)
timer:start(10)
end,
on_timer = function(pos, elapsed)
minetest.set_node(pos,{name = "myconcrete:manhole"})
end,
})
--Manhole shaft
minetest.register_node("myconcrete:manhole_shaft", {
description = "Manhole Open",
tile_images = {
"myconcrete_concrete.png",
"myconcrete_concrete.png",
"myconcrete_concrete.png",
"myconcrete_concrete.png",
"myconcrete_concrete.png",
"myconcrete_concrete.png"
},
drawtype = "nodebox",
paramtype = "light",
-- paramtype2 = "facedir",
walkable = false,
climbable = true,
groups = {cracky=2, not_in_creative_inventory = 0},
node_box = {
type = "fixed",
fixed = {
{0.4375, -0.5, -0.5, 0.5, 0.5, 0.5},
{-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
{-0.5, -0.5, -0.5, 0.5, 0.5, -0.4375},
{-0.5, -0.5, 0.4375, 0.5, 0.5, 0.5},
{0.375, -0.5, -0.5, 0.5, 0.5, -0.1875},
{0.1875, -0.5, -0.5, 0.5, 0.5, -0.375},
{0.3125, -0.5, -0.5, 0.5, 0.5, -0.3125},
{-0.5, -0.5, -0.5, -0.375, 0.5, -0.1875},
{-0.5, -0.5, -0.5, -0.1875, 0.5, -0.375},
{-0.5, -0.5, -0.5, -0.3125, 0.5, -0.3125},
{-0.5, -0.5, 0.375, -0.1875, 0.5, 0.5},
{-0.5, -0.5, 0.1875, -0.375, 0.5, 0.5},
{-0.5, -0.5, 0.3125, -0.3125, 0.5, 0.5},
{0.375, -0.5, 0.1875, 0.5, 0.5, 0.5},
{0.1875, -0.5, 0.375, 0.5, 0.5, 0.5},
{0.3125, -0.5, 0.3125, 0.5, 0.5, 0.5},
{0.25, 0.1875, -0.5, 0.3125, 0.25, 0.5},
{0.25, -0.3125, -0.5, 0.3125, -0.25, 0.5},
}
},
selection_box = {
type = "fixed",
fixed = {
{0.4375, -0.5, -0.5, 0.5, 0.5, 0.5},
{-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
{-0.5, -0.5, -0.5, 0.5, 0.5, -0.4375},
{-0.5, -0.5, 0.4375, 0.5, 0.5, 0.5},
}
},
})

10
mapgen.lua Normal file
View File

@ -0,0 +1,10 @@
minetest.register_ore({
ore_type = "sheet",
ore = "myconcrete:limestone",
wherein = "stone",
clust_scarcity = 60*60*60,
clust_num_ores = 30,
clust_size = 3,
height_min = -31000,
height_max = -50,
})

1
mod.conf Normal file
View File

@ -0,0 +1 @@
name = myconcrete

View File

@ -0,0 +1,236 @@
# Blender v2.69 (sub 0) OBJ File: 'slope_test_cylinder.blend'
# www.blender.org
mtllib slope_test_cylinder.mtl
o Cylinder_Cylinder.001
v 0.000000 -0.500000 -0.500000
v 0.000000 0.500000 -0.500000
v 0.097545 -0.500000 -0.490393
v 0.097545 0.500000 -0.490393
v 0.191342 -0.500000 -0.461940
v 0.191342 0.500000 -0.461940
v 0.277785 -0.500000 -0.415735
v 0.277785 0.500000 -0.415735
v 0.353553 -0.500000 -0.353553
v 0.353553 0.500000 -0.353553
v 0.415735 -0.500000 -0.277785
v 0.415735 0.500000 -0.277785
v 0.461940 -0.500000 -0.191342
v 0.461940 0.500000 -0.191342
v 0.490393 -0.500000 -0.097545
v 0.490393 0.500000 -0.097545
v 0.500000 -0.500000 -0.000000
v 0.500000 0.500000 -0.000000
v 0.490393 -0.500000 0.097545
v 0.490393 0.500000 0.097545
v 0.461940 -0.500000 0.191342
v 0.461940 0.500000 0.191342
v 0.415735 -0.500000 0.277785
v 0.415735 0.500000 0.277785
v 0.353553 -0.500000 0.353553
v 0.353553 0.500000 0.353553
v 0.277785 -0.500000 0.415735
v 0.277785 0.500000 0.415735
v 0.191342 -0.500000 0.461940
v 0.191342 0.500000 0.461940
v 0.097545 -0.500000 0.490393
v 0.097545 0.500000 0.490393
v -0.000000 -0.500000 0.500000
v -0.000000 0.500000 0.500000
v -0.097545 -0.500000 0.490393
v -0.097545 0.500000 0.490393
v -0.191342 -0.500000 0.461940
v -0.191342 0.500000 0.461940
v -0.277785 -0.500000 0.415735
v -0.277785 0.500000 0.415735
v -0.353554 -0.500000 0.353553
v -0.353554 0.500000 0.353553
v -0.415735 -0.500000 0.277785
v -0.415735 0.500000 0.277785
v -0.461940 -0.500000 0.191341
v -0.461940 0.500000 0.191341
v -0.490393 -0.500000 0.097545
v -0.490393 0.500000 0.097545
v -0.500000 -0.500000 -0.000000
v -0.500000 0.500000 -0.000000
v -0.490393 -0.500000 -0.097546
v -0.490393 0.500000 -0.097546
v -0.461940 -0.500000 -0.191342
v -0.461940 0.500000 -0.191342
v -0.415734 -0.500000 -0.277786
v -0.415734 0.500000 -0.277786
v -0.353553 -0.500000 -0.353554
v -0.353553 0.500000 -0.353554
v -0.277785 -0.500000 -0.415735
v -0.277785 0.500000 -0.415735
v -0.191341 -0.500000 -0.461940
v -0.191341 0.500000 -0.461940
v -0.097544 -0.500000 -0.490393
v -0.097544 0.500000 -0.490393
vt 0.749998 0.500017
vt 0.749997 0.749983
vt 0.781246 0.749983
vt 0.781247 0.500017
vt 0.812495 0.749984
vt 0.812496 0.500017
vt 0.843744 0.749984
vt 0.843744 0.500017
vt 0.874993 0.749984
vt 0.874993 0.500017
vt 0.906242 0.749984
vt 0.906242 0.500017
vt 0.937491 0.749984
vt 0.937491 0.500017
vt 0.968740 0.749984
vt 0.968740 0.500017
vt 0.999989 0.749984
vt 0.999989 0.500017
vt 0.000002 0.500024
vt 0.000000 0.749972
vt 0.031247 0.749972
vt 0.031249 0.500024
vt 0.062493 0.749972
vt 0.062495 0.500025
vt 0.093740 0.749973
vt 0.093742 0.500025
vt 0.124986 0.749973
vt 0.124989 0.500025
vt 0.156233 0.749973
vt 0.156235 0.500025
vt 0.187479 0.749974
vt 0.187482 0.500025
vt 0.218726 0.749974
vt 0.218729 0.500025
vt 0.249973 0.749975
vt 0.249976 0.500026
vt 0.281220 0.749975
vt 0.281222 0.500026
vt 0.312467 0.749976
vt 0.312469 0.500026
vt 0.343714 0.749976
vt 0.343716 0.500026
vt 0.374961 0.749976
vt 0.374963 0.500026
vt 0.406208 0.749977
vt 0.406209 0.500026
vt 0.437455 0.749977
vt 0.437457 0.500026
vt 0.468702 0.749977
vt 0.468703 0.500026
vt 0.499950 0.749978
vt 0.499950 0.500026
vt 0.500011 0.500018
vt 0.500011 0.749981
vt 0.531259 0.749981
vt 0.531259 0.500018
vt 0.562507 0.749981
vt 0.562507 0.500018
vt 0.593755 0.749982
vt 0.593756 0.500018
vt 0.625003 0.749982
vt 0.625004 0.500018
vt 0.656252 0.749982
vt 0.656253 0.500017
vt 0.687500 0.749983
vt 0.687501 0.500017
vt 0.100620 0.752432
vt 0.125004 0.750032
vt 0.149386 0.752435
vt 0.172832 0.759549
vt 0.194439 0.771100
vt 0.213378 0.786645
vt 0.228920 0.805586
vt 0.240469 0.827194
vt 0.247579 0.850641
vt 0.249979 0.875024
vt 0.247576 0.899407
vt 0.240462 0.922853
vt 0.228911 0.944460
vt 0.213367 0.963399
vt 0.194426 0.978941
vt 0.172817 0.990489
vt 0.149371 0.997600
vt 0.124987 1.000000
vt 0.100604 0.997597
vt 0.077159 0.990483
vt 0.055551 0.978932
vt 0.036613 0.963387
vt 0.021071 0.944447
vt 0.009522 0.922838
vt 0.002412 0.899392
vt 0.000011 0.875009
vt 0.002415 0.850626
vt 0.009528 0.827180
vt 0.021079 0.805572
vt 0.036624 0.786633
vt 0.055565 0.771091
vt 0.077174 0.759543
vt 0.718750 0.500017
vt 0.718749 0.749983
vt 0.124977 0.500000
vt 0.100598 0.497595
vt 0.077156 0.490481
vt 0.055553 0.478929
vt 0.036619 0.463386
vt 0.021080 0.444447
vt 0.009535 0.422840
vt 0.002427 0.399396
vt 0.000030 0.375016
vt 0.002434 0.350637
vt 0.009549 0.327195
vt 0.021100 0.305592
vt 0.036644 0.286658
vt 0.055583 0.271119
vt 0.077190 0.259575
vt 0.100634 0.252467
vt 0.125014 0.250069
vt 0.149393 0.252474
vt 0.172835 0.259589
vt 0.194438 0.271140
vt 0.213372 0.286684
vt 0.228911 0.305624
vt 0.240455 0.327231
vt 0.247563 0.350674
vt 0.249961 0.375054
vt 0.247556 0.399433
vt 0.240441 0.422874
vt 0.228890 0.444477
vt 0.213346 0.463411
vt 0.194407 0.478950
vt 0.172800 0.490495
vt 0.149357 0.497602
usemtl None
s 1
f 1/1 2/2 4/3 3/4
f 3/4 4/3 6/5 5/6
f 5/6 6/5 8/7 7/8
f 7/8 8/7 10/9 9/10
f 9/10 10/9 12/11 11/12
f 11/12 12/11 14/13 13/14
f 13/14 14/13 16/15 15/16
f 15/16 16/15 18/17 17/18
f 17/19 18/20 20/21 19/22
f 19/22 20/21 22/23 21/24
f 21/24 22/23 24/25 23/26
f 23/26 24/25 26/27 25/28
f 25/28 26/27 28/29 27/30
f 27/30 28/29 30/31 29/32
f 29/32 30/31 32/33 31/34
f 31/34 32/33 34/35 33/36
f 33/36 34/35 36/37 35/38
f 35/38 36/37 38/39 37/40
f 37/40 38/39 40/41 39/42
f 39/42 40/41 42/43 41/44
f 41/44 42/43 44/45 43/46
f 43/46 44/45 46/47 45/48
f 45/48 46/47 48/49 47/50
f 47/50 48/49 50/51 49/52
f 49/53 50/54 52/55 51/56
f 51/56 52/55 54/57 53/58
f 53/58 54/57 56/59 55/60
f 55/60 56/59 58/61 57/62
f 57/62 58/61 60/63 59/64
f 59/64 60/63 62/65 61/66
f 4/67 2/68 64/69 62/70 60/71 58/72 56/73 54/74 52/75 50/76 48/77 46/78 44/79 42/80 40/81 38/82 36/83 34/84 32/85 30/86 28/87 26/88 24/89 22/90 20/91 18/92 16/93 14/94 12/95 10/96 8/97 6/98
f 63/99 64/100 2/2 1/1
f 61/66 62/65 64/100 63/99
f 1/101 3/102 5/103 7/104 9/105 11/106 13/107 15/108 17/109 19/110 21/111 23/112 25/113 27/114 29/115 31/116 33/117 35/118 37/119 39/120 41/121 43/122 45/123 47/124 49/125 51/126 53/127 55/128 57/129 59/130 61/131 63/132

View File

@ -0,0 +1,35 @@
# Blender v2.69 (sub 0) OBJ File: 'slope_test_slope.blend'
# www.blender.org
mtllib slope_test_slope.mtl
o Cube_Cube.002
v 0.500000 0.500000 0.500000
v -0.500000 0.500000 0.500000
v -0.500000 -0.500000 0.500000
v 0.500000 -0.500000 0.500000
v -0.500000 -0.500000 -0.500000
v 0.500000 -0.500000 -0.500000
vt 0.546875 0.984375
vt 0.296875 0.984375
vt 0.296875 0.734375
vt 0.546875 0.734375
vt 0.578125 0.734375
vt 0.828125 0.734375
vt 0.828125 0.984375
vt 0.578125 0.984375
vt 0.546875 0.703125
vt 0.296875 0.453125
vt 0.546875 0.453125
vt 0.578125 0.703125
vt 0.578125 0.453125
vt 0.828125 0.453125
vt 0.265625 0.984375
vt 0.015625 0.984375
vt 0.015625 0.609375
vt 0.265625 0.609375
usemtl None
s off
f 1/1 2/2 3/3 4/4
f 4/5 3/6 5/7 6/8
f 2/9 5/10 3/11
f 1/12 4/13 6/14
f 2/15 1/16 6/17 5/18

View File

@ -0,0 +1,75 @@
# Blender v2.69 (sub 0) OBJ File: 'slope_test_slope_long.blend'
# www.blender.org
mtllib slope_test_slope_long.mtl
o Cube
v -0.500000 -0.500000 -1.500000
v 0.500000 -0.500000 -1.500000
v 0.500000 -0.500000 0.500000
v -0.500000 -0.500000 0.500000
v 0.500000 0.500000 0.500000
v -0.500000 0.500000 0.500000
v 0.000000 -0.500000 -1.500000
v -0.500000 -0.500000 -0.500000
v 0.500000 -0.500000 -0.500000
v -0.000000 -0.500000 0.500000
v 0.500000 0.000000 0.500000
v -0.500000 0.000000 0.500000
v 0.500000 0.000000 -0.500000
v -0.000000 0.500000 0.500000
v -0.500000 0.000000 -0.500000
v 0.000000 -0.500000 -0.500000
v 0.000000 0.000000 -0.500000
v -0.000000 0.000000 0.500000
vt 0.375000 0.625000
vt 0.250000 0.625000
vt 0.250000 0.250000
vt 0.375000 0.250000
vt 0.125000 0.625000
vt 0.125000 1.000000
vt 0.000000 1.000000
vt 0.000000 0.625000
vt 0.625000 0.375000
vt 0.625000 0.250000
vt 0.750000 0.250000
vt 0.750000 0.375000
vt 1.000000 0.750000
vt 0.750000 0.875000
vt 0.750000 0.750000
vt 0.750000 0.625000
vt 1.000000 0.625000
vt 0.500000 0.625000
vt 0.500000 0.250000
vt 0.500000 1.000000
vt 0.375000 1.000000
vt 0.250000 1.000000
vt 0.125000 0.250000
vt 0.000000 0.250000
vt 0.625000 0.500000
vt 0.750000 0.500000
vt 0.500000 0.500000
vt 0.500000 0.375000
vt 0.500000 0.875000
vt 0.500000 0.750000
vt 1.000000 0.500000
usemtl Material
s off
f 16/1 9/2 3/3 10/4
f 17/5 14/6 5/7 13/8
f 18/9 14/10 6/11 12/12
f 2/13 13/14 9/15
f 6/13 15/16 12/17
f 8/18 16/1 10/4 4/19
f 1/20 7/21 16/1 8/18
f 7/21 2/22 9/2 16/1
f 7/23 17/5 13/8 2/24
f 1/3 15/2 17/5 7/23
f 15/2 6/22 14/6 17/5
f 10/25 18/9 12/12 4/26
f 3/27 11/28 18/9 10/25
f 11/28 5/19 14/10 18/9
f 9/15 11/29 3/30
f 9/15 13/14 11/29
f 13/14 5/20 11/29
f 12/17 8/26 4/31
f 12/17 15/16 8/26
f 15/16 1/27 8/26

Binary file not shown.

After

Width:  |  Height:  |  Size: 633 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 618 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 575 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 654 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 575 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B