[Mod] Painting [0.8] [painting]

User avatar
jin_xi
Member
Posts: 165
Joined: Mon Jul 02, 2012 18:19

[Mod] Painting [0.8] [painting]

by jin_xi » Post

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.
Last edited by jin_xi on Mon Dec 23, 2013 17:30, edited 1 time in total.

User avatar
jin_xi
Member
Posts: 165
Joined: Mon Jul 02, 2012 18:19

by jin_xi » Post

bumping with mushroom

Image

User avatar
rubenwardy
Moderator
Posts: 6106
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

by rubenwardy » Post

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
Last edited by rubenwardy on Sat Aug 25, 2012 23:29, edited 1 time in total.

User avatar
SegFault22
Member
Posts: 870
Joined: Mon May 21, 2012 03:17
Location: NaN

by SegFault22 » Post

{ -- , -- , -- }
{paper,paper, -- }
{paper,paper, -- }
No, the map mod uses this recipe. It will cause conflicts.
Resources are abundant; only money is scarce. People should not have to work hard and remain poor just to pay for the needs of survival.
Society can thrive without money - but only if productive members of society are rewarded for being productive.

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

by VanessaE » Post

I suggest dry shrubs, in the same layout as paper above,

- - -
S S -
S S -

Or use wool.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
rubenwardy
Moderator
Posts: 6106
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

by rubenwardy » Post

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

Matsetes

by Matsetes » Post

Yes, it's better if all is craftable....

User avatar
jin_xi
Member
Posts: 165
Joined: Mon Jul 02, 2012 18:19

by jin_xi » Post

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.

User avatar
Likwid H-Craft
Member
Posts: 1113
Joined: Sun Jan 06, 2013 14:20
Location: Lost in Crypt

by Likwid H-Craft » Post

This should be updated looks kind of cool.
My Domain's/others:
http://likwidtest.hj.cx/ (Not Done)

User avatar
jin_xi
Member
Posts: 165
Joined: Mon Jul 02, 2012 18:19

by jin_xi » Post

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.
Last edited by jin_xi on Sat Apr 06, 2013 15:27, edited 1 time in total.

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

I could add some better textures, and make them show in the creative menu.
Back from the dead!

User avatar
jin_xi
Member
Posts: 165
Joined: Mon Jul 02, 2012 18:19

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

by jin_xi » Post

Image

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

User avatar
Minetestforfun
Member
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun
Location: On earth
Contact:

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

by Minetestforfun » Post

Awesome, my girlfriend like this mod ! :D
Thank you very much !

User avatar
Mihobre
Member
Posts: 101
Joined: Tue Oct 30, 2012 08:45
Location: In your mouth

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

by Mihobre » Post

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

User avatar
Hybrid Dog
Member
Posts: 2748
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

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

by Hybrid Dog » Post

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

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
12Me21
Member
Posts: 873
Joined: Tue Mar 05, 2013 00:36
GitHub: 12Me21
Location: (Ignore all of my posts before 2018)

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

by 12Me21 » Post

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

User avatar
CWz
Member
Posts: 197
Joined: Tue Dec 24, 2013 17:01
GitHub: chaoswormz
IRC: CWz
In-game: CWz
Location: Banana Land

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

by CWz » Post

darkgreen and darkgray brushes seem to be uncraftable

User avatar
Hybrid Dog
Member
Posts: 2748
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

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

by Hybrid Dog » Post

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

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
TeTpaAka
Member
Posts: 141
Joined: Sat Dec 28, 2013 21:54

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

by TeTpaAka » Post

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.

User avatar
Hybrid Dog
Member
Posts: 2748
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

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

by Hybrid Dog » Post

l don't think that there's no working model.

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
TeTpaAka
Member
Posts: 141
Joined: Sat Dec 28, 2013 21:54

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

by TeTpaAka » Post

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.

tinkerlevu
Member
Posts: 15
Joined: Tue Sep 08, 2015 21:59

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

by tinkerlevu » Post

hey I think the download link is broken... and the video is deleted

User avatar
Nathan.S
Member
Posts: 991
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

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

by Nathan.S » Post

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
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

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] Painting [0.8] [painting]

by kaeza » Post

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.
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
Hybrid Dog
Member
Posts: 2748
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

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

by Hybrid Dog » Post

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?

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

Post Reply

Who is online

Users browsing this forum: cuthbertdoublebarrel and 8 guests