Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Rendering multiple scenes with different active cameras and resolutions #87

Closed
beyond9thousand opened this issue Jul 4, 2024 · 5 comments
Labels
question Further information is requested

Comments

@beyond9thousand
Copy link

Is there a way to do this even natively? If so, does loom have a way to achieve this?

@p2or
Copy link
Owner

p2or commented Jul 4, 2024

Hi @beyond9thousand,

As of the current state, we can override the render settings including the 'camera' and 'resolution' property in the regular as well as the batch dialog, see the presets option. In order to render different scenes, you can either use the Blender's compositor or the batch dialog which provides a 'snapshot feature' that allows to create a (temporary) snapshot of the current blend file which automatically gets added to the queue:

Screenshot 2024-03-12 at 09 40 59

Should only take a few seconds to set up, depending on the project. Does this help and answer your question?

Cheers,
Christian

@p2or p2or added the question Further information is requested label Jul 4, 2024
@beyond9thousand
Copy link
Author

Blender's compositor only lets me decide the scene, but its specific properties like the resolution are not respected. The active scene always seems to take precedence

@p2or
Copy link
Owner

p2or commented Jul 5, 2024

Hi @beyond9thousand,

as mentioned, the 'snapshot' operator should do in any case, just give it a whirl.

Cheers,
Christian

@beyond9thousand
Copy link
Author

beyond9thousand commented Jul 5, 2024

I have Scene1 and Scene2, how would I make this work exactly? I need to save the file with a Scene selected and then the add the snapshot I believe. But then how am I supposed to render the same file with the other Scene? Sorry but I am a little lost since the dialog box disappears if i click away to save the file with a different scene as currently active

Edit:
Was fiddling with the information available online and it seems that you can technically loop through all scenes in a blend file using python, thereby achieving the exact result i am referring to. could this functionality be added to loom as an option?

@p2or
Copy link
Owner

p2or commented Jul 6, 2024

Hi @beyond9thousand,

I have Scene1 and Scene2, how would I make this work exactly?

  1. Select Scene1
  2. Open up the 'Batch dialog' and hit Add Snapshot
  3. Select Scene2
  4. Open up the 'Batch dialog' and hit Add Snapshot
    ...

All snapshots end up in a new folder called 'temp' (can be customized in the preferences). To render everything, either add a new scene to the existing .blend or create a dedicated .blend for rendering, open up the Batch dialog add the files within the temp folder to the list and render.

seems that you can technically loop through all scenes in a blend file using python

Here you go: for scene in D.scenes: print(scene.name) but I don't see how that could help unless we loop through all the scenes and take snapshots with just one click ;)

could this functionality be added to loom as an option?

Sure, a more direct way to override the camera, layer or scene per render execution should be straight forward to implement but I have no idea how to add that properties within the 'Batch dialog' without destroying the current logic. If you have an idea or mockup for the UI, please let me know and let's discuss about why this is worth to implement in the first place.

Cheers,
Christian

Repository owner locked and limited conversation to collaborators Jul 6, 2024
@p2or p2or converted this issue into discussion #88 Jul 6, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants