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

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

by VanessaE » Wed Nov 28, 2012 05:39

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: 3053
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Wed Nov 28, 2012 16:46

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.
The comedic value of my videos is how abysmal they are: https://www.youtube.com/channel/UC5cyeM ... YTfYFlih_A
 

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

by kaeza » Wed Nov 28, 2012 20:44

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

by guilleelcapoextra » Wed Nov 28, 2012 21:36

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/4xi92lzva6baa2p/repair_trees.zip gives PERESA hehe
 

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

by VanessaE » Wed Nov 28, 2012 22:24

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)
 

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

by markveidemanis » Sun Dec 02, 2012 11:02

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 » Sun Dec 02, 2012 17:32

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

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

by dama0404 » Sun Jan 20, 2013 18:41

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.
 

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

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

by kaeza » Mon Jan 28, 2013 10:39

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: 4415
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

by VanessaE » Sun Mar 17, 2013 02:01

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)
 

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

by acridstone » Sun Mar 17, 2013 04:22

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.
 

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

by acridstone » Sun Mar 17, 2013 04:29

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: 3053
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Tue Mar 26, 2013 05:30

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.
The comedic value of my videos is how abysmal they are: https://www.youtube.com/channel/UC5cyeM ... YTfYFlih_A
 

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

by VanessaE » Tue Mar 26, 2013 07:40

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
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Wed Mar 27, 2013 00:48

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
 

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

by deivan » Thu Mar 28, 2013 11:07

A link please kaeza. :D
 

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

by kaeza » Thu Mar 28, 2013 11:08

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
 

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

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

by skyarmy520 » Sat Oct 12, 2013 01:31

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 » Wed Sep 21, 2016 21:31

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
Location: New Hampshire U.S.A
In-game: ExeterDad

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

by ExeterDad » Thu Sep 22, 2016 00:18

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
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

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

by kaeza » Thu Sep 22, 2016 01:57

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 » Thu Sep 22, 2016 22:34

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: 2247
Joined: Wed Oct 19, 2016 15:18
Location: Russia, Moscow
GitHub: Andrey2470T
In-game: Andrey01

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

by Andrey01 » Sat Jun 24, 2017 18:50

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

PreviousNext

Return to Old Mods



Who is online

Users browsing this forum: No registered users and 1 guest

cron