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-05-17Cleanup: pep8Campbell Barton
2015-04-17Bake-API: reduce memory footprint when baking more than one object (Fix T41092)Dalai Felinto
Combine all the highpoly pixel arrays into a single array with a lookup object_id for each of the highpoly objects. Note: This changes the Bake API, external engines should refer to the bake_api.c for the latest API. Many thanks for Sergey Sharybin for the complete review, changes suggestion and feedback. (you rock!) Reviewers: sergey Subscribers: pildanovak, marcclintdion, monio, metalliandy, brecht Maniphest Tasks: T41092 Differential Revision: https://developer.blender.org/D772
2015-02-21Cycles: Make it survive if preview_cycles.blend uses persistent dataSergey Sharybin
Currently should be no functional changes, but nice thing to have fixed for some further experiments.
2015-02-18Cycles: Initialize "headless" flags on engine initializationSergey Sharybin
This flag is global for all the sessions and never changes. so it doesn't really make sense to pass it around to all sessions and synchronization routines. Switched to a static member of BlenderSession now, but it's probably more logical to introduce some sort of BlenderGlobals. Doesn't currently worth a hassle for a single boolean flag tho.
2015-02-17Cycles: Make blender session aware of rendering from command lineSergey Sharybin
This way we can do some more aggressive policy about releasing temporary data during synchronization.
2015-02-10Cycles: Fallback to bottom-top tile order when rendering from the command lineSergey Sharybin
In the worst case it'll do nothing, in the best case it might give some percent of speedup because of better cache coherency. Currently it's all handled as an override on blender_python level, don't really see reason to penetrate the boolean flag further into sync code. This can always be done later if needed.
2014-12-25Cleanup: Fix Cycles Apache header.Thomas Dinges
This was already mixed a bit, but the dot belongs there.
2014-09-17Cleanup: pep8Campbell Barton
2014-08-28Fix T41473: Cycles volume rendering is too darkSergey Sharybin
The issue was caused by the changed defaults from the Cycles side. Because of those properties being saved as an IDProp and not being saved to the file, every change to the defaults would ruin someone's day updating the values. Added a bpy.app.handler.version_update which is run after the regular do_versions() are done and could be sued by the scripts to apply versioning code on their settings. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D761
2014-05-03Cycles BakeDalai Felinto
Expand Cycles to use the new baking API in Blender. It works on the selected object, and the panel can be accessed in the Render panel (similar to where it is for the Blender Internal). It bakes for the active texture of each material of the object. The active texture is currently defined as the active Image Texture node present in the material nodetree. If you don't want the baking to override an existent material, make sure the active Image Texture node is not connected to the nodetree. The active texture is also the texture shown in the viewport in the rendered mode. Remember to save your images after the baking is complete. Note: Bake currently only works in the CPU Note: This is not supported by Cycles standalone because a lot of the work is done in Blender as part of the operator only, not the engine (Cycles). Documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Bake Supported Passes: ----------------- Data Passes * Normal * UV * Diffuse/Glossy/Transmission/Subsurface/Emit Color Light Passes * AO * Combined * Shadow * Diffuse/Glossy/Transmission/Subsurface/Emit Direct/Indirect * Environment Review: D421 Reviewed by: Campbell Barton, Brecht van Lommel, Sergey Sharybin, Thomas Dinge Original design by Brecht van Lommel. The entire commit history can be found on the branch: bake-cycles
2014-04-14Fix cycles standalone not saving renders in background mode.Brecht Van Lommel
2014-01-14Fix T38192: OSL got incorrectly enabled in preview render when GPU was selectedBrecht Van Lommel
for rendering of the main scene.
2013-08-18Cycles: relicense GNU GPL source code to Apache version 2.0.Brecht Van Lommel
More information in this post: http://code.blender.org/ Thanks to all contributes for giving their permission!
2013-07-11Fix #36091: external render engines like Luxrender don't work well with the saveBrecht Van Lommel
buffers option, it requires specific tile sizes and if they don't match what OpenEXR expects file saving can get stuck. Now I've made support for his optional, with a bl_use_save_buffers property for RenderEngine, set to False by default.
2013-06-19Cycles / UI:Thomas Dinges
* Some tweaks to the material "Settings" panel.
2013-06-10Fix #35681: cycles excluded layers still got evaluated before and afterBrecht Van Lommel
rendering even if they were not used on any render layers.
2013-02-21Cycles Addon:Thomas Dinges
* Code cleanup
2013-01-28Cycles: preview rendering support for world/material/lamp.Brecht Van Lommel
Patch by Sergey, .blend by Thomas and some further tweaks by me. Still to solve later: allow external engines to specify own preview .blend, for now the code here is doing too much magic hacking on the preview scene still.
2013-01-16code cleanup:Campbell Barton
- cycles ui used 'cscene' for scene.cycles and scene.cycles_curves - style cleanup
2013-01-14Remove usage WITH_CYCLES_CUDA_BINARIES in code, use check forSergey Sharybin
precompiled cubins instead, Logic here is following now: - If there're precompiled cubins, assume CUDA compute is available, otherwise - If cuda toolkit found, assume CUDA compute is available - In all other cases CUDA compute is not available For windows there're still check for only precompiled binaries, no runtime compilation is allowed. Ended up with such decision after discussion with Brecht. The thing is, if we'll support runtime compilation on windows we'll end up having lots of reports about different aspects of something doesn't work (you need particular toolkit version, msvc installed, environment variables set properly and so) and giving feedback on such reports will waste time.
2013-01-03add id property clear function (matching the same python function for ↵Campbell Barton
dicts/lists)
2012-12-13Cycles: shuffle addon import statements a bit to try to fix a strange importBrecht Van Lommel
error in some builds.
2012-11-09Cycles: persistent images optionSergey Sharybin
This option enables keeping loaded images in the memory in-between of rendering. Implemented by keeping render engine alive for until Render structure is being freed. Cycles will free all data when render finishes, optionally keeping image manager untouched. All shaders, meshes, objects will be re-allocated next time rendering happens. Cycles cession and scene will be re-created from scratch if render/ scene parameters were changed. This will also allow to keep compiled OSL shaders in memory without need to re-compile them again. P.S. Performance panel could be cleaned up a bit, not so much happy with it's vertical alignment currently but not sure how to make it look better. P.P.S. Currently the only way to free images from the device is to disable Persistent Images option and start rendering.
2012-11-03Cycles OSL: shader script nodeBrecht Van Lommel
Documentation here: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/OSL http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.65/Cycles These changes require an OSL build from this repository: https://github.com/DingTo/OpenShadingLanguage The lib/ OSL has not been updated yet, so you might want to keep OSL disabled until that is done. Still todo: * Auto update for external .osl files not working currently, press update manually * Node could indicate better when a refresh is needed * Attributes like UV or generated coordinates may be missing when requested from an OSL shader, need a way to request them to be loaded by cycles * Expose string, enum and other non-socket parameters * Scons build support Thanks to Thomas, Lukas and Dalai for the implementation.
2012-09-21Cycles:Thomas Dinges
* Change Addons Link to point to the manual instead of the dev documentation. * Add sm_30 to Linux build configuration.
2012-04-30Cycles Addon:Thomas Dinges
* Some tiny updates and cleanups to the Cycles addon entry.
2012-03-11Cycles UI files:Thomas Dinges
* Minor cleanup and raise blender version to 2.62 in the addon.
2012-01-14remove api from addon bl_info, was never used.Campbell Barton
2011-12-01CyclesBrecht Van Lommel
* Compile all of cycles with -ffast-math again * Add scons compilation of cuda binaries, tested on mac/linux. * Add UI option for supported/experimental features, to make it more clear what is supported, opencl/subdivision is experimental. * Remove cycles xml exporter, was just for testing.
2011-11-27minor cycles editsCampbell Barton
- use sets rather then tuples - use relative imports
2011-11-21Cycles:Brecht Van Lommel
* Fix #29354: crash on branch file. Note that for best compatibility, you need to save your files with one of the latest branch builds, since not all version patching code was moved to trunk. * Rename "Cycles" to "Cycles Render" in info header menu. * Code tweaks to try to fix #29301. It's not a real solution though, I'm thinking cause is extended precision for floats on some cpu's, used in one case but not in the other, leading to bounding box intersection issue...
2011-11-15set cycles scripts as pep8 & make some minor changes.Campbell Barton
also update sphinx doc generator.
2011-11-13Cycles Addon:Thomas Dinges
* Added URL to wiki * Marked as official * api/blender bump
2011-11-02Cycles: RenderEngine api code tweaks, also ensuring it's backwards compatible.Brecht Van Lommel
2011-10-11Cycles: add python render engine option to use new shading nodes or not, insteadBrecht Van Lommel
of hardcoded check for cycles. Also some other minor code cleaning tweaks.
2011-09-12Cycles:Thomas Dinges
* Remove RE_DO_RENDERED again, check for view_draw callback is sufficient.
2011-09-12Cycles Render API:Thomas Dinges
* Show Rendered Viewport Shading only when the engine supports it. Only enabled for Cycles now. * Added RenderEngine flag RE_DO_RENDERED, which is an optional flag. Exposed as bl_use_rendered in Python. ToDo: When you are in Rendered mode and change to a engine which does not support it, the enum doesn't set properly to OB_SOLID.
2011-08-29Cycles: integrator presets, patch by Thomas.Brecht Van Lommel
2011-08-28Cycles:Brecht Van Lommel
* Add alpha pass output, to use set Transparent option in Film panel. * Add Holdout closure (OSL terminology), this is like the Sky option in the internal renderer, objects with this closure show the background / zero alpha. * Add option to use Gaussian instead of Box pixel filter in the UI. * Remove camera response curves for now, they don't really belong here in the pipeline, should be moved to compositor. * Output full float values for rendering now, previously was only byte precision. * Add a patch from Thomas to get a preview passes option, but still disabled because it isn't quite working right yet. * CUDA: don't compile shader graph evaluation inline. * Convert tabs to spaces in python files.
2011-05-17Render API: first step in updating RenderEngine to work according to:Brecht Van Lommel
http://wiki.blender.org/index.php/Dev:2.5/Source/Render/RenderEngineAPI
2011-05-09Cycles: different fix for animation render, in render API instead of python ↵Brecht Van Lommel
script.
2011-05-04Cycles: fix scene not updating for animation render, patch by David ↵Brecht Van Lommel
Rodriguez Garcia.
2011-04-27Cycles render engine, initial commit. This is the engine itself, blender ↵Ton Roosendaal
modifications and build instructions will follow later. Cycles uses code from some great open source projects, many thanks them: * BVH building and traversal code from NVidia's "Understanding the Efficiency of Ray Traversal on GPUs": http://code.google.com/p/understanding-the-efficiency-of-ray-traversal-on-gpus/ * Open Shading Language for a large part of the shading system: http://code.google.com/p/openshadinglanguage/ * Blender for procedural textures and a few other nodes. * Approximate Catmull Clark subdivision from NVidia Mesh tools: http://code.google.com/p/nvidia-mesh-tools/ * Sobol direction vectors from: http://web.maths.unsw.edu.au/~fkuo/sobol/ * Film response functions from: http://www.cs.columbia.edu/CAVE/software/softlib/dorf.php