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
2015-02-02Add extra Cycles regression testsSergey Sharybin
This new tests are aimed to issues/regressions reported to the tracker.
2015-02-02Cycles: Allow paths customization via environment variablesSergey Sharybin
This is for development and test environment setup only, not for regular users usage hence no mentioning in the man page needed.
2015-02-01error in last commitCampbell Barton
2015-02-01RNA: add readonly pixelsize to userprefsCampbell Barton
2015-02-01Documentation: updated mathutils documentationSybren A. Stüvel
Added descriptions of the constructors, and improved the module-level documentation.
2015-02-01cleanup: use constCampbell Barton
2015-02-01Documentation: Support documenting constructors in class __doc__Sybren A. Stüvel
Python types defined in C can now start their docstring with a `.. class:: TypeName(args)` line, to document their constructor. In that case the documentation writer is responsible for indenting the remainder of the docstring by 3 spaces, matching the generated documentation.
2015-02-01mathutils: added exponential map to QuaternionSybren A. Stüvel
Added conversion to and from exponential map representation. This representation is useful for interpolation of > 2 quaternions, or in PD controllers. Implementation in C functions quat_to_expmap, quat_normalized_to_expmap, and expmap_to_quat with Python API, unit tests and documentation. Added Quaternion.to_exponential_map() and Quaternion(3-vector) to Python API. Reviewers: campbellbarton Projects: #bf_blender Differential Revision: https://developer.blender.org/D1049
2015-02-01Fix: correctly describing Quaternion.normalize()Sybren A. Stüvel
The original comment seems to suggest that only the rotation vector is normalized, leaving the rotation angle alone. This is not what happens, though. The new comment matches the actual implementation, and the implementation matches what is commonly understood as quaternion normalization.
2015-02-01BMesh: remove redundant connect-nonplanar loopCampbell Barton
2015-01-31WM: empty menu so addons can extend the splashCampbell Barton
2015-01-31Cleanup: styleCampbell Barton
2015-01-31Blender metadata changes to accommodate non string dataMartijn Berger
Work towards T42418 For now got rid of linked list holding key,value pairs for metadata in favour of ID properties. Reviewers: campbellbarton, sergey Reviewed By: sergey Projects: #bf_blender Differential Revision: https://developer.blender.org/D872
2015-01-31Add PIL_check_seconds_timer_i to avoid castingCampbell Barton
note, win32 casts still casts from double.
2015-01-31Compiler warning: double-promotionCampbell Barton
2015-01-31Comment for math defines, also add M_PI_4Campbell Barton
2015-01-31Fix T43496: Infinite loop in kernel when using surface attribute for volumeSergey Sharybin
The issue was caused bu the optimization in surface attributes for cases when there's only a volume shader used. Some attributes doesn't make sense in that case and were skipped from calculation. However, it is possible that kernel would still try to access them (because of the shader setup etc). Prevented an infinite loop in the kernel now, which should not have much affect on regular renders.
2015-01-30Cycles: Don't perform re-intersection if ray distance is zeroSergey Sharybin
It is possible that ray distance will be zero which would make intersection refinement return NaN as the refined position which would later lead to all sort of mathematical issues. Don't think there are ways to improve intersection accuracy for such rays so just return original intersection coordinate. This should fix T43475. TODO: Need to look into possible issues in Ashikhmin BSDF which might return zero-length reflected/transmitted ray?
2015-01-30Cycles: Use bool for is_lead arraySergey Sharybin
This way we save 3 bytes per BVH node while building BVH, which overall gives 100Mb memory save when preparing Frank for render. It's not really much comparing to overall memory usage (which is 11Gb during scene preparation here) but still doesn't harm to have solved.
2015-01-30Cycles: Use fast math functions in hair BSDFSergey Sharybin
Precision of the fast functions seems to be enough in there and since the code was heavily using inverse trigonometric functions this change gives few percent speedup on Victor's hair. From the tests files from ctests storage doesn't have any meaningful difference, hair on Victor is all below 4% absolute error and only few pixels are exceeding 1% absolute difference. In any case, let it be as it is currently so it allows us to have fast math file in sources for it's further evaluation and possible usage in other areas as well.
2015-01-30Cycles: Add fast math function moduleSergey Sharybin
It is based on fmath.h from OIIO and could be used to give some speedup in areas where absolute accuracy is not so critical.
2015-01-30First version of constrained line strokes - there's some flickeringAntony Riakiotakis
still, will look into it later.
2015-01-30Operator that sets proxies needs to cater for all supported strip typesAntony Riakiotakis
2015-01-30Get rid of the file touch hack.Antony Riakiotakis
If user cancels, there's an issue with leftover files. Instead use a hash to record files that have akready been registered for generation and skip them if so. That should guarantee things will go smoothly and when a file exists it is assumed to be valid.
2015-01-30Proxy enable operator:Antony Riakiotakis
* Enable operator for proxies now becomes set operator for selected and can unset-set all options. * Properties become read-only labels, only use operator to set proxies.
2015-01-30More hacks for proxy generation:Antony Riakiotakis
Touch the proxy files if they do not exist so subsequent strips referencing the same source file won't regenerate it.
2015-01-30Fix T43324: Shrinkwrap projection issue in editmode.Bastien Montagne
Nice stupid error in low-level `get_cddm` helper, was probably affecting other modifiers too actualy!
2015-01-30Corrections to Cycles ctestsSergey Sharybin
- Apply VERBOSE to idiff result as well - Don't treat verification failed error as unknown
2015-01-30Cycles: Remove confusing labels usage in hair BSDFSergey Sharybin
BSDF sampler function shouldn't give labels it's not intended to do. That said reflection shouldn't give transmission ray and transmission give reflection ray. Added an assert in the transmission sampling but reflection still needs some investigation because even after recent fixes the check for projection onto the reflected ray could give both positive and negative values. It shouldn't have any affect on renders just makes internal logic consistent and unleashes an issue to be investigate further.
2015-01-30Fix T43458: Crashes with hair transmission BSDFSergey Sharybin
Hair BSDF did not have proper behavior because of non-normalized tangent direction (which it expected to be normalized).This lead to wrong labels being returned by the hair BSDF samplers.
2015-01-30Committing the impressive RTheme to the default collectionDaniel Salazar
2015-01-30Correct location of 'text' button in frame-nodeCampbell Barton
2015-01-29Fix T43472: IMBuf: crash on loading top-to-bottom bitmaps.Bastien Montagne
Height of bitmap may be negative, which indicates a 'top to bottom' line storage. Also, fixed header handling, bitmaps using other header than 'BM' would most likely have lead to errors/crashes too...
2015-01-29Fix texture sampling getting srgb color after fix for subsurf sampling.Antony Riakiotakis
2015-01-29Gooseberry request: Dithering support for byte images when painting onAntony Riakiotakis
projection painting (2D will be separate commit).
2015-01-29Fix T43473: mathtutils.geometry.interpolate_bezier returns only 2d coordinatesBastien Montagne
Fixed/enhanced a few usages of `mathutils_array_parse()` in this file actually...
2015-01-29Cycles: Fix for bump node not working with object texture mappingSergey Sharybin
This was intended to be in the original patch of texco copy from object.
2015-01-29Fix T43207 fill brush fails in perspective modeAntony Riakiotakis
Divide only the length of the edge by the homogenous coordinate, not the final coordinate. Also fix the swapping (though it's still a bit doubtfull if it's really needed)
2015-01-29Followup for previous commit: fix mismatches between menu entry and shortcut ↵Bastien Montagne
properties. For now, did most of the changes in menu entries (i.e. py space UI scripts). Note we do not get 100% same results as previously, but current situation is globally better than previous one, though the whole system to retrieve shortcuts remains a bit weak...
2015-01-29Fix T41757: Inconsistent hotkey label with setting.Bastien Montagne
Issue is double here: * Quite a handfull of menu entries actually diverge slightly from their shortcut counterpart (often one has a prop explicitely set to its default value, when the other keep it unset). * Current code was actually basically sending 'is_strict' option into canal, by doing a second check in `wm_keymap_item_find` setting unset op props to their default value! Now, is_strict mostly says one thing: "never consider an unset property as equal to a set one". Even if set property matches default value. Default values are not always the same things as unset ones, as demonstrated by this report. So we are being much stricter now, and also have to check shortcuts and menu entries definitions actually matches, added some code (triggered by --debug-wm option) that prints when it finds some (potential) issue. There is one exception though - Macros. Those have their whole prop set defined in menu entries currently, this shall probably not be the case, but is another issue, so for now for macro operators we always do non-strict comparison (pretty much the same as previously, in this case). Also 'enum' operators are still tricky. Currently, shortcut extraction relies on `ot->prop` being set, so even if this is not aboslutely needed anymore (when defining UI you can specify an arbitrary enum property by name), `ot->prop` shall be set. Note fix commit for mismatches between menu entries and shortcuts is needed next.
2015-01-29Revert "mathutils: let Vector.normalize() return the original length."Campbell Barton
Please discuss changes to core mathutils functions first. Changes like this should be considered and applied to all areas of the API (or not at all). Missed quaternion, matrix normalize for eg.
2015-01-29Fix T43454 color is washed out in textured brushesAntony Riakiotakis
Yet another color space issue, we multiplied texture color with srgb brush color and retrasnformed it to srgb. Now use the linear brush color for the multiplication.
2015-01-29mathutils: let Vector.normalize() return the original length.Sybren A. Stüvel
The length has to be calculated for normalization anyway, and it is already returned by normalize_vn(vec, size).
2015-01-29Add override setting to proxy enable operatorAntony Riakiotakis
2015-01-29Sequencer: Report proxies which are being skipped to the consoleSergey Sharybin
2015-01-29Whitespace cleanupAntony Riakiotakis
2015-01-29Add some convenience operators to sequencer proxy panel:Antony Riakiotakis
Enable proxies for all selected movie strips (won't do recursive enabling for metastrips yet) Generate proxies operator here, as well as in strip menu
2015-01-29Node UI: add support to show text-blocks in framesCampbell Barton
Some node setups benefit from being documented like this.
2015-01-29BGE: Remove duplicated audio panel from Render contextJorge Bernal
This commit removes the audio panel from Render context as it exists a similar panel in Scene context. Also, it gives to the Distance Model a similar UI layout as it was in the removed render->audio panel
2015-01-29Fix crash on joystick access (if SDL's not found)Campbell Barton
D985 by @pgi