Revision 8a35439 by Campbell Barton July 1, 2009, 13:07 (GMT) |
converting nurbs to a mesh ignored smoothing for Alt+C and from pythons getFromObject() |
Revision 1b557a6 by Andre Susano Pinto July 1, 2009, 12:36 (GMT) |
fixed ray mirror/trans shadow on rayobject_bvh |
Revision 82055c8 by Brecht Van Lommel July 1, 2009, 12:19 (GMT) |
RNA * Mesh.add_geometry, Mesh.update and make indices editable. This is without checking if they are valid still, no time now to implement this. * Also fix warnings in rna_ui.c, and a bug in CDDM_calc_edges. Example code: co = [0.0, 0.0, 0.0] + [1.0, 0.0, 0.0] + [0.0, 1.0, 0.0] + [1.0, 1.0, 0.0] faces = [0, 1, 2, 0] + [1, 3, 2, 0] mesh.add_geometry(4, 0, 2) mesh.verts.foreach_set("co", co) mesh.faces.foreach_set("verts", faces) mesh.update() |
Revision 91226e6 by Andre Susano Pinto July 1, 2009, 11:27 (GMT) |
*Added rayobject_bvh A bvh structure to use on the raytracer |
Revision 66c8627 by Joshua Leung July 1, 2009, 01:17 (GMT) |
NLA SoC: Renamed a few options for the Mirror operators since their purpose wasn't clear (in practice) |
Revision 0fabb20 by Nicholas Bishop June 30, 2009, 23:06 (GMT) |
2.5/Sculpt: == Re-added smooth stroke == UI: toggle is just in the sculpt menu for now. Also changes the sculpt paint cursor slightly, draws a line between previous and current locations. It's a different implementation than in 2.4, works like this: The stroke interpolates between the last mouse location and the current location, weighted towards the previous location. If the stroke gets within a certain radius of the current mouse location, the stroke stops. This radius allows for sharp turns in the stroke. Todo: there are two hard-coded parameters that should become user settable, that's the weighting between previous and current locations, and most important, the no-update radius. Note also that this option was added as a per-brush flag, worth discussing whether that's the correct place, or whether it should be a sculpt setting like symmetry? == Improved stroke spacing == The previous implementation of stroke spacing simply guaranteed that stroke dots would not occur any closer than the space setting. It now forces stroke dots to always be the specified distance apart. Todo: Performance gets pretty awful with a small spacing setting, this needs optimization. |
Revision 1deba75 by Andre Susano Pinto June 30, 2009, 22:07 (GMT) |
*Added initial code of rayobject_rtbuild An helper class to build trees |
Revision 5403edf by Campbell Barton June 30, 2009, 21:59 (GMT) |
disabling foreach_get/set for python2.x, since it uses new buffer api. |
Revision 60c2599 by Andrea Weikert June 30, 2009, 20:34 (GMT) |
2.5 filebrowser * show only name of the last directory for the bookmark * small fix of projectfile: header BLI_fileops.h was moved Note: full path should appear in tool tip later, also for renaming bookmarks later on. |
Revision 406b16e by Andrea Weikert June 30, 2009, 20:31 (GMT) |
2.5 MSVC projectfiles * small maintenance: editors/info_header.c removed, editors/info_ops.c added |
Revision 03e11e1 by Tom Musgrove June 30, 2009, 20:14 (GMT) |
Reverting changes made for laptop/two button mice - will make the changes available as a patch. |
Revision d8313b7 by Arystanbek Dyussenov June 30, 2009, 19:37 (GMT) |
Exporter: - texture/UV set binding - extract names correctly from id.name - output <unit name="meter" meter="1"/> in <asset>, dunno if this fits Blender |
Revision a50dfe7 by Shaul Kedem June 30, 2009, 19:29 (GMT) |
second part of python2.6 upgrade in cmake, now it will copy the dlls too |
Revision 37864a4 by Brecht Van Lommel June 30, 2009, 19:20 (GMT) |
2.5 Image Window * Unpack operator now works. * Some small layout code tweaks. Info Window Header * Moved to python UI code. * template_running_jobs, template_operator_search added. * Ported external data operators: pack/unpack all, make paths relative/absolute, find/report missing files. Also * Report RPT_INFO too, not only warnings and errors. * Run UI handle functions after RNA and Operators. * Rename particle system add/remove operators, to not include "slot", that's only there for materials because that's what they are called now in RNA. |
Revision 80ee09b by Brecht Van Lommel June 30, 2009, 19:10 (GMT) |
RNA * Add Image.dirty boolean. * Added Window struct, with editable Window.screen. * Make Screen.scene editable. |
Revision 538da84 by Andrea Weikert June 30, 2009, 18:29 (GMT) |
2.5 filebrowser * Hide dot operator (HKEY) for theeth |
Revision 3b0fafa by Andrea Weikert June 30, 2009, 18:20 (GMT) |
2.5 MSVC projectfiles * moving projectfiles to python 2.6 to avoid recurring issues with python migration |
Revision d37a8fb by Shaul Kedem June 30, 2009, 18:20 (GMT) |
windows cmake uses python26 now, make sure your lib/windows is up to date (requires an additional svn update, in lib/windows |
Revision 021e0cc by Andre Susano Pinto June 30, 2009, 14:05 (GMT) |
*reserved RayObject align offset 0 for private usage inside each structure point is that other structures like trees can then distiguish between other nodes or rayobject primitives withouth needing any other variable. (Note yet used but will reduce memory by a nice factor (linear to the number of primitives)) |
Revision 30dcada by Campbell Barton June 30, 2009, 12:52 (GMT) |
python access to RNA arrays. coords = array.array('f', [0.0]) * len(me.verts) * 3 m.verts.foreach_get('co', coords) the reverse works with set also. currently works for python buffers or sequences (slower) Quick speed test with 1,179,654 verts. *foreach_get* list 0.377 array 0.032 py 10.29 *foreach_set* list 0.184 array 0.028 py 9.79 where python was done like this... ---- i= 0 for v in m.verts: co = v.co l[i] = co[0]; l[i+1] = co[0]; l[i+2] = co[0] i+=3 ---- some of the error checking here needs to be cleaned up to account for different invalid bad inputs. |
|