|
|||||||
![]() |
|
|
Thread Tools |
|
|||
|
I made a little script for keeping a number of renders inside the image editor, as a form of 'Render History'. I think this is very handy to compare the changes in your render.
You have to load the script in a text editor window, and then enable script links (in the scripts panel), then click new, select the script and choose render as the event that will fire the script. If you like the script you can save this in your user default settings and it will work in any new blender file you make. ![]() This way every time you made a render the script automatically saves the image, load it in the image editor window, assign a name to it, pack it inside your blender file, and then remove it from the drive. ![]() You can have your render history inside blender without doing anything, even if you save your file and open it later you will have your render history. There is a variable in the script called 'NumRender', you can modify its value to set the number of images you want in your render history. Here it is: Code:
I have tested this in linux, but it should work on any system (i hope), if someone try this in windows or mac please post your results. Sorry for mi bad english vico.
............................................
(sorry for my bad english) If the vast majority does not comply with a law, then the law is in danger, not the people. Last edited by vico; 05-Jan-08 at 04:10. |
|||
|
#1
|
|||
|
|
|
||||
|
Very usefull for Me
![]() Daniel
............................................
------------------------------------------ www.pepeland.com www.pepe-school-land.com ------------------------------------------ |
||||
|
#2
|
|
||||
|
hola vico... very nice.. will certainly have to try it out.
Did you see the autosave script I wrote? http://www.alienhelpdesk.com/python_...utosave_render It's pretty similar to your script except that mine saves to the hdd not in the blend file.. I'll try yours to see what I prefer, though I'm guessing your file may become quite big?
............................................
http://www.macouno.com |
||||
|
#3
|
|
|||
|
Glad you find it usefull
![]() macouno: of course i have seen and tried your script, in fact your script give me the idea to make this one. I prefer having the images inside the blender file, because each time i open my file the renders are still in there, but is a matter of preferences . This script purpose is to compare renders while your scene evolves, if you want to keep every render you make, i will definitely prefer your script.About the blend becoming to big, you can set the number of renders you want to store inside the blend file, with the variable "NumRender". Maybe we can join our two scripts and make one with a selectable option between saving or packing your renders? .Other idea is to load the render images as a sequence inside the image editor (packed or not), this way you can compare the renders with just one keystroke, and keep all your render history in one "Image". But i cant find how to load the sequence and add images when produced. sorry about my bad english vico.
............................................
(sorry for my bad english) If the vast majority does not comply with a law, then the law is in danger, not the people. |
|||
|
#4
|
|
|||
|
Congratulations!
Fantastic! This will save me a lot of work! |
|||
|
#5
|
|
||||
|
This sure beats having to remember J to jump between renders. Thanks!
............................................
i<3 Blender, and vandalizing the wiki. My creative website, my public website (in progress), my book, my complete learning Blender video series. and my Vimeo compositing video series. |
||||
|
#6
|
|
||||
|
I have problems to run the script.
Console warning says: Traceback (most recent call last): File "Render History.py", line 58, (in module) TypeError: expected a string Can anyone help me, please? Thank you very much. |
||||
|
#7
|
|
||||
|
JiriH, I expect that it says a bit more than that?
............................................
http://www.macouno.com |
||||
|
#8
|
|
||||
|
#9
|
|
||||
|
JiriH: Check what you have put to your Blender temp directory setting. It apparently isn't returning a string (perhaps None or something...). Or as a temporary hack you could put a valid path to some directory there (or create own below home or use temporary folder of your OS etc.).
............................................
Nothing to see here ... move along. |
||||
|
#10
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|