Colored Light

JacobF
New member
 
Posts: 5
Joined: Thu Mar 15, 2012 15:16

Colored Light

by JacobF » Thu Mar 15, 2012 15:22

I always wanted colored light in minetest so I decided to get on and code it to see how it fared.

The Good
It looks great and adds 1000x to the mood.

The Bad
3x more work for the server causing noticeable lag.
Minetest is totally made for singe color light and some situations don't work right.

Video: http://www.youtube.com/watch?v=1MWZxyCsbv4
Try it out: https://github.com/Queatz/minetest/tree/colored_light (edit: link is dead, see this)
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Thu Mar 15, 2012 15:33

Nice!
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
redcrab
Member
 
Posts: 831
Joined: Tue Dec 13, 2011 13:45

by redcrab » Thu Mar 15, 2012 15:42

... Wow very nice !
0.4 for serious builder click here
Dedicated Minetest redcrab server forum at http://minetestbb.suret.net

It's nice to be important but it is more important to be nice.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Thu Mar 15, 2012 15:57

i like it:D but i think you should make a torch mod to combine al the things your placing of that color. like add cactus to torch to make green torch
Keep calm and code python^_^
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Thu Mar 15, 2012 16:05

Tat's rather nice.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

Gatharoth
Member
 
Posts: 196
Joined: Thu Dec 22, 2011 02:54

by Gatharoth » Thu Mar 15, 2012 16:11

I like it, but I don't think all those things you placed should emit light. Lava and torch are okay because they are meant to emit light. A cactus is not.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Thu Mar 15, 2012 16:39

Gatharoth wrote:I like it, but I don't think all those things you placed should emit light. Lava and torch are okay because they are meant to emit light. A cactus is not.

I think it's just for Testing
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

Gatharoth
Member
 
Posts: 196
Joined: Thu Dec 22, 2011 02:54

by Gatharoth » Thu Mar 15, 2012 18:46

sfan5 wrote:
Gatharoth wrote:I like it, but I don't think all those things you placed should emit light. Lava and torch are okay because they are meant to emit light. A cactus is not.

I think it's just for Testing


99.99999999999999999999999999999999% sure it is, but just saying. >.<
 

JacobF
New member
 
Posts: 5
Joined: Thu Mar 15, 2012 15:16

by JacobF » Thu Mar 15, 2012 18:49

It is. ;)
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Thu Mar 15, 2012 19:26

quite nice
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

TheWesleyOne
Member
 
Posts: 15
Joined: Thu May 10, 2012 17:26

by TheWesleyOne » Thu May 10, 2012 21:08

Do you plan on updating to the latest rev.?
Yes I know the name is not proper, it sounds better this way
 

JacobF
New member
 
Posts: 5
Joined: Thu Mar 15, 2012 15:16

by JacobF » Thu May 10, 2012 22:37

Hmm seems to be so different now. I tried merging but there's a multitude of conflicts and c55 doesn't even want it so probably not unless it has some type of future.
 

TheWesleyOne
Member
 
Posts: 15
Joined: Thu May 10, 2012 17:26

by TheWesleyOne » Thu May 10, 2012 22:53

I liked it a lot, and was hoping to merge it in to mine, and use it to improve my fork
Yes I know the name is not proper, it sounds better this way
 

JacobF
New member
 
Posts: 5
Joined: Thu Mar 15, 2012 15:16

by JacobF » Fri May 11, 2012 00:08

Alright, that summons a worth. Give me a few hours and it'll be up to date.
 

TheWesleyOne
Member
 
Posts: 15
Joined: Thu May 10, 2012 17:26

by TheWesleyOne » Fri May 11, 2012 00:30

Thank you for your efforts.
Yes I know the name is not proper, it sounds better this way
 

JacobF
New member
 
Posts: 5
Joined: Thu Mar 15, 2012 15:16

by JacobF » Fri May 11, 2012 03:33

Hmm, so much has changed, I'll have to pick it up in the morning.
 

User avatar
MirceaKitsune
Member
 
Posts: 809
Joined: Sat May 21, 2011 22:31
GitHub: MirceaKitsune
IRC: Taoki
In-game: MirceaKitsune

by MirceaKitsune » Sat Dec 14, 2013 13:19

I haven't tried the code yet, but 100% approve of adding colored lights! I'm not sure if this can be done before hardware lighting via shaders is (also a must), but it would be fantastic if it could. I hope the feature will reach a state where it can be included into Minetest.
 

User avatar
xyz
Member
 
Posts: 449
Joined: Thu Nov 10, 2011 14:25

by xyz » Sun Dec 15, 2013 01:46

Here's the patch http://pastebin.com/raw.php?i=6dXnVvbB (links in the first post are dead) if anyone is interested.
 

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

by Inocudom » Wed Jan 01, 2014 21:40

I have not forgotten about colored lights, and I still feel that they can add a new sense of beauty to Minetest. Terasology has them...
 


Return to Minetest Engine

Who is online

Users browsing this forum: No registered users and 15 guests

cron