Page 1 of 1

How to get the size of the attributes of A. CGF artistic resource

Posted: Fri Jan 18, 2019 7:50 am
by myt888
How to get the size of the attributes of A. CGF artistic resource, such as vertex, face number, etc
I want to study performance.
I really need it and thank you

Re: How to get the size of the attributes of A. CGF artistic resource

Posted: Tue Feb 26, 2019 11:02 am
by Cry-Flare
Hi there,

Can you be more specific?
What performance metrics are you trying to find or visualize?

Re: How to get the size of the attributes of A. CGF artistic resource

Posted: Mon Mar 04, 2019 8:49 am
by myt888
My goal is to make an art resource inspection tool based on cryengine. The basic function is to check the art resources in the game, for example, the texture can not exceed 1024*1024.

The number of vertices of a single model should not exceed 10000. How can I get all kinds of data of art resources in cryengine?

Re: How to get the size of the attributes of A. CGF artistic resource

Posted: Fri Mar 08, 2019 10:44 am
by Cry-Flare
You will need C++ experience for this.
Check out the CVar e_debugdraw. This allows the usage of several values to display different statistical data about the scene visually.
You could see how it was done here, and try to adopt the same techniques to your implementation.