Page 1 of 2

[Mod] Painting [0.8] [painting]

PostPosted: Sat Jul 28, 2012 08:02
by jin_xi
This mod adds in-game painting to minetest.
Version 0.9 has bugfixes and enhancements by khonkhortisan. Paintings can now be placed
back on the easel and be changed.

Version 0.8 fixes a bug and only supports 16x pixels and uses fixes and textures by thexyz

Version 0.7 adds canvases of different sizes: 8, 16, 32 or 64 pixels resolution.

Version 0.6 brings more efficiency to the code. pls test and report back.

Version 0.5 is a full rewrite based on reading pil and a chat with celeron55. it is much more
resource friendly as it generates textures instead of relying on entities to draw the pictures.
also the licence for the mod has changed, it is now WTFPL.

Image

License: GPLv2
Dependencies: none

Download:
xyz's fork: ZIP | Project page
kaeza's fork, in case above one is removed: ZIP | Project page

Usage:
Use /giveme easel, /giveme canvas and /giveme painting:brush_[white, yellow, orange...]
place the easel and hit it while holding a canvas. the canvas will appear on the easel, ready for you to draw.
hold a brush and start drawing. when you're finished, dig the canvas, and place your picture.

http://www.youtube.com/watch?v=95nruaQaSz8 to see it in action

Bugs: if you place two pictures in one node (in a corner) you will lose the first one.

PostPosted: Fri Aug 10, 2012 08:11
by jin_xi
bumping with mushroom

Image

PostPosted: Sat Aug 25, 2012 23:17
by rubenwardy
should use paper for canvus craft
(1x1=16,2x2=32,3x3=64)

eg:

{ -- , -- , -- }
{paper,paper, -- }
{paper,paper, -- }



{plank,plank,plank}
{plank,plank,plank}
{stick , -- , stick}

for easel

PostPosted: Sun Aug 26, 2012 22:55
by SegFault22
{ -- , -- , -- }
{paper,paper, -- }
{paper,paper, -- }

No, the map mod uses this recipe. It will cause conflicts.

PostPosted: Mon Aug 27, 2012 12:14
by VanessaE
I suggest dry shrubs, in the same layout as paper above,

- - -
S S -
S S -

Or use wool.

PostPosted: Tue Aug 28, 2012 13:25
by rubenwardy
VanessaE wrote:I suggest dry shrubs, in the same layout as paper above,

- - -
S S -
S S -

Or use wool.


16 size:
- - -
- - -
S - -

32 size:
- - -
S S -
S S -

64 size:
S S S
S S S
S S S

PostPosted: Sat Sep 01, 2012 19:00
by Matsetes
Yes, it's better if all is craftable....

PostPosted: Wed Nov 28, 2012 16:51
by jin_xi
Masteses: i know, but the situation at the moment is that colored wool is in the default game, but not craftable, and painting uses colored wool to craft brushes.

PostPosted: Sat Feb 23, 2013 00:46
by Likwid H-Craft
This should be updated looks kind of cool.

PostPosted: Thu Mar 28, 2013 16:40
by sfan5-bot
[EE] No Dependencies found


Please fix these Mistakes and report this post, a moderator will delete it
If you believe I have made a Mistake contact sfan5

PostPosted: Sat Apr 06, 2013 15:26
by jin_xi
pls go on and delete what you like, bots and mods

also please note that this mod was moved to releases
without any request to do so.

PostPosted: Sat Apr 27, 2013 19:07
by Evergreen
I could add some better textures, and make them show in the creative menu.

Re: [Mod] Painting [painting] [0.8]

PostPosted: Sat Aug 16, 2014 08:43
by jin_xi
Image

some paintings. done with black crosshairs (edit minetest.conf)

Re: [Mod] Painting [painting] [0.8]

PostPosted: Sun Aug 31, 2014 21:53
by Minetestforfun
Awesome, my girlfriend like this mod ! :D
Thank you very much !

Re: [Mod] Painting [painting] [0.8]

PostPosted: Sat Mar 14, 2015 04:00
by Mihobre
OMG I REALLY MISS THIS MOD WHY CAN'T I GET IT ANYMORE WHERE DO I GET THIS OMG I HOPE IT DIDN'T GET WASTED OR SOMETHING PLS SOMEONE PLS LEND ME A COPY

Re: [Mod] Painting [painting] [0.8]

PostPosted: Tue Mar 17, 2015 17:13
by Hybrid Dog
Mihobre wrote:OMG I REALLY MISS THIS MOD WHY CAN'T I GET IT ANYMORE WHERE DO I GET THIS OMG I HOPE IT DIDN'T GET WASTED OR SOMETHING PLS SOMEONE PLS LEND ME A COPY

a similar one:
https://github.com/HybridDog/painting/a ... master.zip

Re: [Mod] Painting [painting] [0.8]

PostPosted: Tue Mar 17, 2015 17:22
by 12Me21
Mihobre wrote:OMG I REALLY MISS THIS MOD WHY CAN'T I GET IT ANYMORE WHERE DO I GET THIS OMG I HOPE IT DIDN'T GET WASTED OR SOMETHING PLS SOMEONE PLS LEND ME A COPY

I might have a (possibly outdated) copy of this mod on my old computer, IDK where it is though.
I think I found it : https://github.com/xyzz/painting

Re: [Mod] Painting [painting] [0.8]

PostPosted: Mon Jun 08, 2015 14:54
by CWz
darkgreen and darkgray brushes seem to be uncraftable

Re: [Mod] Painting [painting] [0.8]

PostPosted: Tue Jun 09, 2015 12:53
by Hybrid Dog
l could make it possible to use any colour from #000000 to #ffffff but l don't know exactly how to mix the colours:
#00f and #ff0 need to become #0f0 and not #fff

Re: [Mod] Painting [painting] [0.8]

PostPosted: Tue Jun 09, 2015 16:08
by TeTpaAka
Hybrid Dog wrote:l could make it possible to use any colour from #000000 to #ffffff but l don't know exactly how to mix the colours:
#00f and #ff0 need to become #0f0 and not #fff

That's the difference between subtractive and additive colour mixing. Try this.

Re: [Mod] Painting [painting] [0.8]

PostPosted: Tue Jun 09, 2015 17:01
by Hybrid Dog
l don't think that there's no working model.

Re: [Mod] Painting [painting] [0.8]

PostPosted: Tue Jun 09, 2015 17:14
by TeTpaAka
NewColor.R = (Color1.R * Color2.R)/255
NewColor.G = (Color1.G * Color2.G)/255
NewColor.B = (Color1.B * Color2.B)/255

Further down in the answer.

Re: [Mod] Painting [painting] [0.8]

PostPosted: Mon Jan 11, 2016 08:34
by tinkerlevu
hey I think the download link is broken... and the video is deleted

Re: [Mod] Painting [painting] [0.8]

PostPosted: Wed Mar 16, 2016 18:13
by Nathan.S
I've recently recorded a video and linked to HybridDog's version, which seems to be the most up to date, and working version. You can find them on my website here: http://nathansalapat.com/minetest/painting

Re: [Mod] Painting [0.8] [painting]

PostPosted: Thu Mar 17, 2016 01:14
by kaeza
I took the liberty to update the links in the first post.

Included only xyz's fork and a fork of xyz's fork (yo dawg!) on my account.

Didn't include HybridDog's fork because I doubt its legality (he relicensed from GPLv2 to WTFPL [essentially public domain]). IANAL, so please correct me if I'm wrong.

Cheers.

Re: [Mod] Painting [0.8] [painting]

PostPosted: Thu Mar 17, 2016 14:27
by Hybrid Dog
Nathan.S, you need to hold shift to draw a line, obviously documentation about painting is missing.

l didn't know the problem when placing a painting in a corner, it looks like there needs to be tested if there's air before setting the node, else people with noclip (or modified client) can remove every unprotected node (without or with intention, e.g. bedrock) using that craftitem.

And on_destruct instead of after_dig_node should be used at the picture node that the canvas disappears after removing the node.

kaeza wrote:[…]so please correct me if I'm wrong.

Cheers.

l didn't change the license, obneq did it and l don't know where the commit came from:
https://github.com/HybridDog/painting/c ... 71e2ab48d8
Should l revert it?

Re: [Mod] Painting [0.8] [painting]

PostPosted: Thu Mar 17, 2016 19:56
by Nathan.S
I'll have to make note of that on my site and the video description.

Re: [Mod] Painting [0.8] [painting]

PostPosted: Fri Mar 18, 2016 21:47
by Inocudom
kaeza wrote:I took the liberty to update the links in the first post.

Included only xyz's fork and a fork of xyz's fork (yo dawg!) on my account.

Didn't include HybridDog's fork because I doubt its legality (he relicensed from GPLv2 to WTFPL [essentially public domain]). IANAL, so please correct me if I'm wrong.

Cheers.

Yeah heah heah heah heah, those legalities are not to be taken lightly. In fact, reality itself is run by legalities. I'm not kidding about that.

Re: [Mod] Painting [0.8] [painting]

PostPosted: Sat Mar 19, 2016 12:55
by Nathan.S
Is there any chance the dark green and dark grey brushes could get craft recipes?

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_craft({
output = "painting:brush_darkgreen",
recipe = {
{"dye:dark_green"},
{"default:stick"},
{"default:stick"}
}
})

minetest.register_craft({
output = "painting:brush_darkgrey",
recipe = {
{"dye:dark_grey"},
{"default:stick"},
{"default:stick"}
}
})

Re: [Mod] Painting [0.8] [painting]

PostPosted: Tue Apr 05, 2016 20:05
by TenPlus1
I've gone through the code and done a tidy while adding error checking in some areas and fixing the craft recipe's for paintbrushes... Also if you dig a painting and there's no room in your inventory it drops as an item... Lastly I've removed 64x64 craft recipe as it lags too much using these and it no longer needs vector_extras dependency as it's all built in... enjoy!