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
2013-03-14Border rendering now works for all scenes used in compositor,Sergey Sharybin
before this only active scene would be rendered with border. When do_render_fields_blur_3d() is finished, it'll modify render's display rect so it'll correspond bordered render result placed on black backgrund. Actual border is stored nowhere, which makes it only way to re-calculate disprect for all other renders used in compo based on source. Not so big deal actually. Also needed to modify Cycles a bit, because before this patch it used border settings from scene being rendered. Now made it so render data is passing to external engines. Using a property inside RenderEngine structure for this. Not best ever design for passing render data, but this would prevent API breakage. So now external engines could access engine.render to access active rendering settings. Reviewed by Brecht, thanks!
2013-03-13Fix for build error with previous commit, seems the order of #includes ↵Brecht Van Lommel
matters here.
2013-03-10More UI message i18n fixes and improvements...Bastien Montagne
Rendering messages are now translatable.
2013-03-09code cleanup: favor braces when blocks have mixed brace use.Campbell Barton
2013-03-08code cleanup: 0 --> NULLCampbell Barton
2013-03-08style cleanupCampbell Barton
2013-03-07Change !BLI_ghashIterator_isDone to BLI_ghashIterator_notDone. It isAntony Riakiotakis
always used in that context so we can at least avoid reverting it twice :p.
2013-03-05code cleanup: also change BKE_blender.h BLENDER_VERSION_CHAR to 'a' so as ↵Campbell Barton
not to confuse things.
2013-03-05patch [#34103] path_util_split_dirstring.patch, ↵Campbell Barton
path_util_split_dirstring_2.patch, path_util_split_dirstring_3.patch from Lawrence D'Oliveiro (ldo) Get rid of BLI_splitdirstring, replace with calls to BLI_split_dirfile, BLI_split_dir_part and BLI_split_file_part as appropriate.
2013-03-05patch [#34103] fileops_1.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) Add comments and use of bool type in fileops.c
2013-03-05patch [#34103]Campbell Barton
from Lawrence D'Oliveiro (ldo) More use of bool type, necessitating adding inclusion of BLI_utildefines.h, or moving it up in the inclusion order if it was already included, in various places - storage.c: make some variables only used in bli_builddir local to that - storage.c: BLI_file_descriptor_size should allow 0 as a valid file descriptor - path_util.c: make pointers to non-reentrant storage returned from folder routines const, necessitating making variables holding these returned pointers const elsewhere as well - path_util.c: BLI_string_to_utf8 closes iconv context in case of conversion error - blf_lang.c: fill_locales routine now has its own "languages" local variable to construct paths (was stealing internal storage belonging to BLI_get_folder before)
2013-03-04Fix for image transparency backwards compatibility. Now the texture ↵Brecht Van Lommel
datablock has a Use Alpha option again. This makes the case where you enabled Premultiply on the image and disabled Use Alpha on the texture work again. That's mostly useful when you have a straight alpha image file which has no useful RGB colors in zero alpha regions (e.g. renders). Then sometimes you don't want to use the alpha for the texture stack mixing, but you still want to multiply it into the RGB channels to avoid a blocky transition into zero alpha regions. This also removes the version patch that copied image datablocks because it's not reliable and might be causing bug #34434. This does mean we are no longer backwards compatible for cases where two different texture datablocks with Use Alpha enabled and disabled where using the same image.
2013-03-04Fix #34501: Painting on image editor with texture brush causes memory leaks ↵Sergey Sharybin
in render module Issue was caused by svn rev54721 where donequeue wasn't fully handled in cases rendering was canceled, which lead to some render results unfreed.
2013-03-03code cleanup: ~400 duplicate lines for AO form factor math.Campbell Barton
2013-02-28More UI messages fixes...Bastien Montagne
2013-02-27Fix various warnings with clang build, and adjust cmake clang warnings flagsBrecht Van Lommel
to include a few more that gcc is using too.
2013-02-22Fix #34351: Displacement map Bake margin does not workSergey Sharybin
2013-02-21Blender Internal: optimization to remove sleep() calls from the render threadingBrecht Van Lommel
code. This gives a speedup up to a couple of seconds based only on the image resolution and tile size. For complex renders a second or two is not so noticeable but for quick ones it's nice to save some time. On the default cube this gives me about half a second speedup. Patch by Johan Walles, based on the render branch implementation by me.
2013-02-21code cleanup: remove unused runtime var - World.fastcolCampbell Barton
2013-02-20Fix visible seams on normal map bake due to clear colour being black:Antony Riakiotakis
This is a special case, tangent space normal maps should be cleared to 0.5, 0.5, 1.0. This is good practice but there's no reason why not to automate this (for artists whose bump map fu may be a bit shallow). Thanks to Morten Mikkelsen for reporting.
2013-02-14Divide by 3 instead of multiplying by variations of 0.333Sergej Reich
Fixes small precision problems.
2013-02-13remove redundant if statement.Campbell Barton
2013-02-12Bug fix #34213 (2)Ton Roosendaal
Adding non-RGBA float buffers as texture crashes MipMap code. Images with less than 4 channels not supported (yet). Not sure if we ever should even... normals, Z, vectors, UV, Index, all don't like downsampling.
2013-02-11Fix #34194: Render Layer node didn't initialize color management flag properlySergey Sharybin
Bang! How we didn't notice this for so long -- seems scenes came from render layer node were rendering as if color management disabled (byte image wouldn't be linearized).
2013-02-11style cleanup: also some typosCampbell Barton
2013-02-10Fix #34186: VSE: Incorrect movie output when scene strip is muted by keyframeSergey Sharybin
2013-02-08Corrections to alpha pipeline do_versionsSergey Sharybin
Basically they're aimed to solve issues when scene with sky was used for compositing. If compo used alpha output result of current trunk would be completely different form hwo it was before. Two heuristics here: - If there's no world or world color is black, it completely equals to straight alpha mode, no further magic is needed to preserve compatibility - If scene is used as Render Layer node and something is connected to Alpha output of this node, ensure alpha mode for this scene is set to Premultiplied. Basically it shall give better compatibility and make 4K mango project just happy! :)
2013-02-08fix for error in own recent commit, null check before assignment.Campbell Barton
2013-02-07Fix #34156: Spec. and Alpha Intensity OpenGL issueSergey Sharybin
Issue was caused by alpha pipeline cleanup: apparently depending on use_alpha flag different channels for spec/alpha would be used. Made it so talpha is computed from Image->ignore_alpha instead of always considering to be TRUTH. This is not so much trivial to understand what's going on here, but it's not new issue. Anyway, if someone have got ideas how to improve feedback here -- ideas are welcome! For now only regression is fixed.
2013-02-06fix for crashes running some operators in background mode and some divide by ↵Campbell Barton
zero errors.
2013-02-06fix [#34125] Crash when bake margin = 0Campbell Barton
regression since 2.65, just missing NULL check.
2013-02-05remove stringify macro from alloc'sCampbell Barton
2013-02-05fix [#34105] bake artifactsCampbell Barton
different threads could allocate the mask buffer and overwrite the same pointer, regression since 2.65
2013-02-04style cleanup: spaces -> tabsCampbell Barton
2013-02-02style cleanupCampbell Barton
2013-02-02style cleanup: also correct doc example for 'foreach_get/set'Campbell Barton
2013-01-28Fix #34004: crash when canceling ongoing render with scene stripSergey Sharybin
Issue was caused by recursive call of RE_BlenderFrame. Solved by reshuffling image pool init/free in do_render_all_options. Should be harmless, but doublecheck on this is welcome.
2013-01-25header cleanup, include BLI before BKE, also use bool for ntreeShaderExecTreeCampbell Barton
2013-01-24UsabilityTon Roosendaal
- Cycles materials now render in Blender Internal too, skipping the nodes. Not very useful, but at least things then show up on renders and in previews. - Node editor: if wrong shader nodes are in a tree, they draw with thene color RED ALERT headers now. (Switching render engine will show it).
2013-01-24fix for G,G causing vertex slide in UV/Image window, also comment unused ↵Campbell Barton
defines/enums.
2013-01-24Fix threading issues of viewport rendering when using movies/generated imagesSergey Sharybin
Issue was caused by the fact that guarded allocator is not thread-safe and generated images/movies could allocate memory when loading pixels to Cycles. Currently solved by switching memory allocator to using mutex lock (the same as sued for jobs) when viewport rendering is used. Nicer solution would be to make guarded allocator thread-safe by using atomic operations and lock-free lists, but that's more serious change.
2013-01-24style cleanup: bakeCampbell Barton
2013-01-23Code cleanup: move render baking code into own file.Brecht Van Lommel
2013-01-23Fix small issue found in vertex color bake bug that caused the result to beBrecht Van Lommel
different each time, due to float precision issues. The camera matrix itself should not be modified in render, just its copy.
2013-01-23fix for glitch with vertex bake:Campbell Barton
- the mesh would be tagged to update, then updated before bake finished. - also increase self-shadow offset, in some cases the offset wasn't enough.
2013-01-23fix [#33729] Shadows produce artefacts in vertex colour bakingCampbell Barton
2013-01-22Fix #33951: Only margin is correctly baked for non-displacement bakingSergey Sharybin
Was own mistake in recent changes.
2013-01-22Fix projection texture painting crashSergey Sharybin
It was caused by own mistake by not noticing externtex is used not only by render engine. Now this function uses pool passed as argument rather than using R.pool.
2013-01-21Multires baker: fix wrong normalization if baking happens to multiple imagesSergey Sharybin
Previously normalization will happen per image buffer individually, which was wrong in cases different faces of the sane mesh uses different images. Also solved possible threading issues when calculating min.max displacement.
2013-01-21Multires baker: fix bad face->grid index conversion for displacement bakerSergey Sharybin