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
2011-11-20share code for fluidsim, ocean & dynamic paint file paths.Campbell Barton
- use BLI_join_dirfile for joining all paths (no need to ensure slash is appended). - paths from linked library files now supported.
2011-11-18Camera: some code refactoring, use an intermediate CameraParams struct insteadBrecht Van Lommel
of long list of variables everywhere. Intention is to also let 3d view use this eventually, instead of duplicating code.
2011-11-16Fix #29160: material node "Texture" didn't use default texture coordinatesBrecht Van Lommel
anymore when nothing was connected to the socket.
2011-11-14Cycles: Oren-Nayar BSDF support. This is not a separate shader node, rather itBrecht Van Lommel
is available through the Roughness input on the Diffuse BSDF. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Diffuse Patch by Yasuhiro Fujii, thanks!
2011-11-14minor cleanup Campbell Barton
- use NULL rather then 0 for pointers - use static functions where possible - add own includes to ensure func's and their declarations don't get out of sync.
2011-11-13Moving all node angle-type values to radians. This also fixes [#29151] ↵Bastien Montagne
rotate node wrong input (mixing up radians and degrees). Warning! Angles in nodes have just been moved to consistant Radians values (ANGLE subtype of RNA Float property). You will still see them as degrees in the GUI, though, unless you chose otherwise in Scene properties, Units panel. Conversion from degrees to radians for old files is obviously done at loading time, but if you use a mixed pipeline of trunk and releases, be carefull! Loading a 2.60.4 file (or higher) into any previous version of Blender, your angles in nodes will have odd values (well, radians interpreted as degrees)! And if you save such file in a pre-2.60.4 version, the angle node values will be converted again when loaded in Blender 2.60.4 or higher... This affects following nodes: * Compo: Rotate, Defocus, ChromaMatte, Glare and DirectionalBlur * Shader: Mapping And all future code using the TexMapping struct’s rotation part (its rot memember is now in radians).
2011-11-13remove Id:'s from shader node headersCampbell Barton
2011-11-11correct indentation and some whitespace edits (no functional changes)Campbell Barton
2011-11-11quiet -Wdouble-promotion warningsCampbell Barton
2011-11-10Cycles: many of the new nodes were not showing properties/buttons in nodes inBrecht Van Lommel
the node editor.
2011-11-10Restored GPL header of NOD_composite.h (funny s&r ?!?).Bastien Montagne
2011-11-10Dynamic Paint merge:Miika Hamalainen
Commit Dynamic Paint from "soc-2011-carrot" branch into trunk. End-user documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Modifiers/Simulation/Dynamic_Paint GSoC wiki page: http://wiki.blender.org/index.php/User:MiikaH/GSoC-2011-DynamicPaint
2011-11-10add some missing headers to cmake, also add some files as comments since it ↵Campbell Barton
seems they should be added but evidently work fine without.
2011-11-09Merge with trunk r41701soc-2011-carrotMiika Hamalainen
2011-11-09Fixed/restored translation of node classes (in foreach_nodeclass funcs)Bastien Montagne
2011-11-08Texturing: texture and 3d view draw type changes, these should only have anyBrecht Van Lommel
effect for a render engine using new shading nodes. In short: * No longer uses images assigned to faces in the uv layer, rather the active image texture node is what is edited/painted/drawn. * Textured draw type now shows the active image texture node, with solid lighting. * Material draw mode shows GLSL shader of a simplified material node tree, using solid lighting. * Textures for modifiers, brushes, etc, are now available from a dropdown in the texture tab in the properties editor. These do not use new shading nodes yet. http://wiki.blender.org/index.php/Dev:2.6/Source/Render/TextureWorkflow
2011-11-08Nodes: add cycles shader nodes, these will only be available to render enginesBrecht Van Lommel
that use the new shading nodes system. Documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes
2011-11-08Code cleanup and small fixes:Sergey Sharybin
- Assume all areas are using valid MovieClipUser when using functions from movieclip.c - Set active scene clip to movie-related nodes in compositor rather than checking if there's only one clip in datablocks - Fixed users count issue when solving camera motion
2011-11-08Nodes: add foreach_nodeclass iterator over node classes, use for node add menu.Brecht Van Lommel
2011-11-07Textures/Shaders: extend TexMapping to include projection options, and add aBrecht Van Lommel
ColorMapping struct for color manipulation of textures. These will be the standard built-in texture node options for manipulating the incoming texture coordinate and outgoing color.
2011-11-07Nodes: add socket option to hide the default value in the UI, to be used forBrecht Van Lommel
sockets that get their default value if no node is connected from elsewhere, e.g. a texture coordinate.
2011-11-07Merge with trunk r41625Miika Hamalainen
2011-11-07Camera tracking integrationSergey Sharybin
=========================== Rest of changes from camera tracking gsoc project. This commit includes: - New compositor nodes: * Movie Clip input node * Movie Undistortion node * Transformation node * 2D stabilization node - Slight changes in existing node to prevent code duplication
2011-11-07Removing a wrong node_type_storage (checked and confirmed by lukas_t).Bastien Montagne
2011-11-06replace macros with bli math functions for nodesCampbell Barton
2011-11-06Fix for bug #29046, the factor buffer input was not used correctly in curve ↵Lukas Toenne
nodes. Curve Map exec function (for RGB curves) used a broken test condition for constant factor=1.0f eval. This must take the factor buffer into account, checking the factor vec for default value is not sufficient. These kinds of test should use a function interface, there are probably a lot more bugs like this hidden in the code.
2011-11-06misc macro --> bli math lib functionsCampbell Barton
2011-11-05Code refactoring: split camera functions from object.c into new camera.c.Brecht Van Lommel
2011-11-05Merge with trunk r41545Miika Hamalainen
2011-11-05macro formatting & remve some unused code.Campbell Barton
2011-11-04Changes to node sockets default values to deal better with artists workflowSergey Sharybin
(in most cases it needed to do extra tweaks to values which was annoying). Patch by Sebastian König.
2011-11-04Comments and other text editing:Joshua Leung
* Renamed one of the two "File is Saved" entries, as having two entries with the same name in the Datablocks viewer was confusing * Edited the tooltip text for "speed" option for dupliframes to clarify what it does (or what it's supposed to do)
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-02Nodes: add support for shader nodes on world and lamps, in addition to ↵Brecht Van Lommel
materials. The internal render engine does not support them, and they are not accesible in the UI yet, but cycles will use them.
2011-11-02Bugfix for [#29055] node editor / texture node / scale nodeThomas Dinges
* Node Vector sockets, don't have a PROP_FACTOR any longer.
2011-10-31Fix #29084: material/texture nodes crash introduced in 2.60, execdata is beingBrecht Van Lommel
lazely created but this wasn't done in a thread safe way.
2011-10-31Fix crash in texture nodes, when no derivatives available, other nodes alreadyBrecht Van Lommel
did this check.
2011-10-31Merge with trunk r41411Miika Hamalainen
2011-10-30Change default values for mix node.Sergey Sharybin
Discussed with plenty of artists on De Balie and this values makes much more sense.
2011-10-28Merge with trunk r41342Miika Hamalainen
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-22Merge with trunk r41197Miika Hamalainen
2011-10-22BLI_utildefine minor editsCampbell Barton
- removed AVG2, was only used once. - remove unused LONGCOPY define. - removed BLI_STRUCT_OFFSET, was only used once, replce with offsetof - formatting edits, split some macros over multiple lines.
2011-10-22header cleanup and typo'sCampbell Barton
2011-10-20Fix for #28980, could enter infinite loop during node socket verification if ↵Lukas Toenne
dynamic sockets are present. Note: in this particular bug report the sockets have some faulty flag settings (none of them should be flagged as SOCK_DYNAMIC), needs more info.
2011-10-20strcpy() --> BLI_strncpy(), where source strings are not fixed and target ↵Campbell Barton
size is known.
2011-10-19Adds an update flag to the bNode struct (similar to bNodeTree->update).Lukas Toenne
This prevents access to non-existent typeinfo during type initialization, when node types have been removed and such nodes are deleted from older files. All blenkernel functions now only set the node->update flag instead of directly calling the update function. All operators, etc. calling blenkernel functions to modify nodes should make a ntreeUpdate call afterward (they already did that anyway). Editor/RNA/renderer/etc. high-level functions still can do immediate updates by using nodeUpdate and nodeUpdateID (replacing NodeTagChanged/NodeTagIDChanged respectively). These old functions were previously used only for setting compositor node needexec flags and clearing cached data, but have become generic update functions that require type-specific functionality (i.e. a valid typeinfo struct).
2011-10-15- add template for defining custom driver functions.Campbell Barton
- comment unused assignments.
2011-10-14Fix #28914: crash loading file saved with cycles builds in trunk.Brecht Van Lommel
The cause is an unknown node socket type in node groups. Ideally the node system should handle this better and remove the unknown sockets from groups, but this is a bit of a risky fix to do now, so instead the shader socket type has been added, since this is a simple change and the code has been tested well.
2011-10-14Merge with trunk r40991Miika Hamalainen