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-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
2014-07-29Fix T41174: Tangent space required UV map in CyclesSergey Sharybin
Now Cycles behaves in the same way as BI in terms of using sphere projection of orco coordinates if there's no UV map when calculating tangent space.
2014-07-29Implement get_split_task_count to make device_network compile again.Martijn Berger
2014-07-27Fix T41139: Cycles Hair BSDF roughness problemSergey Sharybin
2014-07-27Style cleanup GHOST/Win32Campbell Barton
2014-07-26OSX/GHOST: Using lion_fullscreen suffers from an uncovered problem when ↵Jens Verwiebe
called from operator, disabled for now so ALT-F11 uses old behavior again. OSX menu and CTL-CMD-F still work as lion fullscreen as well as right-upper corner fs window-icon - We must investigate here why double promotion happens from op calls ( dispatchEvents on redraw cause duplicated calls here ) - The actual op calls cause fs to be in a wrong state, so also mousehandles fail and CTX_wm_window(C) is not valid. - similar problem is with quit op, which does not close the app right ( totblocks ) - i would prefer to try getting direct os function call here rather
2014-07-25Cycles Bake: show progress bar during bakeDalai Felinto
Baking progress preview is not possible, in parts due to the way the API was designed. But at least you get to see the progress bar while baking. Reviewers: sergey Differential Revision: https://developer.blender.org/D656
2014-07-25Switch to Cuda 4.0 style api for kernel invocation. This is a small clean-up ↵Martijn Berger
that has no functional changes but makes code a bit more readable. Differential revision: https://developer.blender.org/D659 Reviewed by: Sergey Sharybin, Thomas Dinges
2014-07-25Fix inconsistent use of print_error() and fprintf(stderr, ...) in ↵Tamito Kajiyama
MEM_guarded_printmemlist_internal(). Also extended the size of buf[] in print_error() to prevent mem_printmemlist_pydict_script[] from getting truncated when MEM_printmemlist_pydict() is used. Differential revision: https://developer.blender.org/D675 Reviewed by: Campbell Barton
2014-07-25Yet another OSL compilation fix...sorry.Thomas Dinges
2014-07-25Cycles: Drop old OSL closure compatibility code.Thomas Dinges
This was added to keep custom OSL scripts with Toon and SSS closure calls working. 1 year after the change, we can drop the compatibility code now.
2014-07-25One more fix for new OSL libs.Thomas Dinges
2014-07-25Fix atomix operations on unofficial 64bit archsMatteo F. Vescovi
2014-07-25Cycles: Updates for new OSL 1.5 API.Thomas Dinges
Differential Revision: https://developer.blender.org/D662 Patch by Sergey and myself.
2014-07-24Code cleanup: ghost styleCampbell Barton
2014-07-23Fix T41116: Motion Blur causes random black surfaces on rigged modelsSergey Sharybin
Fix T41115: Motion Blur renders Objects Black - But not in Viewport Preview This actually extends previous fix to normals and makes it all much nicer now. Worth doing some intense testing, quick one worked just fine but there always could be some corner cases.
2014-07-23Fix T41147: Static BVH shading problemSergey Sharybin
Fix T41079: Solid black render of object with negative scale and smooth shading In both cases the issue was caused by negative scaled objects with single mesh users for which scale gets applied when using static BVH. Since the on-fly normals calculation land normals for such cases weren't flipped leading them to point to a wrong direction. Added a special object flag for this, which is a bit of a bummer because now we've got less bits for real useful things, but this is the only way to get proper normals without adding more complexity in the on-fly calculations.
2014-07-22Cleanup: pep8 & redundant varsCampbell Barton
2014-07-21Bugfix T41133: Audio: Speakers with animated pitch cause clicks in rendered ↵Jörg Müller
animations, crashes or huge filesizes in rendered audio Crash happened when the pitch value got <= 0, preventing this now.
2014-07-19Code cleanup: warningsCampbell Barton
2014-07-18Fix T41109: Reloading image that has been modified outside Blender does not ↵Sergey Sharybin
update image in Image Texture nodes
2014-07-18Code cleanupCampbell Barton
2014-07-17Cleanup / Cycles: Remove unused defines and some other minor changes.Thomas Dinges
2014-07-15Fix T40964: Massive shading failures with glass node mixing, whiteouts and ↵Sergey Sharybin
blackouts