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
path: root/intern
AgeCommit message (Collapse)Author
2013-01-12Merged changes in the trunk up to revision 53729.Tamito Kajiyama
Conflicts resolved: release/datafiles/startup.blend source/blender/blenloader/intern/readfile.c
2013-01-11code cleanup: warnings, also add check in crash handler that a ↵Campbell Barton
wmWindowManager is present.
2013-01-10Fix #33824: cycles non-progressive render mode did not do correct path ↵Brecht Van Lommel
termination, leading to too much noise when the min bounce setting was lower than max bounce.
2013-01-10Fix #33821: cycles background intensity fix had uninitialized memory usageBrecht Van Lommel
for area lights.
2013-01-10Fix too bright result in background multiple importance after recent changes.Brecht Van Lommel
2013-01-10Cycles: different fix for perlin noise generating nan values, now check forBrecht Van Lommel
the result to be finite afterwards which is a bit faster and works for OSL too without needing to slow down OSL itself.
2013-01-10Cycles: multiple importance sampling for lamps, which helps reduce noise forBrecht Van Lommel
big lamps and sharp glossy reflections. This was already supported for mesh lights and the background, so lamps should do it too. This is not for free and it's a bit slower than I hoped even though there is no extra BVH ray intersection. I'll try to optimize it more later. * Area lights look a bit different now, they had the wrong shape before. * Also fixes a sampling issue in the non-progressive integrator. * Only enabled for the CPU, will test on the GPU later. * An option to disable this will be added for situations where it does not help. Same time comparison before/after: http://www.pasteall.org/pic/show.php?id=43313 http://www.pasteall.org/pic/show.php?id=43314
2013-01-09Mac HiDPI support:Ton Roosendaal
With the good help from googling, here's code that compiles for 10.6 natively. Will check on 10.7 and 10.8 right after commit.
2013-01-09Style cleanup in OCIO areaSergey Sharybin
Also fixed typo in function name.
2013-01-08Macbook HiDPI support: reshuffled code to make it compile for 10.6 and workTon Roosendaal
in 10.7 and later. OS X Gurus might check though :)
2013-01-08Fix for recent tile_order feature not working properly with persistent dataSergey Sharybin
2013-01-08style cleanupCampbell Barton
2013-01-07Cycles / Tile Rendering:Thomas Dinges
* Added new option to chose the tile order. In addition to the "Center" method, 4 new methods are available now, like Top -> Bottom and Right -> Left. Thanks to Sergey for code review and some tweaks!
2013-01-07fix for bugs 30300, 31107: pen pressure with multiple open windows on MS WindowsMike Erwin
2013-01-06With some help in irc (thanks erwin, markus!) and some googling, here's code Ton Roosendaal
that compiles for OSX 10.6 for new momentumPhase usage. Jens Verwiebe can give final blessings, I'm just copypasting stuff and test it :)
2013-01-06device_network.cpp is completely elided when WITH_NETWORK is not defined, so ↵Jason Wilkins
do not include it in the build in that case
2013-01-06Merged changes in the trunk up to revision 53584.Tamito Kajiyama
Conflicts resolved: release/scripts/startup/bl_ui/properties_render.py source/blender/blenloader/intern/readfile.c source/blender/editors/interface/interface_templates.c source/blender/makesrna/RNA_enum_types.h Also made additional code updates for: r53355 UIList - Python-extendable list of UI items r53460 Alpha premul pipeline cleanup
2013-01-05Removal of old code trying to detect trackpads.Ton Roosendaal
This was causing error in previous commit "wheel only worked after using trackpad once".
2013-01-05New version of code to detect whether a wheel is involved, or a trackpad.Ton Roosendaal
It was compiled with "deploy target 10.6" tested on macbook with 10.8. More tests follow quick.
2013-01-04Added vertex color attributes (currently limited to one) and UVs included ↵Stuart Broadfoot
for triangle mesh hair. I have also included a small speedup for the intersection test.
2013-01-04Silent "no previous prototype" warning, which was treating as error hereSergey Sharybin
2013-01-03Fix CUDA build error after last commit, and remove some comments.Brecht Van Lommel
2013-01-03Cycles Hair: add Generated texture coordinates for curves, so that proceduralBrecht Van Lommel
textures now work without having to add a UV map. Also made UV and intercept attributes only export when needed by the shader.
2013-01-03Cycles Hair: refactoring to store curves with the index of the first key and theBrecht Van Lommel
number of keys in the curve, rather than curve segments with the indices of two keys. ShaderData.segment now stores the segment number in the curve.
2013-01-03Cycles Hair: refactoring to support generic attributes for hair curves. ThereBrecht Van Lommel
should be no functional changes yet. UV, tangent and intercept are now stored as attributes, with the intention to add more like multiple uv's, vertex colors, generated coordinates and motion vectors later. Things got a bit messy due to having both triangle and curve data in the same mesh data structure, which also gives us two sets of attributes. This will get cleaned up when we split the mesh class.
2013-01-03add option WITH_SYSTEM_BULLET to link against the bullet installation found ↵Campbell Barton
on the system. Note: this doesn't work yet for everything with latest stable bullet (2.81), need to look into why and likely apply some patches upstream. However I managed to link blender by disabling some features, likely it can be made to work without too much trouble.
2013-01-03add id property clear function (matching the same python function for ↵Campbell Barton
dicts/lists)
2013-01-01Fix for normal scaling when using triangle primitives for hair.Stuart Broadfoot
and some code clean ups in blender_curves and node_shader_hair_info.c
2013-01-01Fix to prevent undefined normals being generated with `add_face_normals()', ↵Stuart Broadfoot
from triangles with zero area.
2013-01-01Highlight currently rendering tilesSergey Sharybin
This commit implements highlight of tiles which are being currently rendered for both Blender Internal and Cycles (and should be possible to use it for other external engines as well). Couple of implementation details: - Added one extra boolean flag to render engine which should be set to truth if render engine wants to highlight tiles. If so, property use_highlight_tiles should be set to True. - Render Part's ready boolena was changed by status enum, which could be NONE, IN_PROGRESS and READY. All render part with IN_PROGRESS status will be highlighted in image editor. - For external engines render part's status is filling in automatically. Initially all render parts has got NONE status, then one external engine acquire render result, corresponding part will change status to IN_PROGRESS. As soon as render result is finished, corresponding render part will change status to FINISHED This should make it easy to highlight tiles for other engines as well.
2012-12-31Alpha premul pipeline cleanupSergey Sharybin
This assumptions are now made: - Internally float buffers are always linear alpha-premul colors - Readers should worry about delivering float buffers with that assumptions. - There's an input image setting to say whether it's stored with straight/premul alpha on the disk. - Byte buffers are now assumed have straight alpha, readers should deliver straight alpha. Some implementation details: - Removed scene's color unpremultiply setting, which was very much confusing and was wrong for default settings. Now all renderers assumes to deliver premultiplied alpha. - IMB_buffer_byte_from_float will now linearize alpha when converting from buffer. - Sequencer's effects were changed to assume bytes have got straight alpha. Most of effects will work with bytes still, however for glow it was more tricky to avoid data loss, so there's a commented out glow implementation which converts byte buffer to floats first, operates on floats and returns bytes back. It's slower and not sure if it should actually be used -- who're using glow on alpha anyway? - Sequencer modifiers should also be working nice with straight bytes now. - GLSL preview will predivide float textures to make nice shading, shading with byte textures worked nice (GLSL was assuming straight alpha). - Blender Internal will set alpha=1 to the whole sky. The same happens in Cycles and there's no way to avoid this -- sky is neither straight nor premul and doesn't fit color pipeline well. - Straight alpha mode for render result was also eliminated. - Conversion to correct alpha need to be done before linearizing float buffer. - TIFF will now load and save files with proper alpha mode setting in file meta data header. - Remove Use Alpha from texture mapping and replaced with image datablock setting. Behaves much more predictable and clear from code point of view and solves possible regressions when non-premultiplied images were used as textures with ignoring alpha channel.
2012-12-31Fix #33706: issue in cycles motion blur rendering after hair commit, my faultBrecht Van Lommel
for not finding it in review. Also removed the hard limits on motion blur shutter time, soft limits are still the same but it can be useful to set things lower/higher in some cases.
2012-12-31Add try/catch around i18n locale setter code, just in case...Bastien Montagne
2012-12-31Usual UI messages-related fixes...Bastien Montagne
2012-12-30Revert change from Jens, wrong pointer check in the code.Ton Roosendaal
That change made all scrollwheel events be handled as if it was a swipe gesture. Old style mouse wheel didn't work anymore. This version should work for everyone, but we need more mac testers :)
2012-12-29OSX: fix magic mouse swipes compiling on with MAC_OS_X_VERSION_MIN_REQUIRED ↵Jens Verwiebe
by checking address not value
2012-12-29Mac OS X 10.7 supports new trackpad (and mighty mouse) events with nice seamlessTon Roosendaal
scrolling and inertia. Now Blender uses this - if you have 10.7. Otherwise it just falls back on the old code. Try it, makes a huge difference :) Next todo: how to configure this well, so you can have trackpad (or mighty mouse) zoom as default in 3d views.
2012-12-29Cycles Hair:Thomas Dinges
* Implemented the Hair Info Node for OSL.
2012-12-29Fix for last commit, hair settings panel should also check on psys. Thomas Dinges
2012-12-28Hrm... replacingTon Roosendaal
MAC_OS_X_VERSION_MAX_ALLOWED with MAC_OS_X_VERSION_MIN_REQUIRED
2012-12-28Testing commit for OS X trackpad and scroll events.Ton Roosendaal
Now: - code is wrapped for OS X releases (10.6 and 10.7) - It now detects scrollwheel (old mouse) and gesture strokes (mighty mouse or trackpad). If you have 10.6, things will work as for release. Next todo for tomorrow: make trackpad work actually smooth and not with steps. Will also try to figure out the device type, to handle mighty mouse differently.
2012-12-28Fix OSL distance() of point to line segment function not being available,Brecht Van Lommel
implemented now in stdosl.h.
2012-12-28Cycles Hair UI:Thomas Dinges
* Code cleanup, removed some unneeded code * Moved "Cycles Hair Rendering" panel above "Cycles Hair settings" * "Cycles Hair settings" panel is only visible when hair rendering ("use_curves") is enabled.
2012-12-28Reversion of previous fix for Mac OS X scrollwheel,Ton Roosendaal
it appears I used 10.7+ options, fails for 10.6. Back to drawing board!
2012-12-28Fix cycles python error in some panels, was not updated for new list ↵Brecht Van Lommel
template yet.
2012-12-28New featureStuart Broadfoot
Patch [#33445] - Experimental Cycles Hair Rendering (CPU only) This patch allows hair data to be exported to cycles and introduces a new line segment primitive to render with. The UI appears under the particle tab and there is a new hair info node available. It is only available under the experimental feature set and for cpu rendering.
2012-12-28Bugfix #33681Ton Roosendaal
Blender didn't detect properly whether event came from a mouse-wheel or from a trackpad in OS X. Now you can both, and both are handled independently. Removed back hack from 2 years ago - which disabled mouse wheel for laptops.
2012-12-27Fix part of #33662: cycles crash using displacement on meshes with vertices notBrecht Van Lommel
attached to any face.
2012-12-23Fix cycles displacement not working well with OSL and multiple objects.Brecht Van Lommel
2012-12-23Cycles: deal a bit better with errors when CUDA runs out of memory, try to ↵Brecht Van Lommel
avoid crashes.