Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-10-23fix some typo'sCampbell Barton
2011-10-22Render API: add update_progress() function to update progress bar progress fromBrecht Van Lommel
external render engines. Also refactoring to move some render engine registration stuff out of RNA and into render module.
2011-10-22Code refactoring: move external engine functions into own file.Brecht Van Lommel
2011-10-22Code cleanup: file operations merged into single header, some function namesBrecht Van Lommel
made less cryptic and changed to indicate if they work on files or directories.
2011-10-22Code cleanup: remove BLI_exist, now there is only BLI_exists. One function justBrecht Van Lommel
called the other, they did the same thing.
2011-10-21Code cleanup: don't use btempdir/bprogdir/bprogname globals anymore, but wrapBrecht Van Lommel
in BLI_ functions.
2011-10-20Fix #28938: Black frames when composite output node even with disabled nodesSergey Sharybin
2011-10-20strcpy() --> BLI_strncpy(), where source strings are not fixed and target ↵Campbell Barton
size is known.
2011-10-19Adds an update flag to the bNode struct (similar to bNodeTree->update).Lukas Toenne
This prevents access to non-existent typeinfo during type initialization, when node types have been removed and such nodes are deleted from older files. All blenkernel functions now only set the node->update flag instead of directly calling the update function. All operators, etc. calling blenkernel functions to modify nodes should make a ntreeUpdate call afterward (they already did that anyway). Editor/RNA/renderer/etc. high-level functions still can do immediate updates by using nodeUpdate and nodeUpdateID (replacing NodeTagChanged/NodeTagIDChanged respectively). These old functions were previously used only for setting compositor node needexec flags and clearing cached data, but have become generic update functions that require type-specific functionality (i.e. a valid typeinfo struct).
2011-10-17fix spelling mistakes in comments (and in some python error messages), ↵Campbell Barton
nothing to effect translations.
2011-10-03add macro OB_TYPE_SUPPORT_MATERIAL, type checks were being done inline, some ↵Campbell Barton
comparing range, some using ELEM#(), once was missing metaball check.
2011-09-30Bump maps flip: now white means salience, black means concavitySergey Sharybin
Files created in blender before this revision should be rendered in exactly the same way they used to render before. Patch by Morten Mikkelsen, finished by Ton and me.
2011-09-28Fix #28728: volume precaching took a long time with many objects, changedBrecht Van Lommel
threading to no longer sleep 50ms for each object, using work queue now. Also it was showing SSS preprocessing while actually doing Volume precaching, fixed as well.
2011-09-26replace strncpy with BLI_strncpy, in some cases strncpy was being misused ↵Campbell Barton
since it doesnt ensure \0 termination. also dont call CTX_data_scene() twice when checking for function arguments.
2011-09-26bugfix [#28744] Object mapped textures (decals) in linked files are not ↵Campbell Barton
rendered properly
2011-09-25whitespace cleanupCampbell Barton
2011-09-24edits to internal renderer - no functional changes.Campbell Barton
- move some larger vars into a nested scope. - replace memset with zero initializer. - rempace VECCOPY macros with copy_v3v3 - change function args to give the float array length.
2011-09-22remove redundant code & use GL_LINE_STRIP for object spiral drawing.Campbell Barton
2011-09-22Remove checks for voxel data when texture type is known.Sergey Sharybin
2011-09-22clear up some warnings.Campbell Barton
2011-09-22addendum to prev bugfix on texture space bumpMorten Mikkelsen
2011-09-22comment some unused vars / assignments.Campbell Barton
2011-09-20tag & comment unused vars with /* UNUSED */Campbell Barton
2011-09-20changes for materials to treat them as shorts not int/chars (since they are ↵Campbell Barton
stored as shorts intermally) - converting nurbs to mesh was casting the material to unsigned char. - subsurf was casting to char, then int -> short in a loop. - have material functions take & return shorts.
2011-09-20tidy upCampbell Barton
- quiet some warnings - set some functions static - replace materialbyname with generic BLI_findstring call
2011-09-19cleanup endian handlingCampbell Barton
- define __BIG_ENDIAN__ or __LITTLE_ENDIAN__ with cmake & scons. - ENDIAN_ORDER is now a define rather than a global short. - replace checks like this with single ifdef: #if defined(__sgi) || defined (__sparc) || defined (__sparc__) || defined (__PPC__) || defined (__ppc__) || defined (__hppa__) || defined (__BIG_ENDIAN__) - remove BKE_endian.h which isn't used
2011-09-17use macros RAD2DEG & DEG2RAD rather then multiplying by 180.0/M_PI or M_PI/180.0Campbell Barton
2011-09-17use const and array size in function definitions, no functional change.Campbell Barton
2011-09-17correction to recent commit, wouldnt have given any troubles but was ↵Campbell Barton
assigning the 4th component of a float[3].
2011-09-16use replace 0 with NULL for pointers, set some functions staticCampbell Barton
also fixed own errors in recent static check commit.
2011-09-16replace macros with math lib functionsCampbell Barton
2011-09-16- fix for access past the buffer size (paint / sculpt used some 2d vecs as 3d)Campbell Barton
- remove redundant NULL checks on old code where it would crash if the result was NULL later on. - add some missing NULL checks.
2011-09-12use vector size and const args where possible (no functional change)Campbell Barton
2011-09-12Fix for bug #28332: Smoke Simulation rendering artifacts.Miika Hamalainen
Volume pre-caching altered shared data simultaneously in multiple threads, causing invalid scattering results when "Asymmetry" value was used. The view vector is now passed as a function argument.
2011-09-12replace VECCOPY -> copy_v3_v3, added copy_v*_v*_short too for typesafe ↵Campbell Barton
copying, some parts of the code are copying float -> short normals without scaling. fix coming next.
2011-09-11fix for error in own commit r40108.Campbell Barton
2011-09-11minor edits / cleanup - no functional changes.Campbell Barton
- use 'const float *' and array size in some function declarations. - replace macros for BLI_math functions INPF, VECCOPY, VECADD etc. - remove unused VertRen.clip struct member. - remove static squared_dist() from 2 files, replace with BLI_math function len_squared_v3v3(). - use vertex arrays for drawing clipping background in the 3D viewport.
2011-09-06Fix for multiple parallel group node executions.Lukas Toenne
This would previously break because begin/end functions for each tree type still have some checks of the ntree->execdata pointer in them, despite the intended use of execdata instances instead of trees themselves for execution data storage. This is an artifact of the old execution system that required these checks to be made in the functions to avoid multiple execution of top-level trees. Now these functions take an additional argument, so group nodes can prevent them from setting and checking the nodetree->execdata pointers.
2011-09-06Merged the particles-2010 branch with node improvements into trunk.Lukas Toenne
This branch adds mostly organizational improvements to the node system by renaming the node folders and files. A couple of internal features have been added too. Detailed information can be found on the wiki page: http://wiki.blender.org/index.php/User:Phonybone/Particles2010
2011-09-02minor warning fixes, also correct some float -> double promotions in ↵Campbell Barton
shadeoutput.c
2011-09-01spaces -> tabs (configure you're editors right!)Campbell Barton
2011-09-01fix for error in patch from r39821.Campbell Barton
2011-08-31patch [#28218] During-render callback functionalityCampbell Barton
from Jesse Kaukonen (gekko) --- text from the patch. Recently Campbell Barton added callback functionality for Python's usage, but this only includes pre- and post-render callbacks. There are no callbacks for the duration of the render. This patch adds the few lines required for executing a callback while Blender Render is working. The callback resides in the rendering pipeline stats function, so whenever statistics are printed, the callback is executed. This functionality is required if one wants to: 1) Observe what is happening while Blender is rendering via the command line 2) Add custom statistics that Blender prints while the renderer works 3) The user wants to continue executing his Python script without the code halting at bpy.ops.render.render() Personally I'm currently using this for printing out more detailed progress reports at Renderfarm.fi (such as CPU time, time spent rendering, total progress in regards to the entire rendering process). Tested on Windows, Linux and OS X. Example on how to use the callback: def statscall(context): print("Thanks for calling!") bpy.app.handlers.render_stats.append(statscall) bpy.ops.render.render(animation=False, write_still=True)
2011-08-31catch exception and report an error when failing to write exr files - was ↵Campbell Barton
crashing with debug builds.
2011-08-30* Merge trunk up to r39790.soc-2011-pepperJoerg Mueller
* Subversion bump (also for init_userdef_do_versions). * Minor fix for compilation without ffmpeg.
2011-08-29patch [#28355] Better Environment Map scriptingCampbell Barton
from Tom Edwards (artfunkel), with minor edits. This patch makes the following improvements to environment map scripting: * Adds a "is_valid" RNA property to envmaps. True if the map is ready for use, False if it needs rendering. * Adds a "clear" RNA function to envmaps. Deletes any envmap image data. * Adds a "save" RNA function to envmaps. Writes the envmap to disc with a configurable layout. (Defaults to the current hard-coded layout.) * Updates bpy.ops.texture.envmap_save with configurable layout support as above. These changes, particularly configurable layouts, make exporting envmaps to other software much easier.
2011-08-28- use static vars and functions where possible.Campbell Barton
- use NULL rather than 0 when used as pointers.
2011-08-27bugfix for procedural textures used as bumpmap with osa not rendering right, ↵Campbell Barton
also remove redundant assignment.
2011-08-25Fix for [#28239] Particles Billboard 3x3 Split Error.Janne Karhu
* Patch by Alex Fraser.
2011-08-23Merging trunk up to r39637.Joerg Mueller