USD: Fix Export progress report. #114416

Merged
Bastien Montagne merged 1 commits from mont29/blender:tmp-usd-export-fix-wqprogress-report into main 2023-11-03 18:00:53 +01:00

This progress report was utterly broken and useless when not exporting
animations, and not great either with animation export. This commit
fixes:

  • Not generating any progress report when exporting a single frame.
  • Assuming actual data export covers 100% of progress.

That last point is the biggest change, now actual export (be it
animated or still) only covers 75% of the whole range. The rest is used
to cover depsgraph building and updates (which can be noticiably slow
with big scenes), stage writing, etc.

Progression is still far from linear in time, but at least it gives
better feedback on actual progress of the whole export.

This progress report was utterly broken and useless when not exporting animations, and not great either with animation export. This commit fixes: * Not generating any progress report when exporting a single frame. * Assuming actual data export covers 100% of progress. That last point is the biggest change, now actual export (be it animated or still) only covers 75% of the whole range. The rest is used to cover depsgraph building and updates (which can be noticiably slow with big scenes), stage writing, etc. Progression is still far from linear in time, but at least it gives better feedback on actual progress of the whole export.
Bastien Montagne added the
Interest
USD
label 2023-11-02 17:38:09 +01:00
Bastien Montagne requested review from Michael Kowalski 2023-11-02 17:38:35 +01:00
Bastien Montagne added this to the USD project 2023-11-02 17:38:42 +01:00
Author
Owner

@blender-bot build

@blender-bot build
Michael Kowalski approved these changes 2023-11-03 17:39:49 +01:00
Michael Kowalski left a comment
Member

The progress reporting is indeed much improved, in my tests.

(In the future, it would be nice if each writer could contribute to the progress as well, so maybe this is something we could consider down the road, but I haven't thought through how this should be done.)

Thank you for this fix!

The progress reporting is indeed much improved, in my tests. (In the future, it would be nice if each writer could contribute to the progress as well, so maybe this is something we could consider down the road, but I haven't thought through how this should be done.) Thank you for this fix!
Bastien Montagne force-pushed tmp-usd-export-fix-wqprogress-report from db72f3879c to 4b8d8f56c9 2023-11-03 17:49:12 +01:00 Compare
Bastien Montagne merged commit 9b0ea21a5b into main 2023-11-03 18:00:53 +01:00
Bastien Montagne deleted branch tmp-usd-export-fix-wqprogress-report 2023-11-03 18:00:54 +01:00
Bastien Montagne removed this from the USD project 2023-11-09 11:50:00 +01:00
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#114416
No description provided.