Commit Graph

26 Commits

Author SHA1 Message Date
Martin Poirier
c9d2a1b71b bug fixes and small changes 2009-08-30 02:40:42 +00:00
Martin Poirier
afee963155 First commit draft for network rendering.
Docs are here: http://wiki.blender.org/index.php/User:Theeth/netrender

Should be easy to test if people want too, just follow the instructions on wiki

Code is still very much in flux, so I'd like if people would refrain from making changes (send patches directly to me if you must).

The UI side is very crap, it's basically there just to get things testable. See wiki for known bugs.
2009-08-29 17:25:22 +00:00
Campbell Barton
9ea58be54e - povray and ply work now.
Again, please try not to break scripts - at least grep the release dir for the names you change.

- rna material property rename
  gloss_amount -> gloss_factor, since its from 0.0 to 1.0, prefix factor is used on other material settings.
  reflectivity -> reflect_factor
2009-08-28 14:25:17 +00:00
Campbell Barton
bb4f5801d1 revert previous change, povray rendering works again, somehow I managed to render with previous changes
(probably failed to reload the module and was using the register un-modified version)
2009-08-23 18:20:31 +00:00
Campbell Barton
834f509c5a missed this in last commit. 2009-08-23 12:50:08 +00:00
Campbell Barton
7a0e545c64 use class __props__ for povray settings. 2009-08-22 17:50:10 +00:00
Campbell Barton
fe0dfc2315 use '' for enums rather then "" 2009-08-22 08:48:01 +00:00
William Reynish
ff27281f2e changed layout of PovRay radiosity panel to be more consistent with other render panels 2009-08-20 15:58:28 +00:00
Campbell Barton
680f88017f updated for new transparency RNA names 2009-08-19 01:11:18 +00:00
Brecht Van Lommel
990dcd0f7f 2.5:
* Split Info and User preferences into two separate spaces.
* Renamed Buttons Window to Properties also in RNA identifiers.
2009-08-18 12:58:51 +00:00
Brecht Van Lommel
d35a42d3e6 2.5: Render Api
* Add RenderResult.load_from_file to load whole multilayer exr's at once.
* Removed x/y offset from RenderLayer.load_from_file, better to encourage
  using offset in begin_result() to minimize memory usage.
* Added WITH_OPENEXR in some screen/file/image module for scons/make, exr
  was not working in some places there.
2009-08-16 22:53:15 +00:00
Campbell Barton
d53e82cbca povray integration
- declare materials and reference them later
- support ray-transp filter setting
- blobs pigment wasn't working right
2009-08-09 07:09:32 +00:00
Campbell Barton
917fce65a6 Povray
* Sun lamp type export (known as parallel lights in povray)
* Native support for blenders metaballs, currently exports
 - ball and ellipsoid types
 - radius, stiffness
 - ellipsoid xyz scale
 - negative elements
 - single material (like blender)

Renamed rna props.
 elem.sizex -> size_x
 mball.last_selected_element ->  mball.active_element

minor changes to UI scripts.
2009-08-07 01:05:33 +00:00
Campbell Barton
042fe910aa - fix for a crash in readfile.c, thanks Roelf for finding.
- add media option for povray
- remove unintentional line from modifier script
2009-08-06 23:19:05 +00:00
Campbell Barton
ec4904a9fe Support for povray radiosity settings, adjust in scene panel. 2009-07-30 11:05:45 +00:00
Campbell Barton
ade8f5197a Engine specific panel's
- All of this is in python and easy to change.
- each panel class has a set() of compatible engines.
- this set is checked for the poll function
- external engines can add themselves to this panels compatible engines
eg.
 buttons_world.WORLD_PT_mist.COMPAT_ENGINES.add('POVRAY_RENDER')

I tried doing this by subclassing each panel and replacing only the poll function to reference 'POVRAY_RENDER' but it became fairly complicated and meant registering many of the same panels under different names.

Added mist support to povray.
2009-07-30 08:10:10 +00:00
Campbell Barton
cacc5f782a - console remove doubles with command history
- povray file removal was uncommented
2009-07-29 00:37:37 +00:00
Campbell Barton
b073fe336c - UVs weren't exported correctly.
- check for user quit while povray is parsing the file.
- detect if povray cant parse the file and exit the render loop.
2009-07-28 19:32:46 +00:00
Daniel Genrich
561db001cc PovrayRenderEngine: Should now work with win32 and win64 povray installations 2009-07-28 17:22:49 +00:00
Campbell Barton
0b3eb956c4 wrote images with the wrong extension (still ran), but is confusing. 2009-07-28 06:12:58 +00:00
Campbell Barton
37b49492a8 simple povray render integration.
Supports...
- camera/lamp/mesh object types
- meshes with modifiers applied, normals/uv/vertex colors
- materials, reflection, transparency
- spot/area/point lamps, samples, raytrace options
- scene render size, AA setting

Details...
- Doesn't need any 3rd party modules.
- Runs povray from the subprocess module, updating the image from a TARGA.
- Currently no UI panels or support for custom settings.

This could be used as an example for other scripts.
2009-07-28 05:51:38 +00:00
Campbell Barton
9dc819a56d readonly face normal option eg.
me.faces[0].normal
2009-07-27 18:17:21 +00:00
Campbell Barton
d9a7e5144f Python operators
- simplified C operator API bpy.__ops__ since its wrapped by python now.
- needs the class to have an __idname__ rather then __name__ (like menus, headers)
- convert python names "console.exec" into blender names "CONSOLE_OT_exec" when registering (store the blender name as class.__idname_bl__, users scripters wont notice)
- bpy.props.props ???, removed
2009-07-19 13:32:02 +00:00
Campbell Barton
a42b436a98 PLY export, use the file selector and added operator options 2009-06-20 16:08:01 +00:00
Campbell Barton
ed2887f720 updated the ply exporter to use the blender 2.5 python api
Note's
* exports the mesh without modifiers or transformations applied
* supports UV's vertex colors
* no support for normals yet (missing from data api)
* registers an operator called EXPORT_OT_ply
* no file selector yet. can only fun from python currently
  bpy.ops.EXPORT_OT_ply(filename="/tmp/test.ply")
* removed double lookups on the vertex dict, build face verts to write allong the way.
2009-06-20 14:01:34 +00:00
Campbell Barton
f7c0d1b550 moving the existing ply exporter into io before updating (to get a useful diff) 2009-06-20 13:55:47 +00:00