Initial work to display stage statistics directly in the viewport's HUD - #4720
Initial work to display stage statistics directly in the viewport's HUD#4720hsabri-SMS wants to merge 1 commit into
Conversation
|
@hsabri-SMS We have discussed this internally and agree with the overall PR feature to add HUD support. Our designer would prefer to have just a "USD Details" menu item added to the existing "Display | Heads Up Display" rather than using a command to toggle on/off. @AramAzhari-adsk will work with you to provide a MEL script which can do this (very similar to how Maya itself adds the existing HUD items). Sean |
|
@hsabri-SMS Sorry for the delayed response. As mentioned in the previous comments I think it would be best to hash out all the possible fields that may be useful in the HUD. Additionally, I think there is an easier approach to funnel most of this through Mel / Python scripts and only leave out the heavy computations to C++ (if any). Here's a quick example mel script that:
|

Description
This is an initial commit to support displaying stage statistics directly in the viewport's HUD. The HUD currently displays USD stage statistics including total prims, total mesh prims, and mesh information such as vertex, triangle, face, and normal counts.
This is useful for quickly inspecting the the stage directly in the viewport without having to use additional tools or inspect the scene separately.
HUD display can be toggled on/off via following command.
The statistics work with both single and multiple stages and can also be displayed for selected prims.
Screenshots