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
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-30Fix T39952: Printing tiles gives negative numbersCampbell Barton
2014-04-29Fix for wrong behavior of 'darken' blend mode with factor.Kevin Dietrich
The formula was not consistent across Blender and behaved strangely, now it is a simple linear blend between color1 and min(color1, color2). Reviewed By: brecht Differential Revision: https://developer.blender.org/D489
2014-04-29Fix T39940: animation of render layer on/off toggle not working during render.Brecht Van Lommel
2014-04-29Fix T39942: Displacement of group instance objects when switching to ↵Sergey Sharybin
textured viewport shading Usual dupli object issue, sometimes it's needed that all the object in dupli group have modified obmat. Made it an utility function now, which is used by convertblender and dupli draw code now.
2014-04-29Fix T39941: Freestyle: Rendered preview crashes when non-primary render ↵Tamito Kajiyama
layer is selected and disabled. Freestyle relies on render layer name (RenderLayer::name) to find the render layer that corresponds to a scene render layer being rendered. When the active render layer is disabled during preview rendering, the function render_result_new() populates the list of render layers (RenderResult::layers) with an unnamed render layer while setting the active scene render layer index to zero. This commit fixes the missing initialization of the render layer name by referring to that of the first in the list of scene render layers.
2014-04-29Code cleanup: remove redundant matrix initializationCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (render)Campbell Barton
2014-04-23Fix T39852: Crash (Blender internal) large objectsCampbell Barton
Add check when bounds reached inf
2014-04-23Add asserts to raytrace get/set_cut functionsCampbell Barton
2014-04-23Blender Internal: Add material property "Cast" which can disable both ray ↵IRIE Shinsuke
and buffer shadows. Also refactor: - Material property UI related to shadows - Preparation of OR-ed mode flags (ma->mode_l) of render materials Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D313
2014-04-21Follow up to previous commit: tweak RE_RAYTRACE_EPSILON (correction value usedBastien Montagne
when checking neighbor faces against shadowing).
2014-04-21Fix T39735: New auto smooth creates artifacts with flat shaded faces(BI)Bastien Montagne
This actually had nothing specific to new split normals, it was an internal limitation of BI raytracer, which would check against neighbor face shadowing only when they shared a common vertex, now it also performs checks when both faces have a vertex with a common "ancestor" (org index). Note this allows to also fix same issue when using SplitEdges modifier (and potentially others?), but only when AutoSmooth is enabled (due to some compute/mem overhead, we do not want to enable this code systematically). Thanks to Brecht for advices and review!
2014-04-20Code cleanup: correct abs useCampbell Barton
also minor cleanup to rotation code
2014-04-17BI: cleanup in autosmooth area.Bastien Montagne
2014-04-15Fix T37675: blender internal viewport render wrong for volumes after rotation.Brecht Van Lommel
We really should not have Object.imat_ren, that's the wrong place to put render data. But just update it now on rotation rather than doing a bigger refactor to remove it.
2014-04-13Split Normals I (4/5): Add support of split normals to BI renderer.Bastien Montagne
Note that this commit completely replaces old behavior of the auto_smooth feature in BI. Also note that split normals are only handled when no "advanced geometry post-processing" is used (something like Displace will obviously break it, since it has to re-compute normals after displacement...). Reviewers: brecht Reviewed By: brecht CC: campbellbarton Differential Revision: https://developer.blender.org/D368
2014-04-11Blender Internal: remove BLI BVH for raytracing.Brecht Van Lommel
It has no benefits over other BVH types, as far as I know it was only added because it was possible. This also fixes T39344.
2014-04-11Code cleanup: use boolCampbell Barton
2014-04-02Fix T39521: Render with two Blender processes on same computer: compression ↵Bastien Montagne
issues? We need to salt temp exr filenames with pid, else several instances of Blender rendering the same scene on same machine and using "Save Buffers" option would use the same files!
2014-04-02Rename "BLI_cpu.h" to "BLI_system.h" and add to it BLI_getpid() helper.Bastien Montagne
There is not much sense to have a whole BLI file just to check SSE2 on CPUs... So idea is to rename it to more generic "BLI_system", and add to it more system-related utils, like e.g. an include helper for getpid(), which allows to hide unix/windows internals from rest of the code... Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D439
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-30Style cleanupCampbell Barton
2014-03-30BLI_rand: Add BLI_rng_get_float_unit_v3, was static rayshade funcCampbell Barton
2014-03-28Code cleanup: use sqrtf when input and output are floatCampbell Barton
2014-03-26Code cleanup: add _v2 suffix to resolve_tri/quad functionsCampbell Barton
2014-03-20Code cleanup: use boolsCampbell Barton
2014-03-20Code cleanup: use true/false in sequencer functionsSergey Sharybin
2014-03-20Fix for crash happening on blender exit after the bakeSergey Sharybin
The issue is caused by 1a79abdad, and annoyingly it's a regression since 2.69, so if we do 'a', this commit should be ported there.
2014-03-19Fix T39233: Face assigned textures bake too brightSergey Sharybin
Shade input wasn't initialized properly for texture baking.
2014-03-18Fix T39136: DupliFaces: Inconsistent handling of group member typesSergey Sharybin
The issue was caused by assumption object matricies can be modified by DupliObject->obmat outside of the duplilist iteration cycle. This isn't really true. The thing is, old code used to modify object matrix based on the duplicated matrix to make it so modifier evaluation kind of works (it'll use proper matrix in most cases, but think there might be some cases when this assumption also breaks). Even when matrix is copied from dupliobject to object in advance (to mimic old behavior or dupli system) you're still to use matrix from dupliobject inside a cycle body. This is because the same object might be modified multiple times by different dupliobject. For example, in case of duplifaces loads of faces will modify object's matrix and before this change matrix from the last face would have been used. The fix is simple one-liner which makes it so render instance will use proper matrix from dupliobject. All the rest bits here (pre-loading matrices and restoring them in the reverse order) totally matches old behavior of duplilist. This is a regression and to be ported to 2.70 tag!
2014-03-18Code cleanup: jitter, use 2d float arrayCampbell Barton
2014-03-17Code cleanup: styleCampbell Barton
2014-03-12Followup for fix T38318: Add back previous fix and fix a glitch.IRIE Shinsuke
The previous fix 162d6c73e3d0 has been cancelled because it caused a problem that mesh deform cages and so on mess up the preview. To avoid the problem, viewport doesn't show mesh object if its draw type is bounding box or wireframe. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D375
2014-03-11Fix T39029: Blender Internal: Render tiles do not appear until render is ↵Sergey Sharybin
finished if Save Buffers enabled
2014-03-07Removing ParticleSystem->frand arrays to avoid memory corruption issuesLukas Tönne
in threaded depgraph updates and effector list construction. Gathering effectors during depgraph updates will call the psys_check_enabled function. This in turn contained a DNA alloc call for the psys->frand RNG arrays, which is really bad because data must be immutable during these effector constructions. To avoid such allocs the frand array is now global for all particle systems. To avoid correlation of pseudo-random numbers the psys->seed value is complemented with random offset and multiplier for the actual float array. This is not ideal, but work sufficiently well (given that random numbers were already really limited and show repetition quite easily for particle counts > PSYS_FRAND_COUNT).
2014-03-05Code cleanup: remove long unused gamma correction tablesCampbell Barton
2014-03-04Fix for regression noted in T38942: Blender Internal rendering can leadLukas Tönne
to wrong obmats of nested dupli objects. Restoring obmats after BI nested dupli object rendering has to happen in reverse order, so higher level omats are applied last.
2014-03-01NDOF: add navigation modes to user preferencesCampbell Barton
also comment debug prints for raytracing
2014-03-01Code cleanup: correct abs use and quiet warningsCampbell Barton
2014-02-28Blender Internal: Bring back previous behavior that rendered viewport uses ↵IRIE Shinsuke
render visibility rather than viewport visibility. Commit 162d6c73e3d0 changed the behavior of rendered viewport to use viewport visibility, but that can cause some problems. For example, mesh deform cage is drawn as a solid/textured mesh (not a wireframe mesh) and its unnecessary surfaces and shadows mess up the preview.
2014-02-26Fix for bug reported by Pablo Vasquez (venomgfx) on IRC: Single layerLukas Tönne
renders were broken. This was caused by rB1a79abdad2443ff9f12e7efd95ee78a264a9d60a which makes a copy of the render layer list for thread safety. The single layer passed to this function is still in the original list though, so to get the correct index it has to be looked up there. Otherwise no active index is set and all layers are rendered every time.
2014-02-26Fix T38726: missing rendered viewport update when removing render layer.Brecht Van Lommel
2014-02-26Fix T38831: blender internal enabling shadow pass changes material node diffuse.Brecht Van Lommel
It would include/exclude shadow depending on the pass being disabled/enabled, but that should have no influence on the combined render result. Now it always includes shadow.
2014-02-26Nicer solution to T38846: Split off the render layer forcing from theLukas Tönne
validity check for render operator. This way scene DNA can stay read-only there, cleaner and we don't have to pass an awkward bool pointer around.
2014-02-26Fix T38846: Render layer checkbox is not refreshed.Lukas Tönne
The render operator invoke checks render layers, which can force the render layer to be activated. This requires a notifier, which has to be done in the operator itself (can't do this inside pipeline code).
2014-02-24Fix T38801: Dupli objects with modifiers exhibit bad transform artifactsLukas Tönne
in Blender Internal renderer. The BI renderer applies modifiers //after// changing the obmat of the respective object (for the first instance it encounters). Before rB6940bf0 the original obmat (omat) was stored inside dupli object data, which was removed in favor of local omat variables due to hackishness and redundancy. Problem with BI is that all the obmats have to be overridden in relation to each other to produce the correct modifier results (here: offset object for the array modifier). The patch restores the old (messy) behavior for BI by first overriding **all** the obmats at once from duplis, then creating render instances, then cleaning up. A better solution would be to avoid these modifier hacks in BI altogether and properly evaluate them in the original object space, but that requires far greater changes to the old code base, and is out of scope for bugfixing.
2014-02-22Code cleanup: styleCampbell Barton
2014-02-21Fix more of T38726: there still was a crash when deleting render layers.Brecht Van Lommel
2014-02-21Fix T38726: blender internal viewport render crash when deleting render layer.Brecht Van Lommel