Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CueSubmit: Chunked Blender render renders the same frame #1334

Open
Tilix4 opened this issue Jan 17, 2024 · 2 comments
Open

CueSubmit: Chunked Blender render renders the same frame #1334

Tilix4 opened this issue Jan 17, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Tilix4
Copy link

Tilix4 commented Jan 17, 2024

Describe the bug
Submitting a chunked job for blender renders the same frame as many times as the chunk size instead of rendering a range.
The built command is blender -b -noaudio /path/to/file.blend -f 1

To Reproduce
Steps to reproduce the behavior:

  1. Open CueSubmit
  2. Prepare a layer with Blender
  3. Set chunk size to 10
  4. Submit

Expected behavior
A chunked submission should render a frame range, such as:

  • Clean range command: blender -b -noaudio /path/to/file.blend -a -s 1 -e 10
  • Brute force chunk command: blender -b -noaudio /path/to/file.blend -f 1 -f 2 -f 3 -f4 ...

Version Number
0.22.24

@Tilix4 Tilix4 added the bug Something isn't working label Jan 17, 2024
@n-jay
Copy link
Contributor

n-jay commented Jan 18, 2024

@bcipriano could you assign me to this? Would like to work on it.

@n-jay
Copy link
Contributor

n-jay commented Jan 19, 2024

Hi @Tilix4
I'm personally not very familiar with the industry terminology, so could be wrong. I think frame ranges for animations run via Blender render commands can be extracted from the "Frame Spec" field in CueSubmit.
Got a bit of a hint from the tooltip text

"""Widget for entering a frame spec."""
helpText = 'Enter a FrameSpec value.\n' \
'A frame spec consists of a start time, an optional end time, a step, ' \
'and an interleave.\n' \
'Multiple ranges can be added together by separating with commas.\n' \
' Ex:\n' \
' 1-10x3\n' \
' 1-10y3 // inverted step\n' \
' 10-1x-1\n' \
' 1 // same as "1-1x1"\n' \
' 1-10:5 // interleave of 5\n' \
' 1-5x2, 6-10 // 1 through 5 with a step of 2 and 6 through 10\n'

Sent a draft PR with a fix. Will finalize after I've tested and validated it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants