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
path: root/intern
AgeCommit message (Collapse)Author
2012-11-08Cycles: add strength input for normal map node.Brecht Van Lommel
2012-11-08code cleanup: unused defines & some formatting.Campbell Barton
2012-11-08code cleanup: quiet double promotion warningsCampbell Barton
2012-11-08itask: reworked conditionals for osx version compatibilityJens Verwiebe
2012-11-08Fix #33107: cycles fixed threads 1 was still having two cores do work,Brecht Van Lommel
because main thread works as well.
2012-11-07UI message fixes...Bastien Montagne
2012-11-07Fix ITASK warningsJens Verwiebe
2012-11-07OSX: some more version target cleanups and correctionsJens Verwiebe
2012-11-07style cleanup, also remove redundant call to set_listbasepointers in ↵Campbell Barton
free_main().
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-11-07Fix cycles crash with normal map node, issue with tangent sign attribute.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-06Cycles OSL: phong_ramp(N, exponent, colors[8]) closure added, which works likeBrecht Van Lommel
a specular ramp shader. Note this is OSL only still, for experimenting. Patch by Thomas.
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
2012-11-06Cycles: disable OpenCL in builds for now, since it's not working and is onlyBrecht Van Lommel
confusing users at this point. For experiments you can define the CYCLES_OPENCL_TEST environment variable to make it show up in the UI.
2012-11-06quick hack to allow 10.8 to build again, will wait Jens for real fixDalai Felinto
but basically the error I get is: Error: redefinition of enumerator 'NSEventTypeRotate' ... for all the NSEvents
2012-11-06OSX: substitute all MAC_OS_X_VERSION defines with ↵Jens Verwiebe
MAC_OS_X_VERSION_MIN_REQUIRED macros, to get more reliable version (api) covering
2012-11-06Silent strict compiler flag.Sergey Sharybin
Brecht, could you please verify it's indeed nothing should be done for frame node here?
2012-11-06Bugfix: Missing ')' broke Cycles addonJoshua Leung
2012-11-05update fisheye tooltip - it was wrongly suggesting equidistant for fulldomesDalai Felinto
2012-11-05Update CMake rules for audaspaceSergey Sharybin
2012-11-05Audaspace:Joerg Mueller
Replacing AUD_Reference with boost::shared_ptr.
2012-11-05Partial revert of own rev44548.Sergey Sharybin
That was more like workaround which solved particular issue with freestyle rendering, but introduced some more uncontrollable issues, main of which is recursive fracture would likely suffer from non-manifolds results of previous step. Boolean operation is not the only way to generate zero-area face, it could also happen with character animation and it's indeed better be solved from freestule side. This should fix: #33041 Boolean difference sometimes produces meshes with holes
2012-11-05Stupid copy-paste typo in tiles commit.Sergey Sharybin
That was an example how you should not code :)
2012-11-05Cycles: fix crash rendering textured objects in OpenCLSergey Sharybin
Issue was caused by changed order of texture slots -- float textures have got lower slots indices than byte textures. OpenCL was still assuming byte textures goes before float.
2012-11-05Render engines: replace number of x/y tiles with tile sizeSergey Sharybin
Now tile size is setting up explicitly instead of using number of tiles. This allows better control over GPU performance, where having tiles aligned to specific size makes lots of sense. Still to come: need to update startup.blend to make tiles size 64x64.
2012-11-05Cycles: memory usage reportSergey Sharybin
This commit adds memory usage information while rendering. It reports memory used by device, meaning: - For CPU it'll report real memory consumption - For GPU rendering it'll report GPU memory consumption, but it'll also mean the same memory is used from host side. This information displays information about memory requested by Cycles, not memory really allocated on a device. Real memory usage might be higher because of memory fragmentation or optimistic memory allocator. There's really nothing we can do against this. Also in contrast with blender internal's render cycles memory usage does not include memory used by scene, only memory needed by cycles itself will be displayed. So don't freak out if memory usage reported by cycles would be much lower than blender internal's. This commit also adds RenderEngine.update_memory_stats callback which is used to tell memory consumption from external engine to blender. This information is used to generate information line after rendering is finished.
2012-11-05Cycles: multi-gpu rendering doesn't know for sure which sample is being sampled,Sergey Sharybin
so only report tile number is being processed
2012-11-05Compile fix on Mingw:Joshua Leung
"interface" appeared to be a shadowed var (or even a macro/define elsewhere) which was causing errors like: intern\cycles\blender\blender_mesh.cpp:124:23: error: multiple types in one declaration intern\cycles\blender\blender_mesh.cpp:124:23: error: declaration does not declare anything [-fpermissive]
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-04Possible bugfix 32474Ton Roosendaal
Windows systems: text editor, text object, doesn't allow to input the standard set of ALT+key characters (the ones coming from the OS). - Reverted fix january 2012 - that meant to use text object ALT+keys - Removed old (90ies) feature for hardcoded special characters in Text object. (OS delivers this now) Will wait for confirmation by windows compiler :)
2012-11-04code cleanup: double promotionsCampbell Barton
2012-11-03code cleanup: cmake - add missing headers, remove directories from source ↵Campbell Barton
listing. also remove logImageLib.c - empty file.
2012-11-03Cycles: use mikktspace now for computing tangents from UV maps. This avoids uglyBrecht Van Lommel
averaged tangents at UV seams but instead now the seams will show as discontinuities in the tangent.
2012-11-03style cleanup: tabs & whitespaceCampbell Barton
2012-11-03use library argument for bpy.path.abspath in case of linked nodes.Campbell Barton
2012-11-03Cycles OSL: shader script nodeBrecht Van Lommel
Documentation here: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/OSL http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.65/Cycles These changes require an OSL build from this repository: https://github.com/DingTo/OpenShadingLanguage The lib/ OSL has not been updated yet, so you might want to keep OSL disabled until that is done. Still todo: * Auto update for external .osl files not working currently, press update manually * Node could indicate better when a refresh is needed * Attributes like UV or generated coordinates may be missing when requested from an OSL shader, need a way to request them to be loaded by cycles * Expose string, enum and other non-socket parameters * Scons build support Thanks to Thomas, Lukas and Dalai for the implementation.
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-11-03Preparation to use boost::shared_ptr.Joerg Mueller
2012-11-02RNA C++: fixes for lookup_int/lookup_string which were not working in some ↵Brecht Van Lommel
cases, and don't use ReportList for function arguments.
2012-10-31style cleanup and correct own invalid comment.Campbell Barton
2012-10-30Cycles: optimization to not compile shaders and load images that are notBrecht Van Lommel
used by any mesh/lamp/world.
2012-10-29style cleanup: also quiet harmless compiler warning.Campbell Barton
2012-10-28style cleanupCampbell Barton
2012-10-27style cleanupCampbell Barton
2012-10-26Fix #32972: cycles crash switching OSL to SVM in viewport render.Brecht Van Lommel
2012-10-25Cycles: use simplier strategy in next_tile for viewport renderingSergey Sharybin
No need to find tile closest to rendered center in this case, just return first possible tile. Saves some computation power.
2012-10-25Audaspace:Joerg Mueller
OpenAL multichannel playback support fixed. This should fix bug [#31561] Audio only coming from Front Left in layout and bge.
2012-10-25Audaspace:Joerg Mueller
Fix for channel mapping bug. Now 7.1 channels should get mapped correctly.
2012-10-25Audaspace:Joerg Mueller
RAII locking implementation. This should fix bug [#32096] Background music stops when playing 3D sounds.