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
2012-04-15Style cleanup (mostly line length, also no final point in tips...).Bastien Montagne
2012-04-13Fix #30376: cycles ignores camera override from sequencer.Brecht Van Lommel
2012-03-18Code style edits (mostly spliting long lines, and removing trailing spaces).Bastien Montagne
Note about long lines: I did not touch to two pieces of code (because I don’t see any way to keep a nicely formated, compact code, with shorter lines): * The node types definitions into rna_nodetree_types.h * The vgroup name functions into rna_particle.c
2012-03-06Code cleanup in rna files (huge, higly automated with py script).Bastien Montagne
Addresses: * C++ comments. * Spaces after if/for/while/switch statements. * Spaces around assignment operators.
2012-01-25Cycles: Render PassesBrecht Van Lommel
Currently supported passes: * Combined, Z, Normal, Object Index, Material Index, Emission, Environment, Diffuse/Glossy/Transmission x Direct/Indirect/Color Not supported yet: * UV, Vector, Mist Only enabled for CPU devices at the moment, will do GPU tweaks tommorrow, also for environment importance sampling. Documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Passes
2011-11-07Cycles: svn merge -r41613:41627 ^/trunk/blenderBrecht Van Lommel
2011-11-02RenderEngine/Nodes: system to check for shading nodes compatibilityBrecht Van Lommel
* Scene.use_shading_nodes property to check if RenderEngine is using new shading nodes system, and RenderEngine.bl_use_shading_nodes to set this. * Add mechanism for tagging nodes as being compatible with the old/new system.
2011-11-02RenderEngine api: support for viewport rendering, details here:Brecht Van Lommel
http://wiki.blender.org/index.php/Dev:2.6/Source/Render/RenderEngineAPI * This adds a Rendered draw type in the 3D view, only available when the render engine implements the view_draw callback. * 3D view now stores a pointer to a RenderEngine. * view_draw() callback will do OpenGL drawing instead of the viewport. * view_update() callback is called after depsgraph updates.
2011-11-02Cycles: RenderEngine api code tweaks, also ensuring it's backwards compatible.Brecht Van Lommel
2011-11-02RenderEngine: steps towards implementation of this proposal:Brecht Van Lommel
http://wiki.blender.org/index.php/Dev:2.6/Source/Render/RenderEngineAPI * RenderEngine is now a persistent python object that exists and retains properties as long as a frame is being rendered. This is mostly useful now that more than one callback will be added. * Added update() callback that should ideally be used to export the scene, leaving only the rendering to the render() callback. This is not required to be used at this point, but separating this will make things more thread safe later on. * Added tag_redraw() and tag_update() functions that will be used for viewport rendering. * Internal change: status text is now retained after update_status calls.
2011-11-02RenderEngine: add .is_animation and .is_preview properties to detect if it'sBrecht Van Lommel
an animation or preview render that is being done.
2011-10-25Cycles: svn merge -r41225:41232 ^/trunk/blenderBrecht Van Lommel
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-22Render API: add update_progress() function to update progress bar progress fromBrecht Van Lommel
external render engines. Also refactoring to move some render engine registration stuff out of RNA and into render module.
2011-10-22Code refactoring: move external engine functions into own file.Brecht Van Lommel
2011-10-22Cycles: svn merge -r40934:41157 ^/trunk/blenderBrecht Van Lommel
2011-10-20replace RNA function string lookups with direct assignments, currently the ↵Campbell Barton
lookup returns the same pointer every time. some of these functions - panel/operator poll for eg, are called many times per redraw so while not a bottleneck its unnecessary.
2011-10-16Cycles: more tweaks to get old/new shading systems working better together, forBrecht Van Lommel
now also made non-material/world/lamp stuff use old texture datablocks, no time to get this fully working now. Still some python tweaks to do to ensure the right panels show.
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-10-11Cycles: svn merge -r40411:40934 ^/trunk/blenderBrecht Van Lommel
2011-10-01add a collection function slot for assignment (not used yet).Campbell Barton
2011-09-21add missing define for last commit and tag bl_label & bl_descriptions for ↵Campbell Barton
translating too
2011-09-19Cycles: svn merge -r40266:40358 ↵Brecht Van Lommel
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-19/blender/makesrna: Removed final points in UI strings and messages.Bastien Montagne
Plus a few splits of very long lines…
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-16Cycles: svn merge -r39132:39457 ↵Brecht Van Lommel
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-08-07Cycles: svn merge -r37957:39132 ↵Brecht Van Lommel
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-07-04Updated the indent, sorry!Jeroen Bakker
2011-07-04Current situationJeroen Bakker
A mesh can consist out of multiple material. Take a character with clothing's. the skin can be a different material as the different clothing's. During compositing it is a common use-case to only do a part of the composit on only a specific material. Currently this can not be done. In blender movies this feature is known to be implemented, but until now it never got integrated into trunk. Proposal With material index the Blender internal renderer will be capable of creating a buffer containing the material indexes of the first pixel-hit. This will be implemented in the same manner as the object index. In the compositor the ID Mask node can be used to extract the information out of the Render pass. Impact User interface On the properties-space the next changes will be done Scene⇒Render layer⇒Passes⇒Material index will be added Material⇒Options⇒Pass index will be added DNA Material struct will get an new field called “index”. this will be a short-type. Material struct the field pad will be removed. A new Render-layer pass will be added (bit 1«18) RNA Material RNA is updated (based on “pass index” from object) Render layer RNA is updated (based on IndexOB) Blender internal renderer The Blender internal renderer will process the render pass as a copy of the Object index. Blender compositor The render layer input will get a new output socket called “IndexMA” Usage An example on how to use material index can be found at: https://svn.blender.org/svnroot/bf-blender/trunk/lib/tests/compositing/composite_materialindex.blend This is also example of a commit message longer than the commit itself :)
2011-06-28RenderEngine API: add self.report() error reporting function for render engines,Brecht Van Lommel
works the same as for operators. Also includes some refactoring of render error reporting code to use ReportList.
2011-05-31Cycles: svn merge -r36777:37040 ↵Brecht Van Lommel
https://svn.blender.org/svnroot/bf-blender/trunk/blender/
2011-05-31tag unused rna args.Campbell Barton
2011-05-18Cycles: svn merge -r36495:36747 ↵Brecht Van Lommel
https://svn.blender.org/svnroot/bf-blender/trunk/blender/
2011-05-18RNA: make mechanism used by operators to keep python instance alive more ↵Brecht Van Lommel
generic, to be used by render engine later.
2011-05-18RNA: pass Main rather than Context to register/unregister callbacks.Brecht Van Lommel
2011-05-17Render API: RenderEngine.update_progress function to set progress percentage.Brecht Van Lommel
2011-05-17Render API: add self.report() function for RenderEngine, for reporting ↵Brecht Van Lommel
warnings and errors.
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-08comment some unused code.Campbell Barton
2011-05-05Cycles refactoring: put external engine code into separate file.Brecht Van Lommel
2011-04-27Blender modifications for Cycles integration.Brecht Van Lommel
Some notes about code status: * The Blender modifications were fairly quickly put together, much more code polish and work is needed to get this to a state where it can be committed to trunk. Files created with this version may not work in future versions. * Only simple path tracing is supported currently, but we intend to provide finer control, and more options where it makes sense. * For GPU rendering, only CUDA works currently. The intention is to have the same kernel code compile for C++/OpenCL/CUDA, some more work is needed to get OpenCL functional. * There are two shading backends: GPU compatible and Open Shading Language. Unfortunately, OSL only runs on the CPU currently, getting this to run on the GPU would be a major undertaking, and is unlikely to be supported soon. Additionally, it's not possible yet to write custom OSL shaders. * There is some code for adaptive subdivision and displacement, but it's far from finished. The intention is to eventually have a nice unified bump and displacement system. * The code currently has a number of fairly heavy dependencies: Boost, OpenImageIO, GLEW, GLUT, and optionally OSL, Partio. This makes it difficult to compile, we'll try to eliminate some, it may take a while before it becomes easy to compile this.
2011-04-11patch [#26861] Spelling, Typos, and GrammarCampbell Barton
- also fix own bad assert from yesterday & remove testing cmake print.
2011-03-03replace 0 with NULL when used as a pointerCampbell Barton
2011-02-27doxygen: blender/makesrna tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-13warning cleanup.Campbell Barton
- fix mistake with grease pencil UI (&& was intended but & used). - use (void) rather then () across _all_ blenders code. - a few minor edits, don't shadow stack variables in roll calculation & avoid running memset() for VBO vertex map.
2011-02-08add back options for loading a renderlayer to offset the image when copying ↵Campbell Barton
the buffer to a smaller renderlayer. This was reverted by Brecht r22541 because its inefficient but there is no way to work around this with povray at the moment so adding it back as optional args.
2011-01-24Raise an exception when registering classes with ID names which are too ↵Campbell Barton
long. (related to bug ), found while looking into bug [#25776].
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.