Forgotten Hope Public Forum

Forgotten Hope 2 => Suggestions => Topic started by: Torenico on 22-06-2010, 04:06:26

Title: We Need this. Dynamic Sky
Post by: Torenico on 22-06-2010, 04:06:26
Seriusly, if this is true, who said bf2 engine sucks!, bf2 engine sucks you now. Er.

Okay, so i logged on Youtube after, a long time and i found this, video. I dunno, i cant believe my eyes, damn!, i mean. Jesus!

http://www.youtube.com/watch?v=alH-6JoCzII

I Mean, seriusly? Dynamic Sky, Day n' Night? and with PERFECT Lightnings! no bugs visible, OMG!

Something tells me its not True, the shadows and stuff looks like if they were taken from Google Earth, who knows.

Maybe not usefull for All maps but, maybe for a battle that was fought for weeks or something, could add some realism. problem is, what do you with Night? Unless you find a way to turn Lights on as soon as is Night then i doubt it will work well in FH2, PR is other Thing, NV Goggles, there. But, worth a try in FH2!

Can we haz, plox?
Title: Re: We Need this. Dynamic Sky
Post by: Alakazou on 22-06-2010, 04:06:37
Woah it will be a nice feature, but like you said, not for all map.
Title: Re: We Need this. Dynamic Sky
Post by: Eat Uranium on 22-06-2010, 04:06:20
I saw this a couple of days ago, and my instant thought was to ask why there are no statics visible in the video.  This suggests to me that this would be incompatible with the lightmap of a map, and would only effect the dynamic shadows belonging to game play objects.

Still, even as it stands, its a pretty neat piece of codeing from the guy who will one day (hopefully) provide us with working PIAT sights.
Title: Re: We Need this. Dynamic Sky
Post by: Wilhelm on 22-06-2010, 04:06:03
His coding work is truly amazing, but who knows if those kinds of features would work in an actual online game with other players.  Things like that could either cause crippling lag or just plain not work....among other things.

Title: Re: We Need this. Dynamic Sky
Post by: Excavus on 22-06-2010, 04:06:39
This would not work. Period. Static shadows would not change with the sun, only dynamic shadows on players and vehicles. Also, I'm sure you can get a [R-DEV]Mosquill's help for working PIAT sights.
Title: Re: We Need this. Dynamic Sky
Post by: Cory the Otter on 22-06-2010, 05:06:57
I would like this as well, but I have two concerns:

I'm afraid of massive shader bugs

The sun moving that quickly looks too unrealistic, I would suggest making it real time or closer to real-time, but that's just me

Title: Re: We Need this. Dynamic Sky
Post by: Flyboy1942 on 22-06-2010, 06:06:10
I think the only way a real time sun would work is during dusk/dawn operations. Otherwise theres no point really.

Too bad it seems like you cant do this with statics involved... :(
Title: Re: We Need this. Dynamic Sky
Post by: Torenico on 22-06-2010, 06:06:00
We'll have to wait Lads.


Mosquill
4 Days Ago
@gnansink I have a few ideas how to make it work with lightmaps.


Ah, too bad he only said "lol" and, he should have written a nice description of what is that, Bugs, how does it works and what is PR :)

We have to wait. remember.
Title: Re: We Need this. Dynamic Sky
Post by: Natty on 22-06-2010, 08:06:31
Only way to make it would be to have all the statics as bundledmeshes, which casts dynamic shadows.
Fun to code perhaps and to look at on youtube, but not for adding as feature to a BF2 mod.
Title: Re: We Need this. Dynamic Sky
Post by: Raziel on 22-06-2010, 09:06:36
The sun moving that quickly looks too unrealistic, I would suggest making it real time or closer to real-time, but that's just me

Warrior I'm sure that the video is accelerated...watch the smoke coming out of the oil rig.
Title: Re: We Need this. Dynamic Sky
Post by: Neighbor Kid on 22-06-2010, 09:06:24
this would be sick.
Title: Re: We Need this. Dynamic Sky
Post by: Paavopesusieni on 22-06-2010, 09:06:25
That Mosquill guy seems to be really familiar with BF2 engine ;D. Really nice but I don't think that it works with statics lightmaps.

Just make one awesome huge 8 km map that has only desert and mountains and lots of tanks. 1km view distance and time of day. No statics of course, maybe few tents at main. This all with time of day. Damn if I only had time for mapping.
Title: Re: We Need this. Dynamic Sky
Post by: General_Henry on 22-06-2010, 12:06:49
That Mosquill guy seems to be really familiar with BF2 engine ;D. Really nice but I don't think that it works with statics lightmaps.

Just make one awesome huge 8 km map that has only desert and mountains and lots of tanks. 1km view distance and time of day. No statics of course, maybe few tents at main. This all with time of day. Damn if I only had time for mapping.

A grand assault on Kidney Ridge!
Title: Re: We Need this. Dynamic Sky
Post by: Excavus on 22-06-2010, 12:06:19
PR = Project Reality just so you guys know. He's a PR dev.
Title: Re: We Need this. Dynamic Sky
Post by: Flyboy1942 on 22-06-2010, 16:06:50
Oh I though he was someone from the Public Relations department... :/
Title: Re: We Need this. Dynamic Sky
Post by: Tedacious on 22-06-2010, 17:06:06
The sun moving that quickly looks too unrealistic, I would suggest making it real time or closer to real-time, but that's just me
pfft, just look at the movements by the player. How the gun/hands moves up and down. clearly shows that it is sped up a lot.
Title: Re: We Need this. Dynamic Sky
Post by: [A9]Bard on 22-06-2010, 19:06:02
Would be nice bcuz it would show the length of a battle as in WWII. Or atleast give that feeling to it.
Now the feeling is like oh the allies/axis won this battle in few hours and we know that most of the missions/battles took far longer.

Well cool anyways.
Title: Re: We Need this. Dynamic Sky
Post by: Aggroman on 22-06-2010, 19:06:04
You will never see something like that in any bf2 mod, never!
It just won't work with correct lightmaps.
Title: Re: We Need this. Dynamic Sky
Post by: sn00x on 22-06-2010, 22:06:50
unless someone recodes the whole shebang
Title: Re: We Need this. Dynamic Sky
Post by: Paasky on 22-06-2010, 23:06:09
unless someone recodes the whole shebang

Answer:
You will never see something like that in any bf2 mod, never!
Title: Re: We Need this. Dynamic Sky
Post by: MaJ.P.Bouras on 22-06-2010, 23:06:16
And we just got an unending circle of answer to answer...
Title: Re: We Need this. Dynamic Sky
Post by: Cory the Otter on 23-06-2010, 02:06:09
The sun moving that quickly looks too unrealistic, I would suggest making it real time or closer to real-time, but that's just me
pfft, just look at the movements by the player. How the gun/hands moves up and down. clearly shows that it is sped up a lot.

Yes, I saw this, but I think even at normal speed, the movement of the sun would be too noticeable, I think.
Really all I think this would be good for would be tournament-play maps with hours-long rounds and such.
Title: Re: We Need this. Dynamic Sky
Post by: hslan.Corvax on 23-06-2010, 17:06:16
Only way to make it would be to have all the statics as bundledmeshes, which casts dynamic shadows.
Fun to code perhaps and to look at on youtube, but not for adding as feature to a BF2 mod.

Why not ? As already suggested, it could be used at some awesome dusk/dawn maps, where you see the sun going down as the battle rages. 50 minutes of round time would be plenty of time to have it even in real time. Just imagine, sun is going down behind a hillside, casting long shadows of the trees. The further it gets down the more it blinds the people assaulting the hillside, and then, when its behind it and darkness rises, only tracers and explosions would light the assault ..


Aaaaah that would be so awesome
Title: Re: We Need this. Dynamic Sky
Post by: Aggroman on 23-06-2010, 18:06:40
Re-exporting all statics as bundles would already take ages, and that will probably hit the the performance as well (bundles need own textures afaik).
Title: Re: We Need this. Dynamic Sky
Post by: th_battleaxe on 23-06-2010, 18:06:55
The sun moving that quickly looks too unrealistic, I would suggest making it real time or closer to real-time, but that's just me

Warrior I'm sure that the video is accelerated...watch the smoke coming out of the oil rig.
and the guy's frantic breahting...
Title: Re: We Need this. Dynamic Sky
Post by: Cory the Otter on 24-06-2010, 01:06:50
The sun moving that quickly looks too unrealistic, I would suggest making it real time or closer to real-time, but that's just me

Warrior I'm sure that the video is accelerated...watch the smoke coming out of the oil rig.
and the guy's frantic breahting...

The sun moving that quickly looks too unrealistic, I would suggest making it real time or closer to real-time, but that's just me
pfft, just look at the movements by the player. How the gun/hands moves up and down. clearly shows that it is sped up a lot.

Yes, I saw this, but I think even at normal speed, the movement of the sun would be too noticeable, I think.
Really all I think this would be good for would be tournament-play maps with hours-long rounds and such.
Title: Re: We Need this. Dynamic Sky
Post by: Flyboy1942 on 24-06-2010, 01:06:31
The sun moving that quickly looks too unrealistic, I would suggest making it real time or closer to real-time, but that's just me

Warrior I'm sure that the video is accelerated...watch the smoke coming out of the oil rig.
and the guy's frantic breahting...

The sun moving that quickly looks too unrealistic, I would suggest making it real time or closer to real-time, but that's just me
pfft, just look at the movements by the player. How the gun/hands moves up and down. clearly shows that it is sped up a lot.

Yes, I saw this, but I think even at normal speed, the movement of the sun would be too noticeable, I think.
Really all I think this would be good for would be tournament-play maps with hours-long rounds and such.

^I shall call it twinpeaks...

Even if this were possible with all the statics working etc, I dont think I'd really care to see it in game when battles last at most a couple hours. If someone wanted to make an epic open world RPG using the BF2 engine though...
Title: Re: We Need this. Dynamic Sky
Post by: Paasky on 24-06-2010, 02:06:11
Only way to make it would be to have all the statics as bundledmeshes, which casts dynamic shadows.
Fun to code perhaps and to look at on youtube, but not for adding as feature to a BF2 mod.

Why not ?

Lightmapping (aka creating shadows for all the statics) takes anywhere from 6 hours to 2 days on a detailed map like FH2 maps. You want to do that in real time, with the light source moving? Good luck.
Title: Re: We Need this. Dynamic Sky
Post by: HappyFunBall on 24-06-2010, 20:06:22
What about on a purely naval map? (Which will probably never come to be cause naval warfare has its own set of obstacles.) However, there would be few or no statics at all in such a map.
Title: Re: We Need this. Dynamic Sky
Post by: sn00x on 24-06-2010, 20:06:52
or air map.. atleast i wouldnt care about the shadows of some hangar.. the action is in the air!
Title: Re: We Need this. Dynamic Sky
Post by: General_Henry on 25-06-2010, 02:06:21
What about on a purely naval map? (Which will probably never come to be cause naval warfare has its own set of obstacles.) However, there would be few or no statics at all in such a map.

Good suggestion! you can't really find statics perhaps except some random trees on a random pacific "island". And if it is purely naval I guess we don't need to go so detailed into fishes and corals? (sharks awww)


btw, I have watched his video of changeable sights, I think it could enhance tanks a lot,

for example, we could have changeable tank sights, or a binoculars view/zoomed view. This would not really make tanks overpower as it just give players with poorer monitors/eyesight an easier time playing. Oh, and does this means that we could have multiple vehicle speed also?
Title: Re: We Need this. Dynamic Sky
Post by: Cory the Otter on 25-06-2010, 03:06:51
or air map.. atleast i wouldnt care about the shadows of some hangar.. the action is in the air!

This.
Title: Re: We Need this. Dynamic Sky
Post by: MaJ.P.Bouras on 25-06-2010, 03:06:43
Then if it could be used at BoB 24/7 with enough tickets to last 7-8 hours/game....Hmmm Sounds nice...
Title: Re: We Need this. Dynamic Sky
Post by: Kev4000 on 25-06-2010, 05:06:32
yep, only possible on relatively flat maps with next to no statics or overgrowth.

Theoretically you can export the statics as bundledmeshes (same as vehicles) so that they cast dynamic shadows. However, it is not possible for maps with more then 10 different statics as it requires firstly too much work and secondly would be bad on performance.

If we ever make a battle of the atlantic style map, could look into it. Or a desert map with next to no statics.
Title: Re: We Need this. Dynamic Sky
Post by: Matthew_Baker on 25-06-2010, 08:06:21
You guys should really read the actual thread that was posted on the PR forums http://www.realitymod.com/forum/f10-pr-bf2-general-discussion/82680-dynamic-sky.html (http://www.realitymod.com/forum/f10-pr-bf2-general-discussion/82680-dynamic-sky.html)
it has alota useful information...

A quote from Mosquill himself:

"Ok, first of all, this is WIP, so keep that in mind. Secondly, it IS bf2. Thirdly, dynamic sky's main purpose is to serve as a base for the weather system I'll be working on, day/night cycle is just a bonus ability.

I've already thought about the lightmaps issue months ago, and I have a few workarounds in mind. One of them is to only have ambient occlusion on the lightmaps without shadows from the sun, the sun shadows will be rendered via dynamic shadows. The dynamic shadows draw distance can be increased to 400m (50m currently), and its resolution can also be increased. With this method you'll have both lightmaps and working sun shadows on statics.

Also, like some people have already mentioned, lightmaps won't be a problem if the sky only changes for just a few hours. Which btw, is what i intended it to be like anyway."


He also went on to say that the impact on preformance was about 0....

IMO it would be a wonderful feature... something the devs could def look into for certain maps (dawn/dusk types) when they have the time... I'm sure it's not #1 on their priority list right now, but it could be a great feature.
Title: Re: We Need this. Dynamic Sky
Post by: Matthew_Baker on 25-06-2010, 08:06:20
Sorry for the double post... but also, if you check out his youtube channel, he's worked out alota other great things for BF2; double animations, 3D huds, thermal imaging, 2 different ways of sighting the same weapon... The man def. knows his way around this game.
http://www.youtube.com/user/Mosquill#p/u/1/ELkeoI-MyAg (http://www.youtube.com/user/Mosquill#p/u/1/ELkeoI-MyAg)


 
Title: Re: We Need this. Dynamic Sky
Post by: Paavopesusieni on 25-06-2010, 09:06:49
Those videos have been posted already.

And we all hope to see working Piat sights and undeploy animations on bayonets.
Title: Re: We Need this. Dynamic Sky
Post by: Matthew_Baker on 25-06-2010, 19:06:27
... and undeploy animations on bayonets.

on everything
Title: Re: We Need this. Dynamic Sky
Post by: Wilhelm on 25-06-2010, 21:06:49
Most of those other videos are of the BF2142 engine, not BF2
Title: Re: We Need this. Dynamic Sky
Post by: Matthew_Baker on 26-06-2010, 23:06:35
Most of those other videos are of the BF2142 engine, not BF2

Thermal imaging, backup sights, double animations is all for bf2
Title: Re: We Need this. Dynamic Sky
Post by: Safe-Keeper on 01-07-2010, 20:07:17
I read the OP and the first few posts and thought "Mosquill".
And sure enough...  ;D

This is awesome, though knowing Mosquill's track record I worry there's going to be some catch that makes it useless :( . I hope to be proven wrong.

As for the criticism... obviously we're not going to have maps lasting 24+ hours, but they do sometimes last half an hour or more, and making it so that a map for example starts dark and then grows gradually brighter would be awesome. For example an assault map where attackers should make the most of the cover of darkness and advance quickly, because towards the end of the round, things will be bright enough for the other team to see them easily.

Quote
The sun moving that quickly looks too unrealistic, I would suggest making it real time or closer to real-time, but that's just me
Yeah, 'cause he obviously intends for the end product to be like that. Days lasting ten seconds would fit Project Reality so well.
Title: Re: We Need this. Dynamic Sky
Post by: MaJ.P.Bouras on 02-07-2010, 14:07:05
For project reality that would be awesome.For FH2 we need 1000+ tickets for this to work right .