[0.4.10] Textureable sun and moon.

User avatar
RealBadAngel
Member
 
Posts: 556
Joined: Wed Jul 18, 2012 16:30

[0.4.10] Textureable sun and moon.

by RealBadAngel » Tue Apr 22, 2014 12:27

To use textures for sun and moon put sun.png and moon.png in your texture pack folder.
If you want them to be aviable for all the texture packs (including default), you can put them in /textures/pack/base/
If you want textures to be tinted, tonemaps have to be provided (512x1 px) named sun_tonemap.png and moon_tonemap.png
Sample tonemaps added as attachments.
Enjoy :)
Attachments
moon_tonemap.png
moon_tonemap.png (220 Bytes) Viewed 2373 times
sun_tonemap.png
sun_tonemap.png (209 Bytes) Viewed 2372 times
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [0.4.10] Textureable sun and moon.

by paramat » Tue Apr 22, 2014 13:36

Thanks for this, along with the custon skybox i now have all i need to complete my space mods.
I assume we could use a transparent texture to disable the sun or moon?
 

twoelk
Member
 
Posts: 1092
Joined: Fri Apr 19, 2013 16:19

Re: [0.4.10] Textureable sun and moon.

by twoelk » Tue Apr 22, 2014 13:51

I have added three of your lines to the wiki

Now I have to find out how my moon station can circle a gas giant
 

User avatar
RealBadAngel
Member
 
Posts: 556
Joined: Wed Jul 18, 2012 16:30

Re: [0.4.10] Textureable sun and moon.

by RealBadAngel » Tue Apr 22, 2014 14:35

paramat wrote:Thanks for this, along with the custon skybox i now have all i need to complete my space mods.
I assume we could use a transparent texture to disable the sun or moon?

ofc you can use transparent ones
 

User avatar
veriaqa
Member
 
Posts: 53
Joined: Tue Nov 19, 2013 13:38

Re: [0.4.10] Textureable sun and moon.

by veriaqa » Fri Apr 25, 2014 00:00

Nice...
 

User avatar
RealBadAngel
Member
 
Posts: 556
Joined: Wed Jul 18, 2012 16:30

Re: [0.4.10] Textureable sun and moon.

by RealBadAngel » Fri Apr 25, 2014 14:01

twoelk wrote:I have added three of your lines to the wiki

Now I have to find out how my moon station can circle a gas giant


For that i suppose setting the size of sun/moon is needed. ATM it has fixed size.

And heres some video with the feature:
https://www.youtube.com/watch?v=hubBBzh_190
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: [0.4.10] Textureable sun and moon.

by philipbenr » Sat Jul 12, 2014 01:35

sorry to bump, but is there a way to make this feature customizable in games? I want to change the sun and moon feature in my game, but not touch anything else.
 

User avatar
afflatus
Member
 
Posts: 302
Joined: Tue Apr 01, 2014 19:47
GitHub: 0-afflatus
IRC: afflatus
In-game: afflatus

Re: [0.4.10] Textureable sun and moon.

by afflatus » Wed Aug 06, 2014 10:50

Great stuff!
What location should I use to change the default images for a specific game?
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: [0.4.10] Textureable sun and moon.

by Calinou » Wed Aug 06, 2014 16:38

afflatus wrote:Great stuff!
What location should I use to change the default images for a specific game?


This doesn't seem to be possible, currently, only texture packs may change it.
 

twoelk
Member
 
Posts: 1092
Joined: Fri Apr 19, 2013 16:19

Re: [0.4.10] Textureable sun and moon.

by twoelk » Sun Aug 10, 2014 09:33

Want to be on a moon circling Saturn?

Just put the file called moon.png into the textures/base/pack folder of your minetest version and enjoy Saturn travelling across your sky. This will change the default moon to an image of Saturn.

Sadly, as of version 0.4.10, the moon image seems to be displayed at a fixed size within Minetest. So until this may change in the future the orb of Saturn appears to be a little smaller than the default moon due to space needed to include the rings.

See the included info.txt for more information.
Attachments
Saturn_as_moon.zip
(25.72 KiB) Downloaded 195 times
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

Re: [0.4.10] Textureable sun and moon.

by Sokomine » Sun Aug 10, 2014 14:26

twoelk wrote:Want to be on a moon circling Saturn?

Very nice idea! Reminds me of a film where Saturn (or another planet with rings) appeared prominently at the end. Now the night is a lot nicer.
A list of my mods can be found here.
 

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

Re: [0.4.10] Textureable sun and moon.

by Inocudom » Sun Aug 10, 2014 15:38

Ahh, Saturn, Saturn... By far the most revered and worshiped planet in the solar system... Many corporations use symbols that relate to it... Said to have once been our primary star in a purple epoch of great antiquity... It is also known as Kronus, and thus is known as Father Time... The true name of Rome is Saturnia... The cube is the shape that represents it the best, thus it is quite at home in Minecraft, and thus in Minetest...
 

Moonsand
New member
 
Posts: 1
Joined: Fri Jul 05, 2013 04:46

Re: [0.4.10] Textureable sun and moon.

by Moonsand » Sun Aug 24, 2014 03:42

Its really nice to be able to use textures for sun and moon now. Good work! Would be awesome if they were resizeable too tho.

Sokomine wrote:Reminds me of a film where Saturn (or another planet with rings) appeared prominently at the end.

Probably 'the quite earth', great movie. ^^
 

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

Re: [0.4.10] Textureable sun and moon.

by Inocudom » Sun Aug 24, 2014 13:24

Moonsand wrote:Its really nice to be able to use textures for sun and moon now. Good work! Would be awesome if they were resizeable too tho.

Sokomine wrote:Reminds me of a film where Saturn (or another planet with rings) appeared prominently at the end.

Probably 'the quite earth', great movie. ^^

There is a reason why Saturn is used in corporate logos far more often than the other planets, and it is not just due to the fact that it is beautiful. Saturn is associated not only with silence, but also with restrictions, rules, corporations, and even judgement (which is why judges wear black robes.)

What about Jupiter, Uranus, and Neptune as moon textures as well? I especially prefer Uranus, as that poor planet gets very little attention.

Again, great work RealBadAngel. Time and time again, you prove to be one of the finest developers of Minetest.
 

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

Re: [0.4.10] Textureable sun and moon.

by Jordach » Sun Aug 24, 2014 22:39

Inocudom wrote:Again, great work RealBadAngel. Time and time again, you prove to be one of the finest developers of Minetest.
Oh dear god you've not seen the infinite bitching from the other devs he gets.

tl;dr he makes something new breaks something unrelated, his commit gets reverted so it never happened.

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



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

twoelk
Member
 
Posts: 1092
Joined: Fri Apr 19, 2013 16:19

Re: [0.4.10] Textureable sun and moon.

by twoelk » Mon Aug 25, 2014 10:49

Jordach wrote:...
Oh dear god you've not seen the infinite bitching from the other devs he gets.
...

haha and the bitching from a guy known as Jordach. Just thinking of the recent "conversations" about the looks of lava.

but to be honest I think he "fixes" more than he breaks. Most people trying to work on the "look and feel" of Minetest get a good beating now and then, especially from some core devs who consider other things more important. I am not saying they are always wrong but I think he does quite often get accused of more than he is responsible for. What I do appreciate about RBA though is that he seems to be more aware of things outside of the Minetest-core code than others, such as that Minetest is using only a fraction of what could be possible with Irrlicht.

To keep praise in proportion I do believe there are other contributions worthy of more praise than this -
- but I must admit I really enjoy seeing Saturn or other stuff I experimented with traverse the Minetest sky. I do hope of course that this feature gets more options.

Possible future configuration could include (my wishlist ;-P)
  • Size of object in the sky
  • Keeping the descriptive original file name
  • setting of a rising time

  • More than one object (satellites and natural satellites)
  • setting offset from default path for each satelite (parallel paths)

  • making the orbit time of each satellite independant from the star background (making eclipses possible)
  • making individual orbit paths independant from the default star background direction (east to west)
 

User avatar
ExeterDad
Member
 
Posts: 1121
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad

Re: [0.4.10] Textureable sun and moon.

by ExeterDad » Mon Aug 25, 2014 11:32

Jordach wrote:Oh dear god you've not seen the infinite bitching from the other devs he gets.

LOL! Oh I see the logs. Like a gaggle of Old Ladies.
I gotta stand in RBA's corner. Some pretty exciting stuff he's working on. Actually you all are doing great work. Tis a shame a good portion of you dev's are so damn head strong though :)
٩(̾●̮̮̃̾•̃̾)۶

Kibbie and I have a beautiful public server now! HOMETOWN
 

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

Re: [0.4.10] Textureable sun and moon.

by Jordach » Mon Aug 25, 2014 14:19

twoelk wrote:
Jordach wrote:...
Oh dear god you've not seen the infinite bitching from the other devs he gets.
...

haha and the bitching from a guy known as Jordach. Just thinking of the recent "conversations" about the looks of lava.

That lava and water at first DID NOT use a dynamically generated cloud for bumpmappingm so it looked horrible.

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



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

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

Re: [0.4.10] Textureable sun and moon.

by Sokomine » Mon Aug 25, 2014 20:39

twoelk wrote:but I must admit I really enjoy seeing Saturn or other stuff I experimented with traverse the Minetest sky.

Oh yes. It looks very nice. Wish we could really travel that well and come that close to the outer planets (except with probes).
A list of my mods can be found here.
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

Re: [0.4.10] Textureable sun and moon.

by 4aiman » Mon Aug 31, 2015 12:25

Hello there!

Sorry for necroposting, but I don't really want to create a new thread.


The question is: is there a way to change the moon/sun image at run-time?

I don't really care if there's only one moon/sun image for everyone or I should change those manually for every player online.

Does the set_sky do it's job?
 


Return to Minetest News

Who is online

Users browsing this forum: No registered users and 8 guests

cron