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
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.
2012-12-01Fix #33375: OSL geom:trianglevertices gave wrong coordinates for static BVH.Brecht Van Lommel
Also some simple OSL optimization, passing thread data pointer directly instead of via thread local storage, and creating ustrings for attribute lookup.
2012-11-29Fix cycles motion blur + OSL + object texture coordinates issue.Brecht Van Lommel
2012-11-20Fix #33177: OSL render difference with missing textures and HSV nodes.Brecht Van Lommel
2012-11-06Cycles OSL: support for the trace(point pos, vector dir, ...) function, to traceBrecht Van Lommel
rays from the OSL shader. The "shade" parameter is not supported currently, but attributes can be retrieved from the object that was hit using the getmessage("trace", ..) function. As mentioned in the OSL specification, this function can't be used instead of lighting, the main purpose is to allow shaders to "probe" nearby geometry, for example to apply a projected texture that can be blocked by geometry, apply more “wear” to exposed geometry, or make other ambient occlusion-like effects. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/OSL#Trace Example .blend and render: http://www.pasteall.org/blend/17347 http://www.pasteall.org/pic/show.php?id=40066
2012-11-05Cycles: improve Anisotropic BSDF node, changing the Roughness U/V inputs toBrecht Van Lommel
Roughness, Anisotropy and Rotation. Also a fix for automatic tangents and OSL attribute handling. Meaning of new sockets explained in the documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Anisotropic
2012-11-03Cycles OSL: refactoring and fixesBrecht Van Lommel
* Moved kernel/osl/nodes to kernel/shaders * Renamed standard attributes to use geom:, particle:, object: prefixes * Update stdosl.h to properly reflect the closures we support * Fix the wrong stdosl.h being used for building shaders * Add geom:numpolyvertices, geom:trianglevertices, geom:polyvertices attributes
2012-10-20Cycles OSL: light path, texture coordinate, bump and blended box mapping now upBrecht Van Lommel
to date and working.
2012-10-20Cycles OSL: most closure code is now shared between OSL and SVM. Also fixBrecht Van Lommel
transmission pass and filter glossy option. The BSDF closure class is now more similar to the SVM closures, and includes some flags and labels that are needed to properly categorize the BSDF's for render passes. Phong closure is gone for the moment, needs to be adapated to the new structure still.
2012-10-18Fix for OSL compile errors.Lukas Toenne
1) object_fetch_transform_motion omits the per-object motion blur test (r51394), must use object_fetch_transform_motion_test. 2) KernelCamera.ndctoworld has been removed (r51402), do transform invert directly.
2012-10-18More fixes related to #32900, motion blur with cuda sm 2.0 still disabled.Brecht Van Lommel
2012-10-18Cycles: OSL compile fixes.Thomas Dinges
2012-10-17Fix for OSL 'background' attributes (attributes that are not associated to a ↵Lukas Toenne
particular object). Atm this is only the 'ray_length' attribute. Background attributes are used as fallback in two cases: 1) Non-object light samples (e.g. lamp shaders) 2) Fallback if no implicit object attribute can be found
2012-10-17Cycles / OSL:Thomas Dinges
* Ray Length is now available in OSL (via get_attribute)
2012-10-16Fix for (camera) motion blur changes in Cycles OSL. Compilation was broken ↵Lukas Toenne
due to changed object transform functions. Also added a few missing renderer service implementations for matrix callbacks.
2012-09-15style cleanupCampbell Barton
2012-09-14Implemented the Particle Info for OSL. Uses the following attributes:Lukas Toenne
* std::particle_index * std::particle_age * std::particle_lifetime * std::particle_location * std::particle_size * std::particle_velocity * std::particle_angular_velocity Just as with SVM the rotation state attribute is currently disabled due to lack of a proper quaternion or matrix type in Cycles nodes.
2012-09-14Added Object Info node implementation for OSL. This uses an additional ↵Lukas Toenne
attribute check in the osl_services callback for special attribute names related to objects: * std::object_location * std::object_index * std::material_index * std::object_random Other object-based attributes can be added for particle info in the same way.
2012-09-02Cycles / OSL:Thomas Dinges
Fixes for API changes in OSL RendererServices: * Added two new required get_matrix methods, from OSL RendererServices (otherwise the constructor fails). The two new matrix methods probably still need an implementation. * Removed deprecated "get_pointcloud_attr_query" and "pointcloud". There are two new routines for pointclouds, function headers for those are there. * Removed the (unused) PARTIO code parts from OSL. It was marked as not tested / not working, and due to the api changes here broken for sure. Code is still in svn history if needed.
2012-06-09style cleanup: block commentsCampbell Barton
2012-06-07Revert my own commit r47544, this does not seem to be the correct fix. :/Thomas Dinges
2012-06-07Cycles / OSL:Thomas Dinges
* Missing header kernel_passes.h, needed for "direction_to_panorama" in kernel_triangle.h
2012-06-05Cycles / OSL:Thomas Dinges
* Fixes for r46114, object_fetch_transform missed time argument. * Syntax fixes for Checker texture.
2012-06-05style cleanupCampbell Barton
2011-05-31Cycles: OSL build & image manager fixes.Brecht Van Lommel
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