[Mod] Painting [0.8] [painting]

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

[Mod] Painting [0.8] [painting]

by jin_xi » Sat Jul 28, 2012 08:02

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.
 

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

by jin_xi » Fri Aug 10, 2012 08:11

bumping with mushroom

Image
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Sat Aug 25, 2012 23:17

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

by SegFault22 » Sun Aug 26, 2012 22:55

{ -- , -- , -- }
{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
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Mon Aug 27, 2012 12:14

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 (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Tue Aug 28, 2012 13:25

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 » Sat Sep 01, 2012 19:00

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

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

by jin_xi » Wed Nov 28, 2012 16:51

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

by Likwid H-Craft » Sat Feb 23, 2013 00:46

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

User avatar
sfan5-bot
Member
 
Posts: 35
Joined: Thu Mar 28, 2013 11:19

by sfan5-bot » Thu Mar 28, 2013 16:40

[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
 

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

by jin_xi » Sat Apr 06, 2013 15:26

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: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Sat Apr 27, 2013 19:07

I could add some better textures, and make them show in the creative menu.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

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

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

by jin_xi » Sat Aug 16, 2014 08:43

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

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

by Minetestforfun » Sun Aug 31, 2014 21:53

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

User avatar
Mihobre
Member
 
Posts: 101
Joined: Tue Oct 30, 2012 08:45

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

by Mihobre » Sat Mar 14, 2015 04:00

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
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

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

by Hybrid Dog » Tue Mar 17, 2015 17:13

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: 826
Joined: Tue Mar 05, 2013 00:36

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

by 12Me21 » Tue Mar 17, 2015 17:22

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
 

CWz
Member
 
Posts: 185
Joined: Tue Dec 24, 2013 17:01

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

by CWz » Mon Jun 08, 2015 14:54

darkgreen and darkgray brushes seem to be uncraftable
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

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

by Hybrid Dog » Tue Jun 09, 2015 12:53

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
 

TeTpaAka
Member
 
Posts: 131
Joined: Sat Dec 28, 2013 21:54

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

by TeTpaAka » Tue Jun 09, 2015 16:08

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.
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

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

by Hybrid Dog » Tue Jun 09, 2015 17:01

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

TeTpaAka
Member
 
Posts: 131
Joined: Sat Dec 28, 2013 21:54

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

by TeTpaAka » Tue Jun 09, 2015 17:14

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 » Mon Jan 11, 2016 08:34

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

User avatar
Nathan.S
Member
 
Posts: 679
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

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

by Nathan.S » Wed Mar 16, 2016 18:13

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.
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

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

by kaeza » Thu Mar 17, 2016 01:14

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 | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

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

by Hybrid Dog » Thu Mar 17, 2016 14:27

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?
 

User avatar
Nathan.S
Member
 
Posts: 679
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

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

by Nathan.S » Thu Mar 17, 2016 19:56

I'll have to make note of that on my site and the video description.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website.
 

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

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

by Inocudom » Fri Mar 18, 2016 21:47

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.
 

User avatar
Nathan.S
Member
 
Posts: 679
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

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

by Nathan.S » Sat Mar 19, 2016 12:55

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

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

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

by TenPlus1 » Tue Apr 05, 2016 20:05

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!
Attachments
painting(tidy).zip
(17.12 KiB) Downloaded 62 times
 

Next

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 70 guests

cron