General CE3 Discussion

View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

User avatar   Experienced Modder Experienced ModderMember since: 01.07.2011, 21:28Posts: 436 Likes: 0
 

 Post Topic: Re: CE 3 Tech you might not know about [article series] - Pa
PostPosted 19.07.2011, 05:12 
Please do foliage interaction next! The Physics from CE2 are legendary :)

User avatar   Skilled Modder Skilled ModderMember since: 30.04.2010, 14:42Posts: 672Location: Russia Likes: 0
 

 Post Topic: Re: CE 3 Tech you might not know about [article series] - Pa
PostPosted 25.07.2011, 12:13 
Quote by ClockworkOnion:
Please do foliage interaction next! The Physics from CE2 are legendary :)

What's so special about it?

http://sdk.crymod.com/display/SDKDOC3/Bending+Setup
http://sdk.crymod.com/display/SDKDOC3/B ... Vegetation

These articles pretty much sum it up.
User avatar   Experienced Modder Experienced ModderMember since: 01.07.2011, 21:28Posts: 436 Likes: 0
 

 Post Topic: Re: CE 3 Tech you might not know about [article series] - Pa
PostPosted 26.07.2011, 01:16 
Quote by bac9-flcl:
Quote by ClockworkOnion:
Please do foliage interaction next! The Physics from CE2 are legendary :)

What's so special about it?

http://sdk.crymod.com/display/SDKDOC3/Bending+Setup
http://sdk.crymod.com/display/SDKDOC3/B ... Vegetation

These articles pretty much sum it up.

Comparison between CE2 and CE3, just like every other article.
User avatar   Superstar Dolphin Superstar DolphinMember since: 16.08.2004, 10:46Posts: 9498Location: Finland Likes: 36
 

 Post Topic: Re: CE 3 Tech you might not know about [article series] - Pa
PostPosted 26.07.2011, 07:30 
Quote by ClockworkOnion:
Quote by bac9-flcl:
Quote by ClockworkOnion:
Please do foliage interaction next! The Physics from CE2 are legendary :)

What's so special about it?

http://sdk.crymod.com/display/SDKDOC3/Bending+Setup
http://sdk.crymod.com/display/SDKDOC3/B ... Vegetation

These articles pretty much sum it up.

Comparison between CE2 and CE3, just like every other article.

But it's pretty much the same - all previous articles have been of (rendering) technology that's new to CE3. ;)
User avatar   News Posters News PostersMember since: 14.03.2008, 21:31Posts: 1661Status: Online Likes: 5
 

 Post Topic: Re: CE 3 Tech you might not know about [article series] - Pa
PostPosted 26.07.2011, 22:26 
/deleted


-> Thomy's CRYENGINE blog
-> twitter
-> Want some optimization on your project + some feedback?
-> I might help!
User avatar   News Posters News PostersMember since: 14.03.2008, 21:31Posts: 1661Status: Online Likes: 5
 

 Post Topic: Re: CE 3 Tech you might not know about [article series] - Pa
PostPosted 27.07.2011, 11:57 
I don't really know if I should call this a new chapter, since I am only going to show some useful and interesting cVars, which I think people should know of - since I always see complaining about some of this. I think this is useful.
I will continue to add stuff here.

SandBox 3 things you might not know about

1. How do I optimize my forest? OR Is Instancing enabled?
Answer:
Optimize your super-dense forest with hundreds of identical trees with the use of instancing.
Instancing means the same geometry can be rendered once for each instance.
Enable it via
the Cvar r_GeomInstancing 1. But keep in mind that it is not efficient if you have much individual geometry. To overcome this problem, set the
r_GeomInstancingThreshold to an appropriate number. This will determine how many instances of the same geometry have to exist before they will be "bundled" for render. You should at least have a number like 3 in there.

To measure the difference, I go to the 3rd ribbon in the rollup bar (render settings and debug) and enable "Budget" right below the "debug" tab.
In my situation the estimated vertex processing for Vegetation went from 73.440 (2.79 ms) to 21.160 (0.80 ms) - a very useful configuration for a forest obviously!


2. Uh CryEngine 2 was better because it had terrain shadows!
Answer:
Set the cVar e_GsmCastFromTerrain to 1. Be happy. Don't complain!
Image


3. In Unreal Engine I can set the screen to Lit/Untextured mode!How do I do that in CryEngine 3?
Answer:
We can only do this via cVars, but of course you can link it to a click of a button with your toolbar.

First of all here is a screenshot of the scene:
Image

You can either set
e_DefaultMaterial to 1 (thanks Lex4rt)

or:

I recommend opening the console Variables with a right click on the console. Search for "ShowDyn" and you get this:
Image

To see most of the stuff the Engine is doing, we can enable
r_ShowDynTextures (set it to 1).
Image
it gets us all the images used to output the final image, even those which are not used right now.
If we want to see only the things used we set r_ShowDynTextures 2.

The cVar r_ShowDynTextresMaxCount sets the Amount of images we see. If we set it to 256 we could see even more, normally it is set to 36.

What is important now is the number/name of the dynamic textures, which can be seen in the upper left corner of each image.
For example on the bottom we see 2 Yellow screens which are responsible for the SSAO/DO effect. They read:
"$Dyn TempAORT 2D AOR8G8BG 21"
This is important for our
r_ShowDynTexturesFilter, which is by default set to *
If we want to have this image and everything else filtered we can either put in
*21 (which means the last characters are 21)
*TempAORT* (which means somewhere in the middle of the name is "TempAORT"
$Dny* (which gives us everything beginning with "$Dyn".
You see - the stars are important!

We want to see the lighting only so let's put
r_ShowDynTexturesFilter *Diffuse*. To have the diffuse lighting FullScreen we need to set the r_ShowDynTextresMaxCount to 1 and there it is. Lighting only with ScreenSpaceOcclusion.
Image
Or look for *Specular* and it gets you
Image


-> Thomy's CRYENGINE blog
-> twitter
-> Want some optimization on your project + some feedback?
-> I might help!


Last edited by Thomy on 29.07.2011, 12:59, edited 4 times in total.
User avatar   Experienced Modder Experienced ModderMember since: 06.06.2010, 22:27Posts: 514Location: Turku, Finland Likes: 0
 

 Post Topic: Re: CE 3 Tech you might not know about [article series] - Pa
PostPosted 27.07.2011, 14:59 
e_GsmCastFromTerrain 1 doesn't work ingame. :/
User avatar   Crytek Staff Member Crytek Staff MemberMember since: 27.10.2007, 20:48Posts: 15150Location: Nottingham, UK Likes: 0
 

 Post Topic: Re: CE 3 Tech you might not know about [article series] - Pa
PostPosted 27.07.2011, 15:04 
Put it in your level.cfg?
User avatar   Experienced Modder Experienced ModderMember since: 06.06.2010, 22:27Posts: 514Location: Turku, Finland Likes: 0
 

 Post Topic: Re: CE 3 Tech you might not know about [article series] - Pa
PostPosted 27.07.2011, 15:08 
I think it's one of the disabled CVars.
User avatar   Skilled Modder Skilled ModderMember since: 15.04.2008, 13:25Posts: 624Location: Russian federation, Moskow Likes: 0
 

 Post Topic: Re: CE 3 Tech you might not know about [article series] - Pa
PostPosted 27.07.2011, 15:25 
Quote:
In Unreal Engine I can set the screen to Lit/Untextured mode!How do I do that in CryEngine 3?

Also e_DefaultMaterial=1 can be used for that:
Image
User avatar   24/7 Modder 24/7 ModderMember since: 02.02.2007, 07:25Posts: 4446 Likes: 13
 

 Post Topic: Re: CE 3 Tech you might not know about [article series] - Pa
PostPosted 27.07.2011, 16:37 
Quote by Cry-Sam:
Put it in your level.cfg?


Not work. Crytek must fix it.
User avatar   Uber Modder Uber ModderMember since: 27.02.2009, 12:51Posts: 1391 Likes: 4
 

 Post Topic: Re: CE 3 Tech you might not know about [article series] - Pa
PostPosted 27.07.2011, 17:11 
Quote by JMLfin:
e_GsmCastFromTerrain 1 doesn't work ingame. :/

Impossible. It's working.
Are your terrrain high enough ? ;p
User avatar   24/7 Modder 24/7 ModderMember since: 16.06.2008, 22:11Posts: 4306Location: Oulu, Finland Likes: 2
 

 Post Topic: Re: CE 3 Tech you might not know about [article series] - Pa
PostPosted 27.07.2011, 17:20 
Quote by iniside:
Quote by JMLfin:
e_GsmCastFromTerrain 1 doesn't work ingame. :/

Impossible. It's working.
Are your terrrain high enough ? ;p

There's no terrain shadow in game mode. At least in DX9...


Zip-line release 2012-04-24 (for CE2 & CE3) · C1 mod project: A mod called Entry
Assets · Blender: Destroyable object tutorial for CryBlend

- currently lost in New Eden -
User avatar   Uber Modder Uber ModderMember since: 27.02.2009, 12:51Posts: 1391 Likes: 4
 

 Post Topic: Re: CE 3 Tech you might not know about [article series] - Pa
PostPosted 28.07.2011, 07:37 
I'm using DX9 and have shadows from terrain. Magic? ;o
User avatar   24/7 Modder 24/7 ModderMember since: 02.02.2007, 07:25Posts: 4446 Likes: 13
 

 Post Topic: Re: CE 3 Tech you might not know about [article series] - Pa
PostPosted 28.07.2011, 08:50 
:p