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
2014-12-18Cycles: Do some logging when motion is detected in the sceneSergey Sharybin
2014-08-25Fix T41532: Some files bounce back and forth between 'packing BVH nodes' and ↵Sergey Sharybin
'Copying Transforms to Device' This was originally caused by a6ae12a where i didn't foresee unclear distinguishing between empty and non-synced meshes will give issues for the viewport. They're the same for final rendering, but for viewport we need to be accurate here.
2014-08-18Fix T41474: Second renderlayer doesnt render if first one has 'Use Surfaces' ↵Sergey Sharybin
disabled
2014-08-13SpellingCampbell Barton
2014-08-12Removed/disabled debugging code.Tamito Kajiyama
2014-08-12WIP commit just for a record of a working snapshot of code revisions for ↵Tamito Kajiyama
node-based textured strokes.
2014-07-31Fix T41258: Crash when entering edit mode while viewport render is enabledSergey Sharybin
The issue was caused by the render engine loading edit mesh, which re-allocates mesh array which might be referenced by other object's derived meshed. Worst thing about this is that updating render engine happens from the end of scene update function, after all the objects are updated and so. This is needed so render engine gets the update objects which is correct. The only proper way to solve the issue is to make it so viewport engine does not leave objects in inconsistent state, meaning nobody will reference to freed data. In order to reach this we do edit mesh loading before running objects update so all the objects which uses that mesh will have proper references in the derived mesh. This also solves old creepyness which happened before when having single object in edit mode. tweaking it will calculate derived mesh as a part of scene update, then this derived mesh will be freed by edit mesh loading and viewport will be creating derived mesh again. Now render engine is expected to do nothing with meshes which are in edit mode, but they still need to load edit data for non0meshes. It's not really easy to do from the BKE level because needed functions are implemented in the editor. Thanks Campbell for the review! Differential Revision: https://developer.blender.org/D697
2014-07-29Fix T41174: Tangent space required UV map in CyclesSergey Sharybin
Now Cycles behaves in the same way as BI in terms of using sphere projection of orco coordinates if there's no UV map when calculating tangent space.
2014-06-22Fix T40703: cycles viewport smoke not updating when changing frame.Brecht Van Lommel
2014-06-14Cycles: Add support for uchar4 attributes.Thomas Dinges
* Added support for uchar4 attributes to Cycles' attribute system. * This is used for Vertex Colors now, which saves some memory (4 unsigned characters, instead of 4 floats). * GPU Texture Limit on sm_20 and sm_21 decreased from 95 to 94, because we need a new texture for the uchar4 attributes. This is no problem for sm_30 or newer. Part of my GSoC 2014.
2014-05-12Fix T40149: cycles motion blur render problem with multiple render layers.Brecht Van Lommel
2014-05-07Cycles: add support for "Use Alpha" option on image datablocks.Carlo Andreacchio
Reviewed By: brecht Differential Revision: https://developer.blender.org/D486
2014-05-05Fix T40031: cycles deformation motion blur wrong render on last frame of ↵Brecht Van Lommel
animation.
2014-05-04Style cleanup: indentation, bracesCampbell Barton
2014-04-15Fix T39742: Crash with Cycles + new autosmooth crashBastien Montagne
Nice little mistake, since the invalid mem access only happened once (the first time), was close to valid mem, and was only used to read, it would not crash often...
2014-04-13Split Normals I (5/5): Add support of split normals to Cycles.Bastien Montagne
Idea and code by Brecht, many thanks! Reviewers: brecht Reviewed By: brecht CC: campbellbarton, dingto Differential Revision: https://developer.blender.org/D369
2014-03-29Cycles: add "density", "flame" and "color" attributes for smoke domains.Brecht Van Lommel
These can currently be accessed by adding an Attribute node and specifying one of those three names. A Smoke/Fire node should be added at some point to make this more convenient. These values might change still before the release, in particular for flame the meaning seems unclear, it's just values in the 0..1 range. This is useful for color ramps, but it might be good if this was also available as temperature in kelvin so it can be plugged into the blackbody node. But I couldn't figure out from the smoke code if or how this corresponds to a physical unit. Here's a (quite poor) example file for a fire + smoke setup: http://www.pasteall.org/blend/27990
2014-03-29Cycles: add support for mesh deformation motion blur.Brecht Van Lommel
2014-03-29Cycles code refactor: add motion sampled normals attribute.Brecht Van Lommel
2014-03-29Cycles code refactor: improve vertex motion attribute storage and export.Brecht Van Lommel
This now supports multiple steps and subframe sampling of motion. There is one difference for object and camera transform motion blur. It still only supports two steps there, but the transforms are now sampled at subframe times instead of the previous and next frame and then interpolated/extrapolated. This will give different render results in some cases but it's more accurate. Part of the code is from the summer of code project by Gavin Howard, but it has been significantly rewritten and extended.
2014-03-29Cycles code refactor: change curve key to float4 for easier storage as ↵Brecht Van Lommel
attribute.
2014-03-17Code cleanup: styleCampbell Barton
2014-02-12Cycles: Avoid unnecessary dot products in Mesh/Hair export code.Thomas Dinges
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-11-28Cycles: add ptex face ID and UV attributes.Brecht Van Lommel
Not the most memory efficient way to store these things but it's simple and implementing it better requires some work to natively support subd grids as a primitive in some way.
2013-11-28Cycles: remove approximate subdivision surface with gregory patches code.Brecht Van Lommel
It was never fully implemented and will be replaced by OpenSubdiv. Only linear subdivision remains now. Also includes some refactoring in the split/dice code, adding a SubdParams struct to pass around parameters more easily.
2013-10-18Fix cycles hair segments not giving correct vector speed pass, the motion vectorBrecht Van Lommel
export was not implemented yet for this primitive.
2013-10-17Fix cycles mesh synchronization being too slow with vector blur and duplis.Brecht Van Lommel
2013-10-05Fix #36962, "Render emitter" option for hair is ignored in Cycles. Hair ↵Lukas Toenne
particles use the hide_tris boolean to disable rendering of the emitter, but this was still ANDed with the "experimental" flag. Hair is not experimental any longer, so this has to be removed.
2013-09-16Cycles / Hair:Thomas Dinges
* Hair rendering is now a supported feature, no further need to change the feature set to "Experimental".
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-29Fix #36290: cycles generated texture coordinates were not sticking to theBrecht Van Lommel
surface again, got lost in an unrelated optimization.
2013-07-14Fix some unnecessary memory allocation slowness in cycles mesh export.Brecht Van Lommel
2013-07-09Fix #35969: blender internal and cycles not updating mesh while in edit mode.Brecht Van Lommel
Patch for blender internal made by Campbell.
2013-06-04Cycles:Thomas Dinges
* Revert r57203 (len() renaming) There seems to be a problem with nVidia OpenCL after this and I haven't figured out the real cause yet. Better to selectively enable native length() later, after figuring out what's wrong. This fixes [#35612].
2013-06-03Cycles / Math functions:Thomas Dinges
* Rename some math functions: len -> length len_squared -> length_squared normalize_len -> normalize_length * This way OpenCL uses its inbuilt length() function, rather than our own. The other two functions have been renamed for consistency. * Tested CPU, CUDA and OpenCL compile, should be no functional changes.
2013-05-11Fix #35306: cycles normal mapping not working with flat shading.Brecht Van Lommel
2013-05-10Cycles: add Use Surfaces and Use Hair option to render layers, to disable ↵Brecht Van Lommel
rendering of hair and surfaces, similar to blender internal options.
2013-05-10Code cleanup / Cycles:Thomas Dinges
* Change some more if / else if conditions to switch / case. * Avoid an unneeded variable casting in phong_ramp closure.
2013-05-08Cycles / Hair rendering:Thomas Dinges
* Enable hair rendering on the GPU. Patch by Stuart Broadfoot, with small tweaks by me, to only enable it on sm_20 and above.
2013-05-05Fix #35209: cycles generated texture coordinates did not stick to deforming ↵Brecht Van Lommel
meshes.
2013-03-22code cleanup: use booleans and const's for operator vars.Campbell Barton
2013-02-05Fix #34040: Moving Normal Node with enabled Cycles Material Preview crashesSergey Sharybin
Issue was caused by couple of circumstances: - Normal Map node requires tesselated faces to compute tangent space - All temporary meshes needed for Cycles export were adding to G.main - Undo pushes would temporary set meshes tessfaces to NULL - Moving node will cause undo push and tree re-evaluate fr preview All this leads to threading conflict between preview render and undo system. Solved it in way that all temporary meshes are adding to that exact Main which was passed to Cycles via BlendData. This required couple of mechanic changes like adding extra parameter to *_add() functions and adding some *_ex() functions to make it possible RNA adds objects to Main passed to new() RNA function. This was tricky to pass Main to RNA function and IMO that's not so nice to pass main to function, so ended up with such decision: - Object.to_mesh() will add temp mesh to G.main - Added Main.meshes.new_from_object() which does the same as to_mesh, but adds temporary mesh to specified Main. So now all temporary meshes needed for preview render would be added to preview_main which does not conflict with undo pushes. Viewport render shall not be an issue because object sync happens from main thread in this case. It could be some issues with final render, but that's not so much likely to happen, so shall be fine. Thanks to Brecht for review!
2013-02-01Fix cycles computing UV map tangents when they weren't needed.Brecht Van Lommel
2013-01-03Cycles Hair: add Generated texture coordinates for curves, so that proceduralBrecht Van Lommel
textures now work without having to add a UV map. Also made UV and intercept attributes only export when needed by the shader.
2013-01-03Cycles Hair: refactoring to support generic attributes for hair curves. ThereBrecht Van Lommel
should be no functional changes yet. UV, tangent and intercept are now stored as attributes, with the intention to add more like multiple uv's, vertex colors, generated coordinates and motion vectors later. Things got a bit messy due to having both triangle and curve data in the same mesh data structure, which also gives us two sets of attributes. This will get cleaned up when we split the mesh class.
2013-01-01Fix to prevent undefined normals being generated with `add_face_normals()', ↵Stuart Broadfoot
from triangles with zero area.
2012-12-28New featureStuart Broadfoot
Patch [#33445] - Experimental Cycles Hair Rendering (CPU only) This patch allows hair data to be exported to cycles and introduces a new line segment primitive to render with. The UI appears under the particle tab and there is a new hair info node available. It is only available under the experimental feature set and for cpu rendering.
2012-11-07Fix cycles crash with normal map node, issue with tangent sign attribute.Brecht Van Lommel
2012-11-06Cycles: 4 new nodes.Brecht Van Lommel
* Tangent: generate a tangent direction for anisotropic shading. Can be either radial around X/Y/Z axis, or from a UV map. The default tangent for the anisotropic BSDF and geometry node is now always radial Z, for UV tangent use this node now. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Tangent * Normal Map: generate a perturbed normal from an RGB normal map image. This is usually chained with an Image Texture node in the color input, to specify the normal map image. For tangent space normal maps, the UV coordinates for the image must match, and the image texture should be set to Non-Color mode to give correct results. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Normal_Map * Refraction BSDF: for best results this node should be considered as a building block and not be used on its own, but rather mixed with a glossy node using a fresnel type factor. Otherwise it will give quite dark results at the edges for glossy refraction. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Refraction * Ambient Occlusion: controls the amount of AO a surface receives, rather than having just a global factor in the world. Note that this outputs a shader and not a color, that's for another time. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Ambient_Occlusion