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-04-06Cycles: Cleanup, spaces around assignment operatorSergey Sharybin
Did some bad spacing in recent commits, better to get rid of those so they does not confuse those who're working on sources.
2015-04-06Cycles: Avoid doing paranoid checks in filepath of builtin imagesSergey Sharybin
Originally we thought it's needed in order to distinguish builtin file from filename which starts with '@', but the filepath is actually full path there and it's unlikely to have file system where '@' is a proper root character. Surprisingly this does not give visible speed differences, but it's still nice to get rid of redundant check.
2015-04-06Cycles: Support bultin 3d textures with OSL backendSergey Sharybin
2015-03-27Cycles: Code cleanup, spaces around keywordsSergey Sharybin
This inconsistency drove me totally crazy, it's really confusing when it's inconsistent especially when you work on both Cycles and Blender sides. Shouldn;t cause merge PITA, it's whitespace changes only, Git should be able to merge it nicely.
2015-02-02Cycles: OSL kernel now also ignores maybe-uninitializedSergey Sharybin
This is a bit of a mess because of the header dependency hell, but since the tweak is small enough it's gonna be fine.
2014-12-25Cleanup: Fix Cycles Apache header.Thomas Dinges
This was already mixed a bit, but the dot belongs there.
2014-11-08Cleanup: cycles whitespaceCampbell Barton
2014-11-04Cycles: Be ready for new OIIO and OSL librariesSergey Sharybin
Even tho it's not 100% clear when we'll switch to OSL-1.6 we'd better start preparing earlier for this, so we don't spend time on this later. Plus this code helps troubleshooting some OSL issues, which requires testing with latest versions of OSL.
2014-10-08Cycles: enable double promotion warning /w gccCampbell Barton
2014-09-24Cleanup: Avoid some defines for scene_intersect(), related to Min Width.Thomas Dinges
2014-08-05Fix T41276: OSL bug in getmessage ("trace", "geom:name" , output)Sergey Sharybin
2014-07-25One more fix for new OSL libs.Thomas Dinges
2014-07-25Cycles: Updates for new OSL 1.5 API.Thomas Dinges
Differential Revision: https://developer.blender.org/D662 Patch by Sergey and myself.
2014-06-13Cycles: Support builtin images for OSL shading backendSergey Sharybin
This means packed images and movies are now supported when using OSL backend for material shading. Uses special file name to distinguish whether image is builtin or not. This part might become a bit smarted or optimized a bit, but it's good enough with this implementation already.
2014-06-05Fix T40482: Cycles matlib file crashesSergey Sharybin
it's possible that runtime optimizer would call get_attribute with NULL renderstate. As per documentation, it's valid to return false in that cases and in worst case we'll just miss some possible optimization. Supporting such cases would require some bigger changes to Cycles since attributes are only set to up for the kernel after shader compilation. Thanks Brecht for review!
2014-05-24Cleanup: Comments and unused variables.Thomas Dinges
2014-05-06Fix T39946: OSL + tangent space normal maps not working in Cycles.Brecht Van Lommel
2014-05-04Cycles: use LIKELY/UNLIKELY macrosCampbell Barton
Gives overall ~3% speedup in own tests for BMW scene.
2014-05-04Style cleanup: indentation, bracesCampbell Barton
2014-05-04Code cleanup: avoid int/uint mixup in cyclesCampbell Barton
2014-04-21Cycles: add Transparent Depth output to Light Path node.Carlo Andreacchio
This can for example be useful if you want to manually terminate the path at some point and use a color other than black. Reviewed By: brecht Differential Revision: https://developer.blender.org/D454
2014-03-29Cycles code internals: add support for mesh voxel grid attributes.Brecht Van Lommel
These are internally stored as a 3D image textures, but accessible like e.g. UV coordinates though the attribute node and getattribute(). This is convenient for rendering e.g. smoke objects where data like density is really a property of the mesh, and it avoids having to specify the smoke object in a texture node, instead the material will work with any smoke domain.
2014-03-29Cycles code refactor: move more code to geom folder, add some comments.Brecht Van Lommel
2014-03-29Cycles code refactor: replace magic ~0 values in the code with defines.Brecht Van Lommel
2014-03-29Cycles: add support for mesh deformation motion blur.Brecht Van Lommel
2014-03-29Cycles code refactor: changes to make adding new primitive types easier.Brecht Van Lommel
2014-03-29Cycles code refactor: move geometry related kernel files into own directory.Brecht Van Lommel
2014-03-01Fix T38900: cycles OSL crash running getmessage("trace", "geom:name", name)Brecht Van Lommel
2014-02-05Attempt to fix OSL build error on Linux with latest OSL master.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-11-28Cycles: experimental OSL ptex reading code.Brecht Van Lommel
This code can't actually be enabled for building and is incomplete, but it's here because we know we want to support this at some point and there's not much reason to have it in a separate branch if a simple #ifdef can disable it.
2013-09-04Fix a few issues reported by coverity scan.Brecht Van Lommel
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-05Cycles OSL: image texture lookup optimization, acquire the per thread handleBrecht Van Lommel
for texture system in advance. Patch by Martijn Berger, with some tweaks. There was about a 10% performance improvement on OS X in my tests with the images.blend test file. This may be less on other platforms because OS X has particularly slow mutex locks.
2013-08-01Cycles / Ray Depth:Thomas Dinges
* Added a Ray Depth output to the Light Path node, which gives the user access to the current bounce. This can be used to limit the maximum ray bounce on a per shader basis. Another use case is to restrict light influence with this, to have a lamp only contribute to the direct lighting. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Light_Path This is part of my GSoC 2013 project. SVN merge of r58091 and r58772 from soc-2013-dingto.
2013-06-28Fix #35896: cycles crash with OSL image textures and viewport + preview renderBrecht Van Lommel
running at the same time.
2013-06-08Cycles: window texture coordinates now work with orthographic cameras, thisBrecht Van Lommel
was an old issue since the first version.
2013-05-19Cycles:Thomas Dinges
* Fix OSL compilation for scene_intersect(), when __Hair__ was disabled.
2013-05-11Fix #35306: cycles normal mapping not working with flat shading.Brecht Van Lommel
2013-05-09Cycles OpenCL: fix other build issues when enabling more features.Brecht Van Lommel
2013-04-22Attempt to fix #35041 and #34725: cycles crash with OSL and both a 3D viewportBrecht Van Lommel
and preview running at the same time. It seems there's something in OSL/LLVM that's not thread safe, but I couldn't figure out what exactly. Now all renders share the same OSL ShadingSystem which should avoid the problem.
2013-04-16Compile fixes for recent commitsAntony Riakiotakis
2013-01-31OSL 1.3x / Windows 64:Thomas Dinges
* Added missing define into SConscript file. This also makes r54232 obsolete, so removing this again.
2013-01-31Attempt to fix cycles OSL link error on windows 64 bit.Brecht Van Lommel
2013-01-10Cycles: multiple importance sampling for lamps, which helps reduce noise forBrecht Van Lommel
big lamps and sharp glossy reflections. This was already supported for mesh lights and the background, so lamps should do it too. This is not for free and it's a bit slower than I hoped even though there is no extra BVH ray intersection. I'll try to optimize it more later. * Area lights look a bit different now, they had the wrong shape before. * Also fixes a sampling issue in the non-progressive integrator. * Only enabled for the CPU, will test on the GPU later. * An option to disable this will be added for situations where it does not help. Same time comparison before/after: http://www.pasteall.org/pic/show.php?id=43313 http://www.pasteall.org/pic/show.php?id=43314
2013-01-03Cycles Hair: refactoring to store curves with the index of the first key and theBrecht Van Lommel
number of keys in the curve, rather than curve segments with the indices of two keys. ShaderData.segment now stores the segment number in the curve.
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.
2012-12-29Cycles Hair:Thomas Dinges
* Implemented the Hair Info Node for OSL.
2012-12-22Cycles OSL: handle new getattribute constant folding with renderstate NULL ↵Brecht Van Lommel
check, and fix #33654, distance to line segment function is not implemented but compiled anyway, now it should give a compile error.
2012-12-15Cycles OSL minor optimizations: recycle shading context, don't do memoryBrecht Van Lommel
allocations for trace data, avoid some virtual function calls. Only helps a few percentages.