{% macro metrics_inline(m) -%} {%- if m and (m.base_tris or m.subdiv_tris or m.cpu or m.gpu) -%} {% if m.base_tris %}Base {{ m.base_tris }}{% endif %}{% if m.subdiv_tris %}{% if m.base_tris %} · {% endif %}Subdiv {{ m.subdiv_tris }}{% endif %}{% if m.cpu %} · Build {{ m.cpu }}{% endif %}{% if m.gpu %} · Export {{ m.gpu }}{% endif %} {%- endif -%} {%- endmacro %} {% macro version_header(v) %} {% if v.role %}{{ v.role | upper }}{% endif %} {% if v.tag %}{{ v.tag }} {% else %} {% if v.branch_url %}{{ v.branch }}{% else %}{{ v.branch or v.name }}{% endif %} {% if v.commit %} {{ v.commit }}{% endif %} {% endif %} {% if v.pr %} PR #{{ v.pr }}{% endif %} {% endmacro %} {% macro image_tile(img, source_url) -%}
{{ img.label }}
{% if img.path %} {% if img.path.endswith('.mp4') %} {% else %} {{ img.label }} {% endif %} {% else %}
{% if img.command_text or img.stderr_text %} Error (no image) {% else %} Not generated in this run {% endif %}
{% endif %} {% if img.command_text %}
Show command
{{ img.command_text | link_sources(source_url) }}
{% endif %} {% if img.stderr_text %}
Show stderr
{{ img.stderr_text | link_sources(source_url) }}
{% endif %}
{%- endmacro %} {% macro sections(obj) -%} {% if obj.sections %} {% for section in obj.sections %}
{{ section.title }}{{ metrics_inline(section.metrics) }}
{% for img in section.images %} {{ image_tile(img, source_urls.get(obj.version)) }} {% endfor %}
{% endfor %} {% else %}
No images
{% endif %} {%- endmacro %} Asset Comparison
Press 't' for toggle mode ⚙ Filters Help Select versions
{% if section_controls %}
Sections: {% for c in section_controls %} {% endfor %}
{% endif %}
View Options:
Asset Types:
Renderers:
Assets:
Include assets from: ? Select which versions to include assets from. Union shows assets in any selected version. Intersection shows only assets in all selected versions. {% for version in version_names %} {% endfor %}
{% for row in rows|sort(attribute="asset", case_sensitive=false) %} {% endfor %}
{% for version in version_meta %}{{ version_header(version) }}{{ metrics_inline(version_totals.get(version.name)) }}{% endfor %}
{% for row in rows %}
{{ row.asset_label }}{% if row.is_new %} NEW{% endif %}{% if row.not_run %} SKIPPED{% endif %} {% if perf_enabled and row.perf_regressed %}
⚠ perf: {{ row.perf_summary }}
{% endif %}
{% for obj in row.objects %}
{{ obj.source_asset or "Not rendered" }}
Render metrics{{ metrics_inline(obj.metrics) }}
{{ sections(obj) }}
{% endfor %}
{% endfor %}