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-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
2011-08-22glsl and render support for derivative mapsMorten Mikkelsen
2011-08-21Fix #28154: linux3-config.py doesn't existSergey Sharybin
Change OURPLATFORM from "linux<major_version>" to simple "linux". Since new policy for linux kernel versions that major version in platform doesn't make much sense for building rules so the same rules could be used for both of linux2 and linux3 now/ Tested on both of linux2 and linux3 systems.
2011-08-20floats were being promoted to doubles in quite a few cases (using gcc's ↵Campbell Barton
-Wdouble-promotion), went over render module and use float constants, gives small but consistent speedup - approx 3%.
2011-08-19warning cleanup for -Wdouble-promotionCampbell Barton
2011-08-18bugfix: genx and geny are not the image resolution. Texture space variant ↵Morten Mikkelsen
needs this.
2011-08-16Merging trunk up to r39447.Joerg Mueller
2011-08-15Code cleanup: add UNUSED_FUNCTION macro to avoid warning messages about unusedBrecht Van Lommel
functions.
2011-08-03* Merging trunk up to r38981.Joerg Mueller
* Fixing a minor issue in a previous commit.
2011-08-03fix [#28151] export OBJ don't save the extensionCampbell Barton
also correct some typos
2011-07-30Merging up to trunk r38834.Joerg Mueller
2011-07-25Fix #28035: point density texture doesn't bake.Brecht Van Lommel
2011-07-24New dilation function from Morten Mikkelsen (aka sparky).Sergey Sharybin
This commit fixes very noticeable seams caused by margins calculated incorrectly. This commit changes way margin is calculated in and makes textures really seamless. Also margin limited to 32 isn't good now -- artists are baking really large textures nowadays so margin is now limited to 64px. Thank you, Morten!
2011-07-24== RNA Property Updates get called by Animation System now ==Joshua Leung
This fixes bug #26764 and several others like it, where modifier properties (and others, but most visibly modifiers) would not do anything when animated or driven, as modifier properties require the RNA update calls to tag the modifiers to get recalculated. While just adding a call to RNA_property_update() could have gotten this working (as per the Campbell's patch attached in the report, and also my own attempt #25881). However, on production rigs, the performance cost of this is untenatable (on my own tests, without these updates, I was getting ~5fps on such a rig, but only 0.9fps or possibly even worse with the updates added). Hence, this commit adds a property-update caching system to the RNA level, which aims to reduce to the number of times that the update functions end up needing to get called. While this is much faster than without the caching, I also added an optimisation for pose bones (which are numerous in production rigs) so that their property updates are skipped, since they are useless to the animsys (they only tag the depsgraph for updating). This gets things moving at a more acceptable framerate.
2011-07-22fix [#27910] baking ambient occlusion, do not consider closer object for ↵Campbell Barton
blender 2.58a
2011-07-21Bugfix #28034Ton Roosendaal
Blender render optimizes alpha=0 materials away, unless it has a number of properties... but there wasn't a check for material being ray-mirror, it then should be rendered always.
2011-07-17cmake: cleanup include paths, some duplicates and going up some unneeded dirs.Campbell Barton
2011-07-17cmake source definitions:Campbell Barton
remove missing includes and use more strict formatting.
2011-07-13cmake option to build without smoke sim: WITH_MOD_SMOKECampbell Barton
2011-07-11Fix for [#27293] Group Instance of particle system is rendered wrongJanne Karhu
* Silly mul_m4_v3 had turned into a mul_m4_v4 at some point!
2011-07-10Fix for [#26873] Animated displacement modifier on an object doesn't work ↵Janne Karhu
with hair particle objects * Noise is now considered an animated texture as it changes with every frame * Converted a few places in particles code to use the particle system's own random table instead of BLI_frand.
2011-07-09Fix #27888: Render artifacts in 2.58.1Sergey Sharybin
It was a regression introduced in rev36301. Average normal calcilation used to fail due to triangular faces which are too slight. Do not use triangles with too small area for average normal calculation.
2011-07-06The material index did not work when FSAA was turned on.Jeroen Bakker
The information was written in the temp exr files, but was not read back. After checking I saw that the pass was not merged back in the rendercore. After adding this it worked. tested with all FSAA settings.
2011-07-06Fix #27873: nan pixels in render with degenerate faces.Brecht Van Lommel
2011-07-04Updated the indent, sorry!Jeroen Bakker
2011-07-04Current situationJeroen Bakker
A mesh can consist out of multiple material. Take a character with clothing's. the skin can be a different material as the different clothing's. During compositing it is a common use-case to only do a part of the composit on only a specific material. Currently this can not be done. In blender movies this feature is known to be implemented, but until now it never got integrated into trunk. Proposal With material index the Blender internal renderer will be capable of creating a buffer containing the material indexes of the first pixel-hit. This will be implemented in the same manner as the object index. In the compositor the ID Mask node can be used to extract the information out of the Render pass. Impact User interface On the properties-space the next changes will be done Scene⇒Render layer⇒Passes⇒Material index will be added Material⇒Options⇒Pass index will be added DNA Material struct will get an new field called “index”. this will be a short-type. Material struct the field pad will be removed. A new Render-layer pass will be added (bit 1«18) RNA Material RNA is updated (based on “pass index” from object) Render layer RNA is updated (based on IndexOB) Blender internal renderer The Blender internal renderer will process the render pass as a copy of the Object index. Blender compositor The render layer input will get a new output socket called “IndexMA” Usage An example on how to use material index can be found at: https://svn.blender.org/svnroot/bf-blender/trunk/lib/tests/compositing/composite_materialindex.blend This is also example of a commit message longer than the commit itself :)
2011-06-30fix/workaround [#27807] bake malloc loop if Deep Shadow && strand && childrenCampbell Barton
render strands use the window matrix and window size which were both zero while baking, this caused divides by 0 and eternal malloc loop. So set unit window matrix and dummy view size. This is more a workaround then a fix but avoids crashing.
2011-06-30minor edits, no functional change.Campbell Barton
2011-06-28RenderEngine API: add self.report() error reporting function for render engines,Brecht Van Lommel
works the same as for operators. Also includes some refactoring of render error reporting code to use ReportList.
2011-06-28fix [#27782] Tileable displacement map issue in Blender 2.58Campbell Barton
this bug was introduced in 2.58 (r37342), when adding filtering support to imagewrap(), the problem is boxsample was getting float values which were not wrapped as int values are.
2011-06-25Fix [#27748] undeterministic behaviour of volumetric rendererMatt Ebb
* Made clearer in the UI that the approximate multiple scattering always enables light cache * Fixed a potential problem in anisotropic scattering
2011-06-24own patch [#27752] Python Callback (Scriptlink functionality)Campbell Barton
Python: * adds bpy.app.handlers which contains lists, each for an event type: render_pre, render_post, load_pre, load_post, save_pre, save_post * each list item needs to be a callable object which takes 1 argument (the ID). * callbacks are cleared on file load. Example: def MyFunc(scene): print("Callback:", data) bpy.app.handlers.render_post.append(MyFunc) C: * This patch adds a generic C callback api which is currently only used by python. * Unlike python callbacks these are not cleared on file load.
2011-06-24fix [#27746] Black and White Render doesn't work and/or Saves as a Blank screenCampbell Barton
convert to grayscale when saving renders rather then only writing the red channel.
2011-06-23More flexible size options for particle billboards. This adds scale factors ↵Lukas Toenne
for width and height of billboards, relative to the particle size. It's useful when the particle size is primarily used for collision and the like, so the billboard appearance can be adjusted independently. Also allows non-square billboards. In addition the billboards can be scaled by the particle velocity with optional head and tail factors (similar to line drawing options). This allows for pseudo-motionblur effects.
2011-06-20Bugfix #27692Ton Roosendaal
Render + compositing error: When adding renderlayer nodes in a composite, without having own scene render, the renderlayer nodes were not tagged as changed, causing compositing to give previous result.
2011-06-20fix for incorrect bake api usage. but not a bug.Campbell Barton
2011-06-20since render branch isnt planned to be merged now, enable strict warning ↵Campbell Barton
flags for cmake and tag unused vars.
2011-06-20small fix, This enables correction of the tangent when normal mapping is in ↵Michael Fox
use and tangent lighting will be used
2011-06-20small safety fix for recent commit to normal mapping (uninitialised variables)Michael Fox