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
2014-08-19Fix T40962: Ashikhmen Shirley shader firefliesSergey Sharybin
2014-08-19Fix T41471 Cycles Bake: Setting small tile size results in wrong bake with ↵Dalai Felinto
stripes rather than the expected noise pattern This problem was introduced in 983cbafd1877f8dbaae60b064a14e27b5b640f18 Basically the issue is that we were not getting a unique index in the baking routine for the RNG (random number generator). Reviewers: sergey Differential Revision: https://developer.blender.org/D749
2014-08-18Fix T39630: Mouse Wheel doesn't detect Multi Window FocusSergey Sharybin
2014-08-18Fix T41474: Second renderlayer doesnt render if first one has 'Use Surfaces' ↵Sergey Sharybin
disabled
2014-08-17CleanupCampbell Barton
2014-08-17Fix poll func of CYCLES_OT_use_shading_nodes.Bastien Montagne
Operators' poll func might be called from anywhere in Blender, so they should not make any assumption about available context. material, lamp and world are specific to context from Properties space...
2014-08-16CommentsCampbell Barton
2014-08-15Fix compilation on linux (implicit conversion from double/float to size_t ↵Bastien Montagne
treated as error here).
2014-08-15Final Fix T41222 Blender gives weird ouput when baking (4096*4096) ↵Dalai Felinto
resolution on GPU It now uses the tile size to split the job. For CPU this may add overhead, but for GPU this is highly needed. Reviewers: sergey Differential Revision: https://developer.blender.org/D690
2014-08-15Revert "Fix T41222 Blender gives weird output when baking (4096*4096) ↵Dalai Felinto
resolution on GPU" This reverts commit a48b372b04421b00644a0660bfdf42229b5ffceb. Leaving only the part that fix device_multi.cpp
2014-08-14Cycles: Don't check closure flag in kernel_volume_decoupled_scatter(), we ↵Thomas Dinges
check this before the function already.
2014-08-14Cycles: Optimize Equi-Angular sampling using binary range search.Thomas Dinges
Patch by Lukas Tönne and myself.
2014-08-14Cycles: Optimization for Heterogeneous Volume Shadows.Thomas Dinges
* Don't compute expf() for every step, instead sum the intermediate values and calculate it every N (8 for now) steps. This helps a few percent (~5% on a cube with wave texture) in my tests here.
2014-08-14Cleanup: typos and extra brackets.Thomas Dinges
2014-08-14Cycles: Avoid intermediate function when we sample all lamps.Thomas Dinges
2014-08-14Cycles: Avoid segment NULL check, we access it before this function already.Thomas Dinges
2014-08-14Cycles: Correction to previous commit -- forgot to take instancing into accountSergey Sharybin
2014-08-13OSX: fix paranthesis in last commitJens Verwiebe
2014-08-13OSX: add a fix for lion_fs loosing handles after calling fs from key ↵Jens Verwiebe
shortcut, also reenabled lion_fs for OSX >= 10.9 again
2014-08-13Fix T41219: Cycles backface detection doesn't work properlySergey Sharybin
Root of the issue goes back to the on-fly normals commit and the latest fix for it wasn't actually correct. I've mixed two fixes in there. So the idea here goes back to storing negative scaled object flag and flip runtime-calculated normal if this flag is set, which is pretty much the same as the original fix for the issue from me. The issue with motion blur wasn't caused by the rumtime normals patch and it had issues before, because it already did runtime normals calculation. Now made it so motion triangles takes the negative scale flag into account. This actually makes code more clean imo and avoids rather confusing flipping code in mesh.cpp.
2014-08-13Fix T40717: Screen does not update while scrolling or zooming with touchpad ↵Sergey Sharybin
on a laptop This is rather workaround solution for now, which seems to work and it's not that huge to maintain (one liner apart from the comment). Idea is to make sure PeekMessage peeks the message when window proc receives WM_MOUSEWHEEL (some touchpad drivers seems to swallow the messages making it so PeekMessage doesn't get anything).
2014-08-13SpellingCampbell Barton
2014-08-13SpellingCampbell Barton
2014-08-12Stupid MSVC replaces tabs to spaces spontaneously :SSergey Sharybin
2014-08-12Console detection now works reliably when starting blender-app directlySergey Sharybin
2014-08-12Removed/disabled debugging code.Tamito Kajiyama
2014-08-12WIP commit just for a record of a working snapshot of code revisions for ↵Tamito Kajiyama
node-based textured strokes.
2014-08-12Removed debug prints.Tamito Kajiyama
2014-08-12Initial implementation of Cycles materials for Freestyle stroke rendering.Tamito Kajiyama
2014-08-12SpellingCampbell Barton
2014-08-12Fix uninitialized memory useCampbell Barton
2014-08-11Fix T41362: CPU and GPU rendering gives different resultsSergey Sharybin
We can't really make CPU and GPU results look the same in all possible circumstances, but here we can make them look close enough to each other by making it so sobol pattern for bounce number is the smae for both CPU and GPU. This makes CPU and GPU render results look the same with low number of samples, high number of samples was never an issue.
2014-08-11Pie Menus C code backend.Antony Riakiotakis
This commit merges the code in the pie-menu branch. As per decisions taken the last few days, there are no pie menus included and there will be an official add-on including overrides of some keys with pie menus. However, people will now be able to use the new code in python. Full Documentation is in http://wiki.blender.org/index.php/Dev:Ref/ Thanks: Campbell Barton, Dalai Felinto and Ton Roosendaal for the code review and design comments Jonathan Williamson, Pawel Lyczkowski, Pablo Vazquez among others for suggestions during the development. Special Thanks to Sean Olson, for his support, suggestions, testing and merciless bugging so that I would finish the pie menu code. Without him we wouldn't be here. Also to the rest of the developers of the original python add-on, Patrick Moore and Dan Eicher and finally to Matt Ebb, who did the research and first implementation and whose code I used to get started.
2014-08-09Cycles OpenCL error to string removed in favour of the same function in clew.Martijn Berger
2014-08-07Tweaks to the recent wrapper on windowsSergey Sharybin
- Forgot to handle command line arguments - Because of the fact we need to be able to use stdout and stderr we need to use regular console application for the wrapper. - Because of using regular application for the wrapper we need to check forparent PID in the isStartedFromCommandPrompt(). I really hope it's not gonna to become any more complicated.
2014-08-07Cleanup: Remove special code for Visual Studio 2008.Thomas Dinges
Goodbye VC2008, it has been a pleasure (more or less) :D SCons / CMake cleaenup will follow. Differential Revision: https://developer.blender.org/D715
2014-08-06OSX/clang: Fix T41123, crashing osl when optimization level > O0 is used for ↵Jens Verwiebe
osl_shaders.cpp
2014-08-06Fix T41318: API change in OSL, I see no other cases but there might beMartijn Berger
2014-08-05SpellingCampbell Barton
2014-08-05Fix T41222 Blender gives weird output when baking (4096*4096) resolution on GPUDalai Felinto
In collaboration with Sergey Sharybin. Also thanks to Wolfgang Faehnle (mib2berlin) for help testing the solutions. Reviewers: sergey Differential Revision: https://developer.blender.org/D690
2014-08-05Fix T41276: OSL bug in getmessage ("trace", "geom:name" , output)Sergey Sharybin
2014-08-05Fix T41318: OSL broken on Linux kubuntu 14.04Sergey Sharybin
Now for real, hopefully.
2014-08-05Fix: T41318Martijn Berger
OSL compiler signature changed with 1.5.
2014-08-05Deduplicate CUDA and OpenCL wranglersSergey Sharybin
For now it was mainly about OpenCL wrangler being duplicated between Cycles and Compositor, but with OpenSubdiv work those wranglers were gonna to be duplicated just once again. This commit makes it so Cycles and Compositor uses wranglers from this repositories: - https://github.com/CudaWrangler/cuew - https://github.com/OpenCLWrangler/clew This repositories are based on the wranglers we used before and they'll be likely continued maintaining by us plus some more players in the market. Pretty much straightforward change with some tricks in the CMake/SCons to make this libs being passed to the linker after all other libraries in order to make OpenSubdiv linked against those wranglers in the future. For those who're worrying about Cycles being less standalone, it's not truth, it's rather more flexible now and in the future different wranglers might be used in Cycles. For now it'll just mean those libs would need to be put into Cycles repository together with some other libs from Blender such as mikkspace. This is mainly platform maintenance commit, should not be any changes to the user space. Reviewers: juicyfruit, dingto, campbellbarton Reviewed By: juicyfruit, dingto, campbellbarton Differential Revision: https://developer.blender.org/D707
2014-08-02Make CHECK_TYPE_NONCONST macro portableCampbell Barton
also replace __typeof -> typeof
2014-08-02SpellingCampbell Barton
2014-08-01Cycles: Update stdosl.h for OSL 1.5.Thomas Dinges
2014-08-01Fix T41197: Blender freezes to infinite loop when switching to PAUSED Cycles ↵Sergey Sharybin
rendered viewport
2014-07-31Fix T41258: Crash when entering edit mode while viewport render is enabledSergey Sharybin
The issue was caused by the render engine loading edit mesh, which re-allocates mesh array which might be referenced by other object's derived meshed. Worst thing about this is that updating render engine happens from the end of scene update function, after all the objects are updated and so. This is needed so render engine gets the update objects which is correct. The only proper way to solve the issue is to make it so viewport engine does not leave objects in inconsistent state, meaning nobody will reference to freed data. In order to reach this we do edit mesh loading before running objects update so all the objects which uses that mesh will have proper references in the derived mesh. This also solves old creepyness which happened before when having single object in edit mode. tweaking it will calculate derived mesh as a part of scene update, then this derived mesh will be freed by edit mesh loading and viewport will be creating derived mesh again. Now render engine is expected to do nothing with meshes which are in edit mode, but they still need to load edit data for non0meshes. It's not really easy to do from the BKE level because needed functions are implemented in the editor. Thanks Campbell for the review! Differential Revision: https://developer.blender.org/D697
2014-07-31Cycles Bake: use size_t instead of width, heightDalai Felinto
(original patch by Sergey Sharybin) Note: RNA API can't use size_t at the moment. Once it does this patch can be tweaked a bit to fully benefit from size_t larger dimensions. (right now num_pixels is passed as int) Reviewed By: sergey, campbellbarton Differential Revision: https://developer.blender.org/D688