sofar wrote:Optimized high stair blender model and obj file, feel free to use this in your mod with proper attribution:
License: CC-BY-SA-4.0 - Auke Kok <
sofar@foo-projects.org>
I can do the low model as well if you want.
Very awesome of you to take the time to do this sofar, thank you very much.
I do, however have a few of issues with the object though (please do not think me unappreciative, because I am extremely appreciative)
The first issue is, I produced 2 separate nodes for each object, being (angled_stair_right, angled_stair_left then angled_slab_right, and angled_slab_left) to slightly fix a texture alignment problem.
The second issue (may be something I am doing wrong code-wise) is that I can only climb the stairs from one angle (to the side). I still have the same node_box coords in place, and I think they are supposed to be diff when using a mesh?
The third issue is, in inventory, the top of the bottom step is transparent
Other than those, the stair does look 150% better..., and I would love to use if I can resolve those issues.
I am still a complete novice with these things, but trying to learn as best I can.
I would also very much appreciate any sort of "how to" steps to be able to, try to learn how to do this for myself, as I always feel bad pestering others. But, at the same time YES! I would love if you could do the 4 meshes :P cuz they look great. And I smuck with Blender, and hopefully I can return the favor if you ever need something graphics related (aside from Blender haha)
I really hope none of this seems offensive, because I am beyond grateful and it does look awesome as a mesh. As I stated, the issues I am running into are most likely on my end
Here is the way I have it coded:
Code: Select all
function angledstairs.register_angled_stair(subname, recipeitem, groups, images, description, sounds)
groups.angledstair = 1
minetest.register_node(":angledstairs:angled_stair_right" .. subname, {
description = description,
drawtype = "mesh",
mesh = "angled_stair_high.obj",
tiles = images,
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = false,
groups = groups,
sounds = sounds,
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, 0, 0.0625, 0.5, 0.5},
{0.0625, -0.5, 0.0625, 0.125, 0.5, 0.5},
{0.125, -0.5, 0.125, 0.1875, 0.5, 0.5},
{0.1875, -0.5, 0.1875, 0.25, 0.5, 0.5},
{0.25, -0.5, 0.25, 0.3125, 0.5, 0.5},
{0.3125, -0.5, 0.3125, 0.375, 0.5, 0.5},
{0.375, -0.5, 0.375, 0.4375, 0.5, 0.5},
{0.4375, -0.5, 0.4375, 0.5, 0.5, 0.5},
{-0.5, -0.5, -0.5, -0.4375, 0.5, -0.4375},
{-0.5, -0.5, -0.4375, -0.375, 0.5, -0.375},
{-0.5, -0.5, -0.375, -0.3125, 0.5, -0.3125},
{-0.5, -0.5, -0.3125, -0.25, 0.5, -0.25},
{-0.5, -0.5, -0.25, -0.1875, 0.5, -0.1875},
{-0.5, -0.5, -0.1875, -0.125, 0.5, -0.125},
{-0.5, -0.5, -0.125, -0.0625, 0.5, -0.0625},
{-0.5, -0.5, -0.0625, 0, 0.5, 0},
{-0.5, -0.5, -0.5, 0.5, 0, 0.5},
}
}
})