Campbell Barton
d0e0f6dea3
move render operators into their own files, render_internal.c & render_opengl.c, rather then have them in the screen module.
...
also rename render operators SCREEN_OT_ --> RENDER_OT_
2010-03-08 16:36:53 +00:00
Martin Poirier
769eb45124
NetRender: Use threading mixin for master server. See if it solves latency issues that some people are having (always keep the stdout log from the master/client/slaves if you are reporting an issue).
2010-02-27 22:07:38 +00:00
Campbell Barton
bbf6dde277
rna/py api
...
rename image.save() --> image.save_render() because it uses render settings for saving.
added image.save() which is like pressing save in the image view, saving to the images path and removing the dirty flag.
2010-02-26 12:28:44 +00:00
Martin Poirier
d616286ffb
Adding back decorator (metaclass registration not in trunk yet)
2010-02-26 12:15:15 +00:00
Martin Poirier
59e2fdbf31
Netrender: check if library and image files exist before adding as dependency.
2010-02-26 02:37:31 +00:00
Campbell Barton
78bb45931c
scene.render_data -> scene.render
...
bpy.types.SceneRenderData -> bpy.types.RenderSettings
better do these changes before there are too many scripts out.
2010-02-23 12:48:35 +00:00
Campbell Barton
97bdfe6f1b
pep8 cleanup + correction for external player operator return value.
2010-02-22 23:32:58 +00:00
Campbell Barton
780aa24dfe
Netrender was reloading classes multiple times
2010-02-17 17:16:04 +00:00
Thomas Dinges
dbb6c54862
Netrender:
...
* Added File Path Button for the "path" property.
2010-02-15 02:53:36 +00:00
Campbell Barton
39c04315e2
change python scripts so modules which register with blender have a register() function rather then making import automatically run the register functions (generally considered bad practice by python people)
2010-02-14 11:21:21 +00:00
Campbell Barton
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00
Campbell Barton
95069f2909
pep8 changes
2010-01-31 14:46:28 +00:00
Martin Poirier
abd9a59af4
netrender: utility function to extract information from a blend file on disk. Used to get render resolution for jobs in the web interface (lazy init).
2010-01-25 21:10:33 +00:00
Martin Poirier
670d55f097
netrender: refactor thumbnail generation code. New option to generate the thumbnail on the slaves (per slave option, default off). Missing thumbnails are still generated on demand by the master.
2010-01-09 18:21:27 +00:00
Martin Poirier
eb2e64afa5
netrender: bugfix to make thumbnails work correctly when running master through the UI (not in background) [context is borked in that case]. Also show number of threads settings in slave settings (reusing render setting) and force that setting when rendering jobs.
2010-01-08 17:52:21 +00:00
Martin Poirier
ef8179f7cb
netrender:
...
thumbnails on the web interface (resized with imagemagick or compatible if present, fullsize otherwise)
Clicking on the "show" link shows the thumbnail associated with one frame. Clicking on a second one shows all frames in the range. Clicking on more frames extends the range. Clicking on a thumbnail (or on the show link of a visible thumbnail) hides all thumbnails.
2010-01-08 02:33:20 +00:00
Martin Poirier
f2ee251b64
netrender bug: master server clean on exit (off by default) was deleting on folder too low in the hierarchy (/tmp/ instead of /tmp/master_<pid>/). That was nasty but I'd be surprised if it affected anybody.
2010-01-07 19:01:43 +00:00
Martin Poirier
cfaa1e5db1
netrender
...
jpeg versions of the render results are downloadable from the web interface.
Notes:
1) They are generated (and written to disk) on demand on the master in the same Blender instance, so this will increase memory usage (until there's a way to free and image buffer from memory or it's run in a separate process).
2) They are darker then the real results, since multilayer exr contain the result before gamma correction (for the linear workflow) and that's not applied when loading them as an image.
3) They are NOT thumbnails, they are the same size as the results (albeit at 90% quality jpeg compression)
2010-01-07 18:54:47 +00:00
Martin Poirier
59ec8ee1ab
netrender: Ctrl-C correctly stops master in background mode (low level select was catching the break and spiting and exception)
2010-01-06 20:17:27 +00:00
Martin Poirier
a8c3831a1d
netrender:
...
Slave and Master options to delete files when closed (default True for slave, False for Master)
Web interface option to remove files (on master) when deleting a job (or all jobs)
Web interface button to pause a job
2010-01-06 18:56:24 +00:00
Martin Poirier
2ad69c23a0
netrender: UI layout reorganization and prettifying. Also better operator descriptions (tooltips). Based on a patch by DingTo.
2010-01-05 20:47:23 +00:00
Thomas Dinges
c95ad12dac
Netrender:
...
Tooltips for chunks/priority were swapped.
2010-01-04 22:41:21 +00:00
Campbell Barton
c79cf56b69
dict.get() defaults to None as the second arg. no need to supply it.
2010-01-04 21:10:51 +00:00
Martin Poirier
2034a77a45
netrender: reset server address on client when server is offline (on file load) as well as clear local caches (for slaves and jobs)
2010-01-04 21:05:52 +00:00
Martin Poirier
7c4e510492
netrender: edit balancing rules limits and enable/disable them from the web interface
2009-12-31 19:11:46 +00:00
Campbell Barton
58b1591ceb
netrender tab to spaces
2009-12-29 00:04:57 +00:00
Martin Poirier
54d64c4763
netrender: show web interface button in all modes. use rna decorator all the time (no need for special operator decorator)
2009-12-28 22:49:22 +00:00
Campbell Barton
bbe13e7823
* register operators like other classes
...
* operators now return sets (converted into flags)
* can't remove bpy_operator_wrap.c since macro's still use the custom register funcs
2009-12-24 19:50:43 +00:00
Martin Poirier
8f3a529585
netrender: display dispatching rules under master header. (read only for now)
2009-12-21 19:56:53 +00:00
Martin Poirier
fc1ede345d
netrender: visibility toggle for full list of fluid and cache files in the job web page
2009-12-21 18:14:39 +00:00
Martin Poirier
c050f5f1de
netrender
...
- Add "Get Result" button after a job has been sent (this calls Animate and fetches the results back as render result buffers)
- Rendering (animate or single frame) without an active job was broken. Note that this launches a new job for each frame (it's impossible in a render engine to know if an animation is being rendered or a single frame only).
2009-12-21 02:46:19 +00:00
Martin Poirier
5057ac80ee
netrender
...
- Patch by Olivier Amrein (prettying the web interface with css, fixing some notification bugs)
- More error checks on the slave (better behavior when job is canceled)
- Client: when using "Animate on Network" and canceling render midway, also cancel job. Use Send Job and Animate if you want a real background job.
2009-12-21 01:09:09 +00:00
Martin Poirier
85556a780c
netrender: buttons to change chunks, priority and reset job.
2009-12-20 21:46:39 +00:00
Martin Poirier
f3147db0e8
netrender: list files in job webpage
2009-12-19 22:36:20 +00:00
Martin Poirier
383f29ff37
netrender
...
Display job status in web interface
Better use of Reports api for errors and success notifications
Don't show some Client options if server address is default (hasn't been scanned or entered manually yet)
2009-12-16 21:00:25 +00:00
Martin Poirier
fabb36a98a
netrender: use reports to send error or success messages when sending jobs to server.
2009-12-16 18:26:27 +00:00
Martin Poirier
852a8b40f8
netrender: close server connections on break
2009-12-16 16:45:18 +00:00
Martin Poirier
e677e7e99a
netrender
...
buttons to cancel and reset jobs in the web interface
2009-12-15 18:09:01 +00:00
Martin Poirier
55898c04fd
netrender:
...
Add button to start Slaves and Master when in that mode (it's only calling render animation)
2009-12-15 03:25:26 +00:00
Martin Poirier
8828f92aad
Netrender internal refactor.
...
use a real object for files instead of a tuple
unique urls for files, logs and render results (just missing the proper mime type for exr files)
fix bug with slaves not getting the correct machine name
2009-12-14 23:09:08 +00:00
Martin Poirier
0efa09a676
netrender balancing fix (accessing the list as it is being sorted is not ok)
...
Caused balancing to error when there was only one job (and more generally, to have a slightly wrong result)
2009-12-13 22:24:30 +00:00
Campbell Barton
3449d3f9b3
use python3 syntax for defining a set.
2009-12-13 16:20:18 +00:00
Martin Poirier
8f2db59253
Netrender: categories and balancing by categories based on usage. Enables grouping of jobs in a single priority group. Jobs in the same category are still ordered by cluster usage.
2009-12-10 18:56:21 +00:00
Campbell Barton
b5740b0e77
remove ICON prefix from the enum, for python this is redundant eg.
...
layout.prop("setting", icon='ICON_BLAH_BLAH')
Also reverted previous commit, the cursor subtype just needed to be added to the switch statement.
2009-12-10 10:23:53 +00:00
Martin Poirier
c7c1fda642
Changes to netrender baking operator.
...
Force step of 1 for full baking.
2009-12-04 19:13:22 +00:00
Martin Poirier
d3d11ede44
Fix for cache path.
...
Operator for background baking (no support in netrender itself yet).
2009-12-04 01:28:00 +00:00
Campbell Barton
caab05ec8c
rna UI api rename...
...
note: this aims to follow pep8 however I chose to use 'prop/props' rather then 'property/properties' because it would make function names too long.
itemR() --> prop()
items_enumR() --> props_enum()
item_menu_enumR() --> prop_menu_enum()
item_pointerR() --> prop_pointer()
itemO() --> operator()
item_enumO() --> operator_enum()
items_enumO() --> operator_enums()
item_menu_enumO() --> operator_menu_enum()
item_booleanO() --> operator_boolean()
item_intO() --> operator_int()
item_floatO() --> operator_float()
item_stringO() --> operator_string()
itemL() --> label()
itemM() --> menu()
itemS() --> separator()
batch script used http://www.pasteall.org/9345
2009-11-23 00:27:30 +00:00
Campbell Barton
e52c5a338f
pep8 compliance, also removed use of exec() for netrender module importing
2009-11-19 23:59:37 +00:00
Martin Poirier
a73be8097d
Netrender cleanup and bug fix
...
Blacklist and linked files work again
Store temp data in module
2009-11-18 18:00:46 +00:00
Martin Poirier
5a6261afb3
Code cleanup in netrender
2009-11-18 17:07:42 +00:00