E_debugdraw has various debug views to investigate many different aspects of engine. Most of the views have 2 modes, with & without text.
To display the different mode either type E_DebugDraw 2 or E_DebugDraw -2. (minus symbol)
Displays the bounding box, cgf object name, its Polycount, Number of LODs, Current LOD the object is in.
This debug view helps visualize the polycount of the object via colour. It also displays the actual polycount at the pivot point.
This debug draw mode shows a colour coded LOD view and detailed LOD information.
The format of the debug text is as follows:
Eg: 1 [0;4] (100/156.3)
|1||Current LOD currently being used|
|[0;4]||min LOD, max LOD (minimum LOD is zero, maximum is four (for this object)|
|100||LOD Ratio setup in the object properties (rollup bar).|
|156.3||Distance to object from camera|
What your scene should look like is everything close to the camera should generally be red, then as the distances increases, the colours step down the chain.
Always try to use LODs for your assets, also try to reduce material IDs for your LODs.
|There is also another mode to this debug view. e_DebugDraw -3. This removes the text from the display & just shows the colour information per objects. (Very handy on busy scenes with multiple objects).|
Displays the object texture memory usage. (In kb)
Displays the number of rendered materials per object.
Displays the Ambient colour (R,G,B,A)
Displays a combination of Triangle count, no. of materials & texture memory.
This debug draw shows all exported helpers linked to the geometry in 3ds Max, like grab helper, touch bending helper, etc.
Asset Debug Gun. Point the camera at any object. It will detail information about it.
This display mode gives you a guidance as to how much geometry & texture memory you are consuming on a 32m block of space. This is just a guidance towards where you are spending too much in either "bucket" Geometry / texture.
Increase these 2 cvars to get an idea on the budget of each zone.
Each tile gets represented with a flat 2d plane with 2 pie-charts on top. 1 for geometry, 1 for textures.
As you fill up each of your budgets, the pie chart will increase.
The tile will be green if you are in a nice cheap area, yellow if reaching your set limit & if you are over budget on either texture or geometry, the tile will go red.
This makes it easy to track down visually where you are spending too much in certain areas.
In this picture, the stats are set to texture = 256mb, geometry = 32mb
This displays the physics proxies triangle count per object.
Displays the object instance texture memory (in kb)
Objects in this picture are the boids.
Displays the distance to the camera of animated objects.
Displays the vertex count of the current LOD step that the object is in.
This applies an overlay on top of the assets to allow you to visualise whether or not the objects are casting a shadow.
Depending on the amount of SubID's in the material, it will be coloured red with a yellow hint if the majority of the ID's are set to cast shadows.
If it is only a few ID's that are set to cast a shadow they will be coloured green with a hint of yellow.
So the more complex the shadow setup of the objects material, the colouring will be red.
Green -> Yellow -> Red