Bumi: Real-Time Day/Night & Weather

Maps, modifications, add-ons, projects, and other releases for Zandronum. Also includes announcers.
User avatar
Nash
 
Posts: 23
Joined: Sat Jan 25, 2014 8:55 am
Location: Kuala Lumpur, Malaysia
Contact:

Bumi: Real-Time Day/Night & Weather

#1

Post by Nash » Fri Oct 03, 2014 5:20 pm

Image
phpBB [video]
The [video] tag is deprecated, please use the [media] tag
phpBB [video]
The [video] tag is deprecated, please use the [media] tag
"Bumi" means earth in my native tongue (malay).

This will (hopefully) be the official thread for my real-time day/night and weather engine which I have been continuously working on and the one I talk about a lot around here.



Current features:

- Real-time day and night cycle with tinting across the entire map
- Gregorian calendar system with days, months and years
- Moon phases
- Adjustable timescale
- Sun lens flare
- Particle clouds in the sky
- Chance for overcasting, rain and thunderstorms - completely random and in real-time
- Rain drops that do not fall through ceilings
- Compatible with sector lighting - my engine does not overwrite your sector lighting work
- Minimal sector tagging required (and customizable range of tags - useful for maps with a lot of 3D floors)
- Sky lights (dynamic lights that follow the ambient colour; useful when placed indoors to simulate environmental lighting)

Upcoming features before I release version 0.9 BETA:

- Fog and haze Done!
- Seasons Done!
- Snowing during winter Done!
- Seasonal texture swap (level textures that change appearance depending on season, in real-time) Done!
- Stars in the sky Done!

ALL DONE!

Ideas for version 1.1 in future:

- Currently, weather system is linear. It goes from clear -> overcast -> rain. Thunderstorms and fog can be layered on top of these weather modes but it's kind of clunky. Future goal would be to completely overhaul the weather system so that current weather will be 1-dimensional and you can smoothly blend to and from different weather "modules" or "blocks" seamlessly and non-linearly. Idea inspired by FoxEngine devs who mentioned doing something like this
- Each weather module would have their own set of unique properties - blend colours, precipitation type, etc (PS day and night would be considered as modules as well).
- Overhaul the chance calculation because right now it's too erratic and has very biased favours (look into implementing custom random number generators).
- Externalize weather module defintions so that ACS doesn't need to be recompiled? Not sure how feasible this would be.
- Probably would eventually need an editor to generate the data needed (and if weather modules would be externalized, then DEFINITELY an editor would be needed)
- Get rid of the sun glare hack, this shit has no business being any of this hacky HudMessage nonsense... it should be a GZDoom full-screen post process shader.

Credits [incomplete for now; will update this constantly]

Randy Heit - ZDoom
Graf Zahl - GZDoom
Nash Muhandes - main developer, programmer
carlcyber -assistant programmer, technical advice and optimization

Special thanks:

Zeberpal - giving me permission to feature his map DCA2TechTest in the demonstrational video
Blzut3 - GetAspectRatio() (which was heavily modified In Bumi)
Isle, LilWhiteMouse, Gez, TheZombieKiller, DavidN, FDARI, marrub - general programming help
Gavin "Interkarma" Clayton (Daggerfall Tools for Unity) - his season code in DFTFU gave me some ideas on how to implement my own
undead003, Shane Strife, loismustdie555 - playtesting

[thread incomplete; more to come later]
Last edited by Nash on Tue Jan 19, 2016 2:20 pm, edited 1 time in total.

User avatar
Sean
IRC Operator
Posts: 983
Joined: Thu Jan 16, 2014 9:09 pm
Location: United Kingdom
Clan: Zandronum
Clan Tag: [Za]
Contact:

RE: Real-time day/night and weather engine

#2

Post by Sean » Fri Oct 03, 2014 5:26 pm

Wow. Just... wow.
Can't wait for the code to be released.
I'd love to see what's behind this.
Last edited by Sean on Fri Oct 03, 2014 5:27 pm, edited 1 time in total.
<capodecima> i dont say any more word without my loyer jenova

User avatar
agaures
Forum Regular
Posts: 591
Joined: Mon Dec 10, 2012 6:34 am
Location: New Zealand

RE: Real-time day/night and weather engine

#3

Post by agaures » Fri Oct 03, 2014 5:33 pm

Very nice work!

I have wanted to try making a weather system myself before, but have never gotten around to it.

You seem to make it sound as if it's hard to make. Although i am sure the quality you are going for also has something to do with this.
<agaures> I'm guessing you haven't played many doom mods before huh? :p
<Zuplin> i have played master of puppets zombies doom center and a couple more
<agaures> so not many
<Zuplin> i thought that was everything

User avatar
Nash
 
Posts: 23
Joined: Sat Jan 25, 2014 8:55 am
Location: Kuala Lumpur, Malaysia
Contact:

RE: Real-time day/night and weather engine

#4

Post by Nash » Fri Oct 03, 2014 5:56 pm

Hi agaures, it's not hard to make, but getting it to look right requires a little effort and might not be as straight forward as how most people would attempt to do it in ACS. :) A lot of somewhat complex (not too complex) calculations are going on in the background which can only be appreciated by reading the code... understandably, from an end-user perspective, seeing the thing run might not be too impressive. :)

User avatar
Ænima
Addicted to Zandronum
Posts: 3583
Joined: Tue Jun 05, 2012 6:12 pm

RE: Real-time day/night and weather engine

#5

Post by Ænima » Fri Oct 03, 2014 7:02 pm

inb4 we see this in everything after it's released
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

User avatar
CloudFlash
Zandrone
Posts: 1074
Joined: Mon Jun 04, 2012 5:35 pm
Location: Wonderland (except not really)

RE: Real-time day/night and weather engine

#6

Post by CloudFlash » Fri Oct 03, 2014 7:44 pm

inb4 56 GB
https://i.imgflip.com/i5tpe.jpg
*Hey, who wants to hear my solution to the modern world's problems? ^Me! %Me! @Me! #Me! *WELL TOO BAD @Did he just stab himself with this butcher knife? %Looks like it ^Hey, the pizza guy arrived! %Pizza! Yey

User avatar
NachtIntellect
Forum Regular
Posts: 480
Joined: Mon Jun 11, 2012 9:20 am
Location: Bienenstock, Germany

RE: Real-time day/night and weather engine

#7

Post by NachtIntellect » Fri Oct 03, 2014 8:17 pm

Does anyone remember where I put my seal of approval? I approve of this.
Did you just bite me? Come here, I will bite you back bastard.

User avatar
Nash
 
Posts: 23
Joined: Sat Jan 25, 2014 8:55 am
Location: Kuala Lumpur, Malaysia
Contact:

RE: Real-time day/night and weather engine

#8

Post by Nash » Fri Oct 03, 2014 9:05 pm

Thanks dudes! :D

CloudFlash: it's not large at all, it's only like 1.5 MB, most of that space coming from the cloud sprites (they're huge images). :D

User avatar
mr fiat
Frequent Poster Miles card holder
Posts: 858
Joined: Tue Jun 05, 2012 3:28 pm
Location: netherlands

RE: Real-time day/night and weather engine

#9

Post by mr fiat » Fri Oct 03, 2014 10:50 pm

truly impressive, i couldnt imagine something like this being done on this engine.

User avatar
MrSetharoo
Forum Regular
Posts: 330
Joined: Wed Oct 24, 2012 4:27 pm
Location: Florida

RE: Real-time day/night and weather engine

#10

Post by MrSetharoo » Fri Oct 03, 2014 11:29 pm

Spoiler: fuck yeah (Open)
Image

User avatar
-Jes-
Frequent Poster Miles card holder
Posts: 975
Joined: Fri Aug 03, 2012 9:55 am
Location: Void Zone

RE: Real-time day/night and weather engine

#11

Post by -Jes- » Sun Oct 05, 2014 12:38 am

Holy Fucking SHIT!

Kara Kurt
Frequent Poster Miles card holder
Posts: 887
Joined: Sat Oct 12, 2013 6:58 pm
Location: Strasbourg, France
Contact:

RE: Real-time day/night and weather engine

#12

Post by Kara Kurt » Sun Oct 05, 2014 4:07 am

Does the sun cast shadow?

Anyway, that's impressive. Nice job for (trying to) bringing a real gta-like openworld mod!

User avatar
Nash
 
Posts: 23
Joined: Sat Jan 25, 2014 8:55 am
Location: Kuala Lumpur, Malaysia
Contact:

RE: Real-time day/night and weather engine

#13

Post by Nash » Sun Oct 05, 2014 6:21 am

Kara Kurt: the sun doesn't cast shadows for now... but Graf Zahl was talking about possibly adding support for fully programmable hardware shaders for the new OpenGL renderer for GZDoom. If it becomes a reality, then I will definitely look into adding real-time shadow maps for the entire world.

User avatar
Espio
Forum Regular
Posts: 370
Joined: Sat Jun 02, 2012 8:28 pm
Location: OldWorldBlues.esm

RE: Real-time day/night and weather engine

#14

Post by Espio » Sun Oct 05, 2014 7:10 am

Highly impressive. Can't wait to see what it'll be used for.
Image
https://youtu.be/qbgpcemxVPA?t=8s "Get the fuck up."
https://www.mediafire.com/?kb7sf1nizgwvqsr My custom music wad for Doom I & II - 166 MEG WARNING

<Dark-Slayer>CorpseGr1nder, get a job
<Konar6>blow*

(09:58:54)<BlueCool>think of all the stuff i couldve done in thoes 5 second
(09:59:05)<BlueCool>1. bake cookies
(09:59:16)<BlueCool>2. eat cookies

Strifer
Banned
Posts: 4
Joined: Sat Oct 04, 2014 11:02 pm
Location: United States
Banned: Permanently

RE: Real-time day/night and weather engine

#15

Post by Strifer » Sun Oct 05, 2014 7:55 am

Espio wrote: Highly impressive. Can't wait to see what it'll be used for.
I would say a lot of stuff

User avatar
IdeIdoom
Zandrone
Posts: 1112
Joined: Mon Jun 04, 2012 6:19 am
Location: Meldola, Italy
Contact:

RE: Real-time day/night and weather engine

#16

Post by IdeIdoom » Sun Oct 05, 2014 9:53 am

Espio wrote: Highly impressive. Can't wait to see what it'll be used for.
Guardsoul maps.
THE ROMANIAN POWERImage

Code: Select all

<+Dastan>	edd
<+Dastan>	boxxy skin when
<+Shift>	dastan you really want to fap at it this much and now you are going crazy and shredding your hair into a million tiny pieces for this boxxy skin to come out that way you can cum out
<+Dastan>	Shift, yes
--------------------------------------------------------------------
21:53:26  <@Estar>	well, if i'd be a girl, i would say ideidoom has ok looks

Kokiri
 
Posts: 93
Joined: Mon Jan 20, 2014 1:17 pm
Location: England

RE: Real-time day/night and weather engine

#17

Post by Kokiri » Sun Oct 05, 2014 11:27 am

[spoiler]Image[/spoiler]
<Siferah>Everyone is banned from #vgl because Ten did like
<Siferah>!flags *!*@* +b
- Hissy set mode: +b *!*@*
- Dastan left (Kicked by Hissy with the following reason: User is banned from this channel)
- Galactus left (Kicked by Hissy with the following reason: User is banned from this channel)
- ChanServ: Siferah (AlienOverlord) set flags +b on *!*@*.
<Siferah>fuc

Kara Kurt
Frequent Poster Miles card holder
Posts: 887
Joined: Sat Oct 12, 2013 6:58 pm
Location: Strasbourg, France
Contact:

RE: Real-time day/night and weather engine

#18

Post by Kara Kurt » Fri Oct 10, 2014 9:42 pm

Nash wrote: If it becomes a reality, then I will definitely look into adding real-time shadow maps for the entire world.
That'd be nice !!!

Shoggy
 
Posts: 65
Joined: Tue Jun 05, 2012 11:42 pm
Location: Tokyo, JPN
Contact:

RE: Real-time day/night and weather engine

#19

Post by Shoggy » Sun Oct 12, 2014 3:03 pm

Will this wad be able to be applied to any wad or will it be applied to wads that is build with this resource?

User avatar
IdeIdoom
Zandrone
Posts: 1112
Joined: Mon Jun 04, 2012 6:19 am
Location: Meldola, Italy
Contact:

RE: Real-time day/night and weather engine

#20

Post by IdeIdoom » Sun Oct 12, 2014 3:17 pm

Shoggy wrote: Will this wad be able to be applied to any wad or will it be applied to wads that is build with this resource?
It's not a wad but a feature in the GZdoom feature in which you can use ACS to create such lighting.
Last edited by IdeIdoom on Sun Oct 12, 2014 3:17 pm, edited 1 time in total.
THE ROMANIAN POWERImage

Code: Select all

<+Dastan>	edd
<+Dastan>	boxxy skin when
<+Shift>	dastan you really want to fap at it this much and now you are going crazy and shredding your hair into a million tiny pieces for this boxxy skin to come out that way you can cum out
<+Dastan>	Shift, yes
--------------------------------------------------------------------
21:53:26  <@Estar>	well, if i'd be a girl, i would say ideidoom has ok looks

Post Reply