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-10-05Cycles: add "From Dupli" option for texture coordinate node. This gets theBrecht Van Lommel
Generated and UV coordinates from the duplicator of instance instead of the object itself. This was used in e.g. Big Buck Bunny for texturing instanced feathers with a UV map on the bird. Many files changed, mainly to do some refactoring to get rid of G.rendering global in duplilist code.
2012-09-20Fix #31888: cycles crashes using movie for image texture. This is not supportedBrecht Van Lommel
but should not crash either. This fix is more of a workaround, the crash seems to be in openimageio or one of the libraries it uses.
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-08-30clamp for Mix nodeDalai Felinto
the implementation was following my early commit for Math node I haven't had a chance to run those through Brecht, but would like to do eventually. (they work fine though)
2012-08-29Cycles bugfix: [32431] Cycles Math Node : Clamp does not workDalai Felinto
the OSL solution is slightly different than the svm, but I think it's fine. thanks Lukas Toenne for helping with a fix on the original patch
2012-06-12Cycles:Thomas Dinges
* Add back a break, which was deleted in r47773.
2012-06-12Fix #31675 Reroute nodes aren't working for cycles.Lukas Toenne
Note that currently the reroute nodes are hardcoded to color values, which means they will not work for shader type connections (and possibly cause overhead for float and vector conversion). Looking into a solution.
2012-06-09style cleanup: assignment & indentation.Campbell Barton
2012-06-09style cleanup: block commentsCampbell Barton
2012-06-08Particle Info node for Cycles. This can be used to access particle ↵Lukas Toenne
information in material shaders for dupli objects. For now only the particle Age and individual Lifetime (in frames) are supported, more attributes can be added when needed. The particle data is stored in a separate texture if any of the dupli objects uses particle info nodes in shaders. To map dupli objects onto particles the store an additional particle_index value, which is different from the simple dupli object index (only visible particles, also works for particle dupli groups mode). Some simple use cases on the code.blender.org blog: http://code.blender.org/index.php/2012/05/particle-info-node/
2012-06-04Cycles: support for image sequences in image/environment texture node.Brecht Van Lommel
2012-05-29Fix compilation error of Cycles after recent py node removalSergey Sharybin
2012-05-27style cleanupCampbell Barton
2012-05-21Cycles: add Object Info node, with outputs object location, object/materialBrecht Van Lommel
pass index, and a random number unique to the instance of the object. This can be useful to give some variation to a single material assigned to multiple instances, either manually controlled through the object index, based on the object location, or randomized for each instance. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Object_Info
2012-05-08Cycles: add light falloff node, with quadratic/linear/constant falloff and aBrecht Van Lommel
smoothing factor to reduce high values near the light. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Light_Falloff Note that this was already possible to do manually with the Ray Length, but this adds a convenient node for it. This commit also makes the mapping node min/max option work, fixing #31348.
2012-04-13Cycles: add render layer use environment option to disable world lighting onBrecht Van Lommel
individual render layers.
2012-04-04Fix #30803: shader node Mapping location property conflicted with based classBrecht Van Lommel
location property (for the node editor), now renamed to "translation".
2012-03-26Cycles: add ColorRamp node.Brecht Van Lommel
2012-03-08Cycles: support for environment texture "Mirror Ball" projection mode, next toBrecht Van Lommel
existing "Equirectangular". This projection is useful to create light probes from a chrome ball placed in a real scene. It expects as input a photograph of the chrome ball, cropped so the ball just fits inside the image boundaries. Example setup with panorama camera and mixing two (poor quality) photographs from different viewpoints to avoid stretching and hide the photographer: http://www.pasteall.org/pic/28036
2012-03-06Fix for 30439, Cycles node group conversion wasn't checking node->id pointer ↵Lukas Toenne
(group node without internal node tree). This is a somewhat unusual case (UI buttons don't allow unlinking group tree), but not entirely forbidden. Also fixed similar issue in node_templates.c where the group tree is used to generate a button name.
2012-02-28Cycles: fix AO pass not rendering with AO enabled for world, and make maskBrecht Van Lommel
layers work more like blender internal.
2012-02-28Cycles: ambient occlusion support, with AO factor and distance, and a render ↵Brecht Van Lommel
pass. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/World#Ambient_Occlusion http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Passes#Lighting_Passes
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
2012-01-24Brightness/Contrast Node for CyclesDalai Felinto
Contrast helps to adjust IBL (HDR images used for background lighting). Note: In the UI we are caling it Bright instead of Brightness. This copy what Blender composite is doing. Note2: the algorithm we are using produces pure black when contrast is 100. I'm not a fan of that, but it's a division by zero. I would like to look at other algorithms (what gimp does for example). But that would be only after 2.62.
2012-01-20Sample as Lamp option for world shaders, to enable multiple importance sampling.Brecht Van Lommel
By default lighting from the world is computed solely with indirect light sampling. However for more complex environment maps this can be too noisy, as sampling the BSDF may not easily find the highlights in the environment map image. By enabling this option, the world background will be sampled as a lamp, with lighter parts automatically given more samples. Map Resolution specifies the size of the importance map (res x res). Before rendering starts, an importance map is generated by "baking" a grayscale image from the world shader. This will then be used to determine which parts of the background are light and so should receive more samples than darker parts. Higher resolutions will result in more accurate sampling but take more setup time and memory. Patch by Mike Farnsworth, thanks!
2012-01-08Cycles: checker texture node, patch by Thomas.Brecht Van Lommel
2011-12-28Fix #29689, #29702: cycles render crash with node setups with non-cycles nodes,Brecht Van Lommel
after group socket refactoring.
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-12-17Cycles Gamma NodeDalai Felinto
Node specially useful for Texture correction. This is also a nice example of a simple node made from scratch in case someone wants to create their custom nodes. Review by Brecht.
2011-12-16Normal Node - CyclesDalai Felinto
reviewed by Brecht, with help from Lukas. Note: dot is reversed compared to Blender. In Blender Normals point outside, while in Cycles they point inside. If you use your own custom vector with the Normal Node you will see a difference. If you feed it with object normals it should work just as good.
2011-12-09Fix #29555: cycles crash rendering with no material in material slot.Brecht Van Lommel
2011-12-04Invert Color Cycles NodeDalai Felinto
as with the HSV node the OSL code is relying on the (yet to be implemented) autorename. Also the svm code could use mix (svm_lerp) instead: 32 . float3 color_inv = make_float3(1.0f, 1.0f, 1.0f) - color; 35 . . stack_store_float3(stack, out_color, svm_lerp(color_inv, color, factor)); I have a feeling that each node 'program' should have the least program as possible. I'll see with Brecht later. But overall I don't know if that's any fast. And apart from that I think we will need this kind of function to move to a library if multiple functions linked in are not a problem.
2011-12-03CameraData Input Cycles NodeDalai Felinto
---------------------------- reviewed and approved by Brecht Important note: the camera Z is reverted compared to Blender render. Now it goes from zero (camera) to positive (in front of the camera)
2011-12-02HSV Color Node for CyclesDalai Felinto
......................... note, the OSL code has a problem. In the original node the input and output nodes have the same name (Color). So this will be fixed here once Brecht come up with a nice autorenaming (or we do a doversion patch) for that.
2011-12-02SeparateRGB and CombineRGB nodes for Cycles materialsDalai Felinto
reviewed and approved by Brecht my first OpenCL code \o/
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-15Fix #29249: mapping node not keyable anymore, restore RNA to what it was beforeBrecht Van Lommel
Cycles change, generating RNA paths for this is a bit complicated.
2011-11-09Cycles: fix light strength mistmatch when clicking "use nodes".Brecht Van Lommel
Regarding merge status, there should be no build failures, but cycles may not be enabled in your build, we are still solving: * Windows: CUDA kernel compile at runtime is failing, probably will have to do precompiled kernel again. * Mac: scons is not building cycles yet. * Linux doesn't have boost + openimageio libs available in lib/ yet, so it requires manual install of those libs still.
2011-11-08Cycles: svn merge -r41627:41650 ^/trunk/blenderBrecht Van Lommel
2011-11-07Cycles: procedural texture nodes reorganization. This will break existing filesBrecht Van Lommel
using them, but rather do it now that I have the chance still. Highlights: * Wood and Marble merged into a single Wave texture * Clouds + Distorted Noise merged into new Noise node * Blend renamed to Gradient * Stucci removed, was mostly useful for old bump * Noise removed, will come back later, didn't actually work yet * Depth setting is now Detail socket, which accepts float values * Scale socket instead of Size socket http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Textures
2011-11-05Cycles: add location/rotate/scale and XYZ mapping options for all texture nodes,Brecht Van Lommel
to reduce the amount of nodes needed to set up a simple texture. These are currently editable in the texture properties tab, still need to make them available in the node editor. Projection and color modification options will be added later, they're not implemented yet but allocated already to avoid version patches later. Also an issue with the XYZ mapping is that when you set one to None, texture and material draw mode doesn't draw the image texture well, OpenGL doesn't seem to like the degenerate texture matrix?
2011-10-17Cycles: material "sample as light" option, to make the integrator sample theBrecht Van Lommel
object as a mesh light or not. This may result in more/less noisy renders depending on the situation, but should converge to the same result.
2011-10-16Cycles: make Attribute node work, code for it was implemented in kernel, onlyBrecht Van Lommel
missing was the ability to specify the attribute name in the node. This makes it possible to use multiple uv or vertex color layers now.
2011-10-13Cycles: revert commit that joined surface/volume socket into a single shader ↵Brecht Van Lommel
socket, on second thought this makes it a bit too difficult to understand what's going on.
2011-10-13Cycles: code refactoring to split out code from mapping node.Brecht Van Lommel
2011-10-12Cycles: make node with multiple input sockets with the same name work. ↵Brecht Van Lommel
Previously nodes like Mix had their sockets renamed to Color1/Color2, but doing this breaks compatibility for the internal renderer, so restored it now.
2011-10-12Cycles: replace surface/volume sockets in output nodes with a single shader ↵Brecht Van Lommel
socket, decided it's better to render objects as either surface or volume. This may break the volume rendering patch, but shaders with volume closures still get tagged as having volume closures, so it should be fixable without too many changes.
2011-10-03Cycles: fix a few more msvc issues with empty scenes and ustring setting.Brecht Van Lommel
2011-09-28Cycles: internal changes that should have no effect on user level yet, addedBrecht Van Lommel
shader flags for various purposes, and some code for light types other than points.
2011-09-28Cycles: add some volume nodes, they don't actually do anything, this is justBrecht Van Lommel
to give other developers who may want to work on this to get a starting point.