KTX_Renderslot.py #51421

Closed
opened 2017-05-05 20:02:33 +02:00 by Roel Koster · 10 comments
Member

Hi Brendon,

Another addon which seems to be appreciated quite well is my KTX_Renderslot.py

It adds itself above the render/animation/audio buttons.
The user can select a renderslot from there (as soon as there are any) instead of going to the UV/Image Editor and select it there.
Furthermore, people can see if a particular slot is occupied or not, so chances of overwriting a slot by accident are smaller.

Of course, if you think the addon is useful for contrib, I can add it myself ;-)
Thanks for looking at it..
Roel

Screen Shot 2017-05-05 at 19.49.12.png

KTX_RenderSlot.py

Hi Brendon, Another addon which seems to be appreciated quite well is my KTX_Renderslot.py It adds itself above the render/animation/audio buttons. The user can select a renderslot from there (as soon as there are any) instead of going to the UV/Image Editor and select it there. Furthermore, people can see if a particular slot is occupied or not, so chances of overwriting a slot by accident are smaller. Of course, if you think the addon is useful for contrib, I can add it myself ;-) Thanks for looking at it.. Roel ![Screen Shot 2017-05-05 at 19.49.12.png](https://archive.blender.org/developer/F588944/Screen_Shot_2017-05-05_at_19.49.12.png) [KTX_RenderSlot.py](https://archive.blender.org/developer/F588946/KTX_RenderSlot.py)
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @kostex

Added subscriber: @kostex

Added subscriber: @VukGardasevic

Added subscriber: @VukGardasevic

@kostex

Made a small UI cleanup and refactor. Please test if you agree with the changes.
Uses active row for showing selection, and icons to show data being present.
ui_refactor.jpg

KTX_RenderSlot.py

@kostex Made a small UI cleanup and refactor. Please test if you agree with the changes. Uses active row for showing selection, and icons to show data being present. ![ui_refactor.jpg](https://archive.blender.org/developer/F590189/ui_refactor.jpg) [KTX_RenderSlot.py](https://archive.blender.org/developer/F590188/KTX_RenderSlot.py)
Author
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Roel Koster self-assigned this 2017-05-07 01:08:10 +02:00
Author
Member

Commited to contrib as "render_renderslot.py"

Commited to contrib as "render_renderslot.py"

Added subscriber: @sebastian_k

Added subscriber: @sebastian_k

Hey, just came across this script, very nice. What do you think of merging it with this one?
https://blenderartists.org/forum/showthread.php?418624-Render-Tweaker
https://github.com/blendfx/blender/blob/master/render_tweaker.py
It stores cycles render settings in the render slots (not directly in them, but sort of). I think they could go together well.

Hey, just came across this script, very nice. What do you think of merging it with this one? https://blenderartists.org/forum/showthread.php?418624-Render-Tweaker https://github.com/blendfx/blender/blob/master/render_tweaker.py It stores cycles render settings in the render slots (not directly in them, but sort of). I think they could go together well.
Author
Member

Hey Sebastian,

Thanks, my script is very small and does nothing more than it should ;-)
I've looked at your script. In any case you can use my code for anything you want.
Your suggestion of merging, do you mean that one of us does that, or do you want to integrate my code into your addon, or think of something together?

I like the idea of having multiple render settings (with even more properties)
I change render sizes very often. I know I can use presets for those already, but it would be nice to incorporate all props in those settings.
Thinking of it, I would like a completely separate system of saving/restoring rendersettings, independent of render slots, but with the option of linking a rendersettings preset to a render slot.
The fact that one needs to render before settings are saved make quite difficult to use. Before I looked at the code and the youtube tutorial, I was struggling to find out what it did and how it worked. Not to downtalk your code by any means !
That is very nice also!

Anyhow, my suggestion would be to have parts.

  1. Rendersetting presets addon (store as many as you want) with the option to link them to a slot.
  2. Slot Selector (basically my addon). Changing the slot will change the rendersettings if above option to link is enabled and existing.
    All without the need to render before things get updated/changed.
    I can look into it if you want with the help of your code.
    I'm great with copy/paste ;-)
    But again, if you feel the urge, be my guest!

Regards,
Roel

Hey Sebastian, Thanks, my script is very small and does nothing more than it should ;-) I've looked at your script. In any case you can use my code for anything you want. Your suggestion of merging, do you mean that one of us does that, or do you want to integrate my code into your addon, or think of something together? I like the idea of having multiple render settings (with even more properties) I change render sizes very often. I know I can use presets for those already, but it would be nice to incorporate all props in those settings. Thinking of it, I would like a completely separate system of saving/restoring rendersettings, independent of render slots, but with the option of linking a rendersettings preset to a render slot. The fact that one needs to render before settings are saved make quite difficult to use. Before I looked at the code and the youtube tutorial, I was struggling to find out what it did and how it worked. Not to downtalk your code by any means ! That is very nice also! Anyhow, my suggestion would be to have parts. 1. Rendersetting presets addon (store as many as you want) with the option to link them to a slot. 2. Slot Selector (basically my addon). Changing the slot will change the rendersettings if above option to link is enabled and existing. All without the need to render before things get updated/changed. I can look into it if you want with the help of your code. I'm great with copy/paste ;-) But again, if you feel the urge, be my guest! Regards, Roel

Hey, thanks for the answer!
I was thinking of merging because you apparently committed it to addons-contrib. And since our addons both address how render-slots work, I thought it would be nice to have them both in one place. On the other hand sure it's totally possible to keep them separated.

As for code, I am just a python hobbyist, so am totally not surprised if the code doesn't make the functionality clear by itself ;)

About your suggestion to save settings without re-render: You can already do that with the presets.
I use the slots mainly to be able to compare the effect of rendersettings like samples and bounces quickly, that's why I only included those in the presets.
One thing that is in fact missing from my addon: It only works with Cycles. Rendersettings for Blender Internal will not be saved. So that would actually be a good reason to keep the two addons separated. A modular approach is also nice. :)
Then again, the rendersettings make much more of a difference in Cycles than in Internal, there the material and world settings make most of the difference...

Hey, thanks for the answer! I was thinking of merging because you apparently committed it to addons-contrib. And since our addons both address how render-slots work, I thought it would be nice to have them both in one place. On the other hand sure it's totally possible to keep them separated. As for code, I am just a python hobbyist, so am totally not surprised if the code doesn't make the functionality clear by itself ;) About your suggestion to save settings without re-render: You can already do that with the presets. I use the slots mainly to be able to compare the effect of rendersettings like samples and bounces quickly, that's why I only included those in the presets. One thing that is in fact missing from my addon: It only works with Cycles. Rendersettings for Blender Internal will not be saved. So that would actually be a good reason to keep the two addons separated. A modular approach is also nice. :) Then again, the rendersettings make much more of a difference in Cycles than in Internal, there the material and world settings make most of the difference...
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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-addons#51421
No description provided.