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-14Cycles: Remove Emission shaders from the graph if color or strength is 0.Thomas Dinges
2015-05-09Cycles: Add utility function to graph to query number of closures used in itSergey Sharybin
Currently unused but will be needed soon for the split kernel work.
2015-04-26Cleanup: Code style.Thomas Dinges
2015-04-07Cycles: Cleanup, typosSergey Sharybin
2015-03-17Cycles: Improve readability of dumped graphsSergey Sharybin
2015-03-17Cycles: Fix displacement code creating cyclic dependencies in graphSergey Sharybin
Bump result was passed to set_normal node and then set_node was connected to all unconnected Normal inputs, including the one from original Bump node, causing cycles.
2015-02-17Cleanup: Update comments and make it more clear what volume interpolation is ↵Thomas Dinges
for.
2015-01-22Cleanup / Cycles: Code de-duplication for graph node relinking.Thomas Dinges
Differential Revision: https://developer.blender.org/D1018
2015-01-21Cycles: Optimization for black world backgroundsThomas Dinges
* If a Background node is set to a black color or zero strength, it now gets removed from the shader graph. * In case the graph is empty (no background node), the kernel will skip evaluating it and save some rendertime. This can help quite a bit in scenes, where the majority of the image consists of a black background. Example: http://www.pasteall.org/pic/show.php?id=82650 In this case the render is ~16% faster. Differential Revision: https://developer.blender.org/D972
2014-12-25Cleanup: Fix Cycles Apache header.Thomas Dinges
This was already mixed a bit, but the dot belongs there.
2014-11-20Cycles: Fix typo on graphiz graph dumperSergey Sharybin
2014-10-29Cleanup: warnings, typosCampbell Barton
2014-09-25Cycles: Add method to dump current shader graph to the graphiz fileSergey Sharybin
This is rather useful to see how good optimization went and so. Currently uses quite simple notation: shader nodes are nodes on the graph, connects between graph nodes are named by the sockets names, so i.e. connection between BSDF and Mix would be named bsdf:closure1. Could be improved in the feature to draw fancier graph, but it's good enough already. Use in the following way: - To create graphix file call graph->dump_graph("graph.dot") - To visualize the grapf call: dot -Tpng graph.dot -o graph.png
2014-09-24Cycles: Shader Graph Optimization for Mix RGB nodes.Thomas Dinges
Basically the same as AC2c58e96685e8, but for Mix RGB Shaders, in case we use the Mix type. This way the node can be used as texture switch for example, setting the Factor to 0.0 or 1.0, without wasting extra memory / render time.
2014-09-19Cycles: Remove unused Mix Shaders from the ShaderGraph, instead of only ↵Thomas Dinges
relinking. Differential revision: https://developer.blender.org/D796
2014-04-21Code cleanup: remove old closure sampling code Cycles.Brecht Van Lommel
This was the original code to get things working on old GPUs, but now it is no longer in use and various features in fact depend on this to work correctly to the point that enabling this code is too buggy to be useful.
2014-01-17Code Cleanup: spellingCampbell Barton
2013-12-31Cycles Volume Render: these changes should have included in the last commit.Brecht Van Lommel
2013-12-31Cycles Volume Render: generated texture coordinates for volume render.Brecht Van Lommel
This does not support staying fixed while the surface deforms, but for static meshes it should match up with the surface texture coordinates. Implemented as a matrix transform from objects space to mesh texture space. Making this work for deforming surfaces would be quite complicated, you might need something like harmonic coordinates as used in the mesh deform modifier, probably will not be possible anytime soon.
2013-12-31Cycles Volume Render: optimization to avoid exporting surface attributes whenBrecht Van Lommel
only a volume shader is used.
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-08-13Code cleanup:Thomas Dinges
* Some typo fixes.
2013-07-10Fix #36080: fix cycles crash with certain group node setups, accessing freedBrecht Van Lommel
memory.
2013-06-23Fix #35847: cycles group nodes did not work well exposing inputs like normal orBrecht Van Lommel
texture coordinate that should automatically use the default normal or texture coordinate appropriate for that node, rather than some fixed value specified by the user.
2013-06-05Cycles: GLSL materials now can use multiple UV maps with the attribute node.Brecht Van Lommel
2013-05-10Fix for recent bugfix with anisotropic node crash, could do invalid memory ↵Brecht Van Lommel
access.
2013-05-10Fix #35272: cycles GPU crash with anisotropic shader in group node.Brecht Van Lommel
Problem was that due to group proxy node the anisotropic node did not detect early enough that it needs generated texture coordinate data to generate the tangent. Now the proxy nodes are removed earlier.
2013-05-08Fix #35246: cycles has no simple way to combine bump and normal mapping. NowBrecht Van Lommel
the Bump node has a Normal input, so you can chain it after a Normal Map node. Note that normal mapping always has to be done first because it is tied to the particular mesh surface and tangents.
2013-03-31Cycles / Shader Graph optimization:Thomas Dinges
* Unnecessary shader inputs inside the Mix Shader are now ignored, in case the factor is 0.0 / 1.0 and not connected. This way we save some render time for complex node graphs. Example: http://www.pasteall.org/pic/show.php?id=48226 Check the Mix Shader at the end: In this case, Cycles will now avoid the complete huge shader tree, and only calculate the Diffuse Shader. Rendertime decreased from 1:50 min to 1:20 min on CPU. GPU rendering benefits as well from this. This only affects SVM, OSL was already doing these optimizations.
2013-01-23Fix #33905: cycles crash with bsdf node plugged twice into add shader.Brecht Van Lommel
2012-11-27Fix #32907: failure rendering a complex node setup, hitting fixed max numberBrecht Van Lommel
of closures limit. Optimized the code now so it can handle more. Change SVM mix/add closure handling, now we transform the node graph so that the mix weights are fed into the closure nodes directly.
2012-11-07support for string parameters in OSL nodesDalai Felinto
for now subtype is not defined, but once we start parsing the metadata we can set texture inputs as FILEPATH also, it takes relative strings and convert to absolute for all strings (which is arguably a good solution, but should work for now)
2012-10-10Cycles: per-BSDF normal input and new Bump node.Brecht Van Lommel
Each BSDF node now has a Normal input, which can be used to set a custom normal for the BSDF, for example if you want to have only bump on one of the layers in a multilayer material. The Bump node can be used to generate a normal from a scalar value, the same as what happens when you connect a scalar value to the displacement output. Documentation has been updated with the latest changes: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes Patch by Agustin Benavidez, some implementation tweaks by me.
2012-10-10Cycles: Anisotropic BSDF enabled, with tangents now computed from the active ↵Brecht Van Lommel
UV map. It's using the Ward BSDF currently, which has some energy loss so might be a bit dark. More/better BSDF options can be implemented later. Patch by Mike Farnsworth, some modifications by me. Currently it's not possible yet to set a custom tangent, that will follow as part of per-bsdf normals patch.
2012-10-05Fix #31806: cycles crash rendering a particular node setup with multiple mix/addBrecht Van Lommel
shader nodes.
2012-09-04Cycles: merge of changes from tomato branch.Brecht Van Lommel
Regular rendering now works tiled, and supports save buffers to save memory during render and cache render results. Brick texture node by Thomas. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Textures#Brick_Texture Image texture Blended Box Mapping. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Textures#Image_Texture http://mango.blender.org/production/blended_box/ Various bug fixes by Sergey and Campbell. * Fix for reading freed memory in some node setups. * Fix incorrect memory read when synchronizing mesh motion. * Fix crash appearing when direct light usage is different on different layers. * Fix for vector pass gives wrong result in some circumstances. * Fix for wrong resolution used for rendering Render Layer node. * Option to cancel rendering when doing initial synchronization. * No more texture limit when using CPU render. * Many fixes for new tiled rendering.
2012-09-03Replaced dynamic_casts for node type checks by simple 'special type' ↵Lukas Toenne
identifiers. RTTI has to be disabled in cycles for OSL.
2012-07-19print names of nodes/sockets when cycles complains about only being able to ↵Campbell Barton
connect a closure to another closure.
2012-06-09style cleanup: block commentsCampbell Barton
2012-05-30Fix #31645, mix node results in crash upon render. This happens when unused ↵Lukas Toenne
mix nodes are removed from the cycles graph. In case the inputs are both unconnected it still tried to reconnect them.
2012-05-23Fix cycles render issue with a (useless) mix node that has the same shaderBrecht Van Lommel
plugged into both sockets.
2012-04-30Cycles: support for motion vector and UV passes.Brecht Van Lommel
Most of the changes are related to adding support for motion data throughout the code. There's some code for actual camera/object motion blur raytracing but it's unfinished (it badly slows down the raytracing kernel even when the option is turned off), so that code it disabled still. Motion vector export from Blender tries to avoid computing derived meshes when the mesh does not have a deforming modifier, and it also won't store motion vectors for every vertex if only the object or camera is moving.
2011-12-18Generalized node groups for Cycles.Lukas Toenne
This allows group nodes inside other group nodes in cycles and makes the code more generic for all possible cases, like direct group input-to-output links and unused group sockets. Previous code tried to connect external nodes and internal group sockets by following links until a "real" node input/output. This quickly becomes complicated in corner cases as described above and can lead to unexpected behavior when the group socket is of a different type than the internal/external sockets, but that conversion is skipped. The new code uses the concept of "proxy nodes" similar to what the new compositor does. Each group socket is replaced with a proxy node with a single input and output, to which other nodes in the same tree and internal nodes can link to. After all groups have been expanded in the graph, these proxy nodes are removed again, adding converter nodes if necessary.
2011-10-12Cycles: image texture node now uses UV as default texture coordinate,Brecht Van Lommel
instead of generated.
2011-08-21Cycles: fix some invalid memory access problems found by running the windows ↵Brecht Van Lommel
build in debug mode.
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