Forums Gallery Downloads LOGIN |REGISTER

Thomy's CryDev Blog [December 17th: Terrain AO]

Just getting started? Looking for some information on CE and/or CE projects? Ask here!


 

User avatar
Thomy
Producer
Producer
 
Posts: 1760
Member since: 14.03.2008, 21:31
Likes: 38

Re: CE 3 Tech you might not know about [article series] - Pa

Postby Thomy » 10.07.2011, 13:14

Bladestar wrote:hey Thomy...quick question on lights...
any idea on how many dynamic lights the new engine can handle in one scene or within veiwing distance of each other?


Thousands.
In the scenes set up for "Let's tile those lights" I used about 150-200.
I might investigate where the barrier for a playable game lies with the upcoming articles.

But if you want a good framerate it really depends on how much they intersect with each other and how big they are (also geometry is of an issue because of specularity if I'm not mistaken)
With tiles, the number of lights to be used can be increased easily with good performance.

If you switch from deferred lights to irradiance volumes you are really free to use as many as you want, but the visual output won't be "as good" as with usual lights. As said i'll do an article on that if I find the time.
Bladestar
Producer
Producer
 
Posts: 1941
Member since: 17.06.2009, 12:26
Location: South Africa
Likes: 0

Re: CE 3 Tech you might not know about [article series] - Pa

Postby Bladestar » 10.07.2011, 13:15

awesome..thanks Thomy!
User avatar
Thomy
Producer
Producer
 
Posts: 1760
Member since: 14.03.2008, 21:31
Likes: 38

Re: CE 3 Tech you might not know about [article series] - Pa

Postby Thomy » 10.07.2011, 13:19

let me specify that.
If you have up to 300 it will give you good performance. After that - a sudden drop. On a solid.
Just tried that out :)
From 280 to 300 the framerate drops significantly.
280 lights - 50 fps (without any lights i have 52)
300 lights - 10 fps and below
User avatar
Mocib
Developer
Developer
 
Posts: 330
Member since: 08.03.2006, 18:37
Likes: 0

Re: CE 3 Tech you might not know about [article series] - Pa

Postby Mocib » 10.07.2011, 13:22

Better versions of that face promo shot (with correct colors):

Image

Image

One more legendary pic, for old times' sake:

Image
User avatar
Thomy
Producer
Producer
 
Posts: 1760
Member since: 14.03.2008, 21:31
Likes: 38

Re: CE 3 Tech you might not know about [article series] - Pa

Postby Thomy » 10.07.2011, 14:18

thanks, Mocib! Just updated the article with one of yours. :happy:

Hope ya'll like the read :)
Konigg
Junior Dev
Junior Dev
 
Posts: 147
Member since: 12.02.2011, 00:13
Likes: 0

Re: CE 3 Tech you might not know about [article series] - Pa

Postby Konigg » 10.07.2011, 18:40

Picture what I did. I know its different scene, just out of curiosity
Image
User avatar
Thomy
Producer
Producer
 
Posts: 1760
Member since: 14.03.2008, 21:31
Likes: 38

Re: CE 3 Tech you might not know about [article series] - Pa

Postby Thomy » 11.07.2011, 15:36

@Konigg
The thing is - this technique is quite new and when Crytek did the trailer from which you took the screen, they probably did not have it yet.
But if you have Sandbox 3 you can toggle the techniques on the same character.
Megagoth1702
Just getting started
Just getting started
 
Posts: 92
Member since: 26.03.2011, 23:25
Location: Berlin
Likes: 2

Re: CE 3 Tech you might not know about [article series] - Pa

Postby Megagoth1702 » 12.07.2011, 01:45

The link to the From s^2 to s^5 in the first post is broken. Always leads me onto the 2nd site - GI article.

Please check.


Other than that - oh my god, this technical stuff & how to use it is what I always was interested in! Keep them coming! I dont know about what but just do it, hahaha. :-D
User avatar
the_grim
Superstar Dolphin
Superstar Dolphin
 
Posts: 9884
Member since: 16.08.2004, 10:46
Location: Finland
Likes: 189

Re: CE 3 Tech you might not know about [article series] - Pa

Postby the_grim » 12.07.2011, 12:58

Very interesting articles, once again. :) The GI is a very nice visual addition to outdoor lighting, even if it has (huge) flaws. Without GI, all shaded areas have a uniform ambience... This works OK for outdoors (Crysis) but it would be nice to have some way of simulating those low-frequency shadows you get from sunlight. I'd take even pre-rendered shadowmaps - technically calculating Terrain Occlusion does this, but it isn't very accurate and really only works for foliage shadows on terrain, not so good for brushes such as bridges, tunnels or canopies, for example.

For indoors, it would be very useful to have GI enabled for lightsources other than the sun. This is probably the best advantage of the Frostbite 2 engine GI system over CE3. The Crytek rendering tech article that described their light propagation volumes technique did mention that reflective shadowmaps are rendered for all lightsources - yet this feature was dropped from Crysis 2, and there's not even a console variable to enable GI for all lights. I guess they decided to use Irradiance Volumes for indoors instead - performance advantage is significant in that case. ;)

Thomy wrote:But if you want a good framerate it really depends on how much they intersect with each other and how big they are (also geometry is of an issue because of specularity if I'm not mistaken)


I think deferred rendering uses a single pass for most materials regardless of specularity - Crysis 2 has significantly fewer shaders than Crysis did (notice the lack of Metal shader) probably precisely because they want to cut down on multiple render passes required for different shaders. Shiny materials such as metals and diffuse materials such as stone are all rendered in a single pass, because they both use the Illum shader - differences are only in specular glossiness and amount, which are calculated in a single specular render target. ;) This narrows down material options such as anisotropy, but the metal surfaces in Crysis 2 look very nice anyway, mainly thanks to Environment Probes. :)
Konigg
Junior Dev
Junior Dev
 
Posts: 147
Member since: 12.02.2011, 00:13
Likes: 0

Re: CE 3 Tech you might not know about [article series] - Pa

Postby Konigg » 12.07.2011, 18:29

the_grim wrote:For indoors, it would be very useful to have GI enabled for lightsources other than the sun. This is probably the best advantage of the Frostbite 2 engine GI system over CE3. The Crytek rendering tech article that described their light propagation volumes technique did mention that reflective shadowmaps are rendered for all lightsources - yet this feature was dropped from Crysis 2, and there's not even a console variable to enable GI for all lights. I guess they decided to use Irradiance Volumes for indoors instead - performance advantage is significant in that case. ;)

But Frostbite 2 is new engine, CE 3 is 5 years old improved CE 2 and is almost comparable with FB 2
User avatar
Lex4art
Skilled Developer
Skilled Developer
 
Posts: 759
Member since: 15.04.2008, 13:25
Location: Russia, Moskow
Likes: 34

Re: CE 3 Tech you might not know about [article series] - Pa

Postby Lex4art » 12.07.2011, 21:04

Frostbite 2.0 - imho have legacy from Frostbite 1.5 And the latest news about "no mod tools for Battlefield3 because of overcomplicated toolset of Frostbite 2" - also points on that, frostbite 1.5 has same overcomplicated workflow.
Last edited by Lex4art on 13.07.2011, 12:19, edited 3 times in total.
User avatar
Thomy
Producer
Producer
 
Posts: 1760
Member since: 14.03.2008, 21:31
Likes: 38

Re: CE 3 Tech you might not know about [article series] - Pa

Postby Thomy » 13.07.2011, 01:12

@Megagoth : Thanks - fixed that!

well guys, don't get overexcited about frostbite 2.0 yet.
If you look at MP footage, that really isn't a Crysis 2 killer from what I've seen.
And besides, yes the lighting looks great, but it has to be precalculated and works only on big static geometry, which actually has to be modified first; dynamic objects do NOT reflect lighting.
Sure - image quality is suberb, but "realtime all the time" is nice to have in CE3.
It does not really work with destruction, which they admitted themselves, but who knows - they might have a fix for that when it comes out. Probably just a workaround which the average gamer doesn't notice.
Well, I will admit that they have a lot of money for research and DICE really gets pumped by EA, which wants to have a powerful inhouse engine.
But there is nothing special, besides some translucency and of course the geomerics global illumination technology, but if Crytek wanted some 3rd Party in CryEngine, they could licence it, too, just like DICE did.
User avatar
eaglevision
Senior Developer
Senior Developer
 
Posts: 849
Member since: 25.12.2008, 08:07
Likes: 0

Re: CE 3 Tech you might not know about [article series] - Pa

Postby eaglevision » 13.07.2011, 04:08

We also don't know how often will Crytek update the indie SDK. Hopefully monthly like UDK.
putahs
Just getting started
Just getting started
 
Posts: 17
Member since: 11.02.2011, 12:44
Likes: 0

Re: CE 3 Tech you might not know about [article series] - Pa

Postby putahs » 17.07.2011, 17:27

duuuuuuuuuuuuuuude!do you know how cool you are?XD

man,i love this post,really appreciated!Thomy

and,please please,Thomy,Make more!
User avatar
SonicHedgeTrimmer
Just getting started
Just getting started
 
Posts: 94
Member since: 22.09.2010, 16:12
Location: Australia
Likes: 0

Re: CE 3 Tech you might not know about [article series] - Pa

Postby SonicHedgeTrimmer » 18.07.2011, 20:11

I too am so interested, amazed and appreciative of the improvements and new technologies Crytek's rnD department brought to Cryengine 3, and was so glad to see them implement them into Crysis 2 even when they finished them after C2's release. They really are a good bunch of dedicated people, and I mean the whole of Crytek.

I loved your original post Thomy, extremely well done! I've been up late using CE3 and browsing Crymod, I've just read your original post so far, going to bed right after I submit this comment, and I look so forward to reading your other posts tommorow (which is now today lol).


 
Connect and collaborate with CRYENGINE developers in the official Forums.
Visit the Gallery to share what you have created and be inspired by what others are creating with CRYENGINE.
Community