[Mod] 3D Furniture [1.0] [3dforniture]

User avatar
VanessaE
Moderator
Posts: 4539
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

In nodes.lua there is a register_node() call for trees. Comment out the whole call, or just delete it.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
Inocudom
Member
Posts: 3096
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

Thank you VanessaE. My computer doesn't have the best graphics card so the trunks will have to be kept square in my single player map. All of the other nodes in this mod are fine for me to use and I do appreciate this mod tonyka.
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

About node boxes, you may find this useful (it's part of my computers mod):

Code: Select all

pixelnodebox = function ( size, boxes )
    local fixed = { };
    local i, box;
    for i, box in ipairs(boxes) do
        local x, y, z, w, h, l = unpack(box);
        fixed[#fixed + 1] = {
            (x / size) - 0.5,
            (y / size) - 0.5,
            (z / size) - 0.5,
            ((x + w) / size) - 0.5,
            ((y + h) / size) - 0.5,
            ((z + l) / size) - 0.5,
        };
    end
    return {
        type = "fixed";
        fixed = fixed;
    };
end;
It is useful if you draw the basic layout of the object in a paint program, and then use the pixel coordinates for the nodeboxes. That way, you can use the layout you drew as a texture and it will map 1:1 into the nodeboxes.

Here's a piece of code that illustrates the usage:

Code: Select all

minetest.register_node("modname:nodename", {

    drawtype = "nodebox";

    -- Other node defs here...

    node_box = pixelnodebox(32, {
        -- X   Y   Z   W   H   L
        {  0,  0, 17, 32, 32, 12 },   -- Monitor Screen
        {  3,  3, 29, 26, 26,  3 },   -- Monitor Tube
        {  0,  0,  0, 32,  4, 17 },   -- Keyboard
    });
});
(X, Y, Z) is the position of the nodebox, W is the width (lenght in X direction), H is the height (length in Y direction), and L is length (length in Z direction).

Look at my mod for a real usage.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
guilleelcapoextra
Member
Posts: 70
Joined: Sat Oct 13, 2012 23:49
Location: uruguay
Contact:

by guilleelcapoextra » Post

Inocudom wrote:Is there a way to disable this mod's version of the tree trunks should it be necessary to do so?
if the first link is to fix it aka the link if https://www.dropbox.com/s/4xi92lzva6baa ... _trees.zip gives PERESA hehe

User avatar
VanessaE
Moderator
Posts: 4539
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

In light of the above, I'd like to reiterate my previous suggestion that the furniture and bathroom kit be split into a separate mod (or two) from trees/papyrus.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
markveidemanis
Member
Posts: 211
Joined: Thu Sep 27, 2012 15:41

by markveidemanis » Post

in the screenshot, the tree on the left does not have a 3d nodebox
BitCoin: 1Eq4arvykGNa1YC2DbJpWcwGfMvtFGjAoR

User avatar
qwrwed
Member
Posts: 325
Joined: Sun Jul 22, 2012 20:56
In-game: qwrwed or Nitro

by qwrwed » Post

It does; it's just the angle. If you look carefully, you can see the dirt below it.

User avatar
dama0404
New member
Posts: 3
Joined: Sun Oct 28, 2012 15:11

by dama0404 » Post

VanessaE wrote:In light of the above, I'd like to reiterate my previous suggestion that the furniture and bathroom kit be split into a separate mod (or two) from trees/papyrus.
I Agree.

User avatar
Jade_0420
New member
Posts: 3
Joined: Mon Jan 28, 2013 08:32

by Jade_0420 » Post

IS THIS FOR 0.4.4?

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

Jade_0420 wrote:IS THIS FOR 0.4.4?
Yes. Are you having any problems installing it?
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
VanessaE
Moderator
Posts: 4539
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

I guess this mod isn't being maintained anymore. Tony, if you're still here, can you please remove all but one of the lamps from the creative inventory? Seems a little redundant to have five of them in there if they're all the same thing but different brightnesses.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
acridstone
Member
Posts: 14
Joined: Sat Mar 02, 2013 06:53

by acridstone » Post

I wish you would find some way to make it compatible with the moretrees mod. When I run both at the same time, the extra trees do not generate. It would also be cool if you could give different 3d models to different trees in the moretrees mod.

User avatar
acridstone
Member
Posts: 14
Joined: Sat Mar 02, 2013 06:53

by acridstone » Post

kaeza wrote:About node boxes, you may find this useful (it's part of my computers mod):

Code: Select all

pixelnodebox = function ( size, boxes )
    local fixed = { };
    local i, box;
    for i, box in ipairs(boxes) do
        local x, y, z, w, h, l = unpack(box);
        fixed[#fixed + 1] = {
            (x / size) - 0.5,
            (y / size) - 0.5,
            (z / size) - 0.5,
            ((x + w) / size) - 0.5,
            ((y + h) / size) - 0.5,
            ((z + l) / size) - 0.5,
        };
    end
    return {
        type = "fixed";
        fixed = fixed;
    };
end;
It is useful if you draw the basic layout of the object in a paint program, and then use the pixel coordinates for the nodeboxes. That way, you can use the layout you drew as a texture and it will map 1:1 into the nodeboxes.

Here's a piece of code that illustrates the usage:

Code: Select all

minetest.register_node("modname:nodename", {

    drawtype = "nodebox";

    -- Other node defs here...

    node_box = pixelnodebox(32, {
        -- X   Y   Z   W   H   L
        {  0,  0, 17, 32, 32, 12 },   -- Monitor Screen
        {  3,  3, 29, 26, 26,  3 },   -- Monitor Tube
        {  0,  0,  0, 32,  4, 17 },   -- Keyboard
    });
});
(X, Y, Z) is the position of the nodebox, W is the width (lenght in X direction), H is the height (length in Y direction), and L is length (length in Z direction).

Look at my mod for a real usage.
This Lua code looks fascinating. Can the luacontroller from mesecons create nodes? I do not know ANY lua I just know little bits and pieces of python.

User avatar
Inocudom
Member
Posts: 3096
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

You should try to update this mod when you can (or somebody else can.) This mod is still used on servers. You probably want to put in a configuration to toggle the round trunks and 3D papyrus on or off.
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/

User avatar
VanessaE
Moderator
Posts: 4539
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

Acridstone: Moretrees does not conflict with 3dforniture - I have both on my server and they run fine together. Just bear in mind that new trees are only added on new terrain (or with a sapling). Also, because a lot of the trees use a "+" shaped trunk, you wouldn't be able to round them at all - the "+" shape is generated in C++, so there's no way to fill in the spaces around them from Lua without really slowing things down. But, if someone wants to attempt it, I wouldn't mind seeing the result. ;-)
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

The author of this mod has not been seen in a while, and this mod has not been updated in ages.
I decided to write a version of this mod from scratch, and merged with Homedecor. It now has items compatible with this mod. They are aliased so old maps do not break, but is otherwise re-written from scratch.
Last edited by kaeza on Wed Mar 27, 2013 02:41, edited 1 time in total.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

A link please kaeza. :D

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

deivan wrote:A link please kaeza. :D
See VanessaE's signature :)
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

Thanks. :D

User avatar
skyarmy520
New member
Posts: 4
Joined: Sat Oct 12, 2013 00:48

by skyarmy520 » Post

I got to say that's epic.

Ambrace
New member
Posts: 2
Joined: Thu Sep 01, 2016 22:58

Re: [Mod] 3D Furniture [1.0] [3dforniture]

by Ambrace » Post

Sorry if someone answered this already; but I couldn't find the answer. How do I install this on Minetest? Like which parts go where? I tried Textures in texture area and mods in mod area but it doesn't seem to be working.

User avatar
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

Re: [Mod] 3D Furniture [1.0] [3dforniture]

by ExeterDad » Post

Ambrace wrote:Sorry if someone answered this already; but I couldn't find the answer. How do I install this on Minetest? Like which parts go where? I tried Textures in texture area and mods in mod area but it doesn't seem to be working.
Since we don't know if you are running Linux, Windoze or Mac...
Mod installing 101 might be the best answer for you. :)
http://wiki.minetest.net/Installing_Mods

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

Re: [Mod] 3D Furniture [1.0] [3dforniture]

by kaeza » Post

Also note that this is an old mod. It's not guaranteed to work.

Most of the items were moved to the homedecor mod (the only items not moved are the 3D trees and papyrus).
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

Ambrace
New member
Posts: 2
Joined: Thu Sep 01, 2016 22:58

Re: [Mod] 3D Furniture [1.0] [3dforniture]

by Ambrace » Post

Well, that's a bummer if it no longer works. I apologize for not clarifying. I forgot that the older versions were still used. I am on a Windows 7. I tried looking at that link already and I'm still confused. Like, do I install the whole folder in one area or do I install them in separate areas? No matter what I seem to due nothing works. Then again, I suppose it probably wouldn't work if the mods are old. =/ Do you know of any mods similar to this one?

User avatar
Andrey01
Member
Posts: 2415
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] 3D Furniture [1.0] [3dforniture]

by Andrey01 » Post

I like mod. It uses on a few server up to how now. 3D textures are great!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest