AGPhysics

A blog based around 3D Physics

CryEngine 2 vs C4 Engine

Posted by aquageneral on January 23, 2008

CryEngine 2 vs C4 Engine

Handling of custom models

C4 Engine: Models are imported with a Collada extension type (.dae). Some exporters may not work well.

Cry Engine 2: Models are imported with a Crytek extension type (.cgf). Must assign a model to a pre-set entity.

 

Handling of physics

JamesH’s PhysX Integration in C4:

Features:

chart.png

Performance Test:

Basicly there are two maps made for this test, one for Sandbox Editor 2 and another created for C4 (Build 145).

The versions where both very much the same, the only difference was that the map constructed in SandBox Editor 2 is large put with a small island with a couple of trees. The C4 version was a simple plain. In both versions there where exactly 768 spheres falling from the distance of roughly 10 meters

Here is a performance test I ran to find out which engine handles physics better.

graph.png

C4 Engine Settings: c4-settings.png

Crysis Settings (High):crysis-high-settings.png

Crysis Settings (Medium): crysis-medium-settings.png

Crysis Settings - Other: crysis-other-options.png

Even though CE2 has a worse frame rate C4 did better with higher settings such as the screen resolution, texture resolution and 4x FSAA.

This is how Crytek describe their physics engine;

“CryEngine 2 has powerful and optimised multithreaded physics system…Crysis Interview

 

There are many videos on YouTube where people would go and create thousands of barrels and watch the explosions, the performance was great in the video because they used a screen capturing command to capture each frame while you are playing. Then later on he would create a video with all the frames using Virtual Dub (tutorial).

 

The actual frames where captured in real time that means that the CPU would suffer from the severe amount of physics, plus the CPU is dumping the frames. There is a command to move the physics calculations off the CPU onto the GPU. What do you know a much better framerate. The downside is that GPU’s are bad a performing physics because they have inferior collision detection than a CPU would have. Therefore with a huge scale physics video you have bouncy barrels and intersections between every single object.

 

I decided to make this public, sorry for any misguiding information.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>