Revision 84e8fbc by Thomas Dinges November 3, 2012, 18:52 (GMT) |
OSL / Filebrowser: * Add .osl extension to the TEXTFILE filter, so .osl files will show up when the filter is enabled. (Text Editor -> Open Text Block) |
Revision 9b94871 by Campbell Barton November 3, 2012, 18:23 (GMT) |
code cleanup: float <> double conversion. |
Revision a18ead1 by Campbell Barton November 3, 2012, 18:14 (GMT) |
style cleanup |
Revision ff014a3 by Campbell Barton November 3, 2012, 15:49 (GMT) |
code cleanup: cmake - add missing headers, remove directories from source listing. also remove logImageLib.c - empty file. |
Revision 9db3f23 by Brecht Van Lommel November 3, 2012, 15:36 (GMT) |
Cycles: use mikktspace now for computing tangents from UV maps. This avoids ugly averaged tangents at UV seams but instead now the seams will show as discontinuities in the tangent. |
Revision a434ab5 by Brecht Van Lommel November 3, 2012, 15:35 (GMT) |
RNA C++: collections functions are now properly handled, meaning it is now possible to call BlendData.meshes.remove() directly. It requires special order of classes in header file (namely classes used for collection functions should be declared before collection properties with this classes are declared). Currently used naive linear search for this, could be replaced with hash or bisect, but for now performance here is not an issue. Patch by Sergey, but committing now because it's needed for next commit. |
Revision 25591e9 by Campbell Barton November 3, 2012, 15:35 (GMT) |
style cleanup: tabs & whitespace |
Revision 060ea49 by Campbell Barton November 3, 2012, 15:05 (GMT) |
use library argument for bpy.path.abspath in case of linked nodes. |
Revision eb87529 by Brecht Van Lommel November 3, 2012, 14:32 (GMT) |
Cycles OSL: shader script node 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. |
Revision e02b23b by Brecht Van Lommel November 3, 2012, 14:32 (GMT) |
Render API: shader script node for custom shaders. * Shader script node added, which stores either a link to a text datablock or file on disk, and has functions to add and remove sockets. * Callback RenderEngine.update_script_node(self, node) added for render engines to compile the shader and update the node with new sockets. Thanks to Thomas, Lukas and Dalai for the implementation. |
Revision 615fe02 by Brecht Van Lommel November 3, 2012, 14:32 (GMT) |
Cycles OSL: refactoring and fixes * 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 |
Revision 6b098d7 by Brecht Van Lommel November 3, 2012, 14:31 (GMT) |
RNA/C++: string property writing was missing. |
Revision 47cd3cf by Brecht Van Lommel November 3, 2012, 14:31 (GMT) |
BPY/RNA: determine callback functions that are allowed to write data by a flag on the function instead of checking the name. |
Revision 5fe0bd8 by Ton Roosendaal November 3, 2012, 14:31 (GMT) |
Bugfix (own collection) Adding new image texture to Meshes didn't initialize UVs to 0-1 default. This makes initial display of textures on meshes not work. This fixes my favorite demo case: Open Blender, drop image from desktop on cube. |
Revision b59290a by Joerg Mueller November 3, 2012, 09:49 (GMT) |
Preparation to use boost::shared_ptr. |
Revision 7353f8d by Campbell Barton November 3, 2012, 09:14 (GMT) |
remove unneeded string in datatoc.c and correct some of the context types in our documentation. |
Revision d242786 by Campbell Barton November 3, 2012, 07:28 (GMT) |
auto-generated py api now shows bpy.context.* items in the 'References' section of each type. |
Revision 5a8cef4 by jens verwiebe November 2, 2012, 20:55 (GMT) |
OSX: take back 51826 for now, does not fix dalai's problem |
Revision 1930a51 by jens verwiebe November 2, 2012, 20:26 (GMT) |
OSX: a more friendly way to get mounted volumes, alo allows for whitespaces etc. |
Revision c9307ec by Bastien Montagne November 2, 2012, 20:03 (GMT) |
Fix for [#32992] Switching language does nothing under Windows. Our current intl build for windows is quite old (don't know the exact version), and does not have the new setlocale overwrite. Problem is, new windows dll have no more the gettext_putenv helper, which is currently mandatory to make it work for this OS. So back for now to the ugly long_locales for win. Best fix is probably to build our own static version of libl, but this is not trivial and will require some time. :/ PS: I had a look over i18n/translation in wxWidget, Qt and boost: all implement their own system, even though wxWidget and boost use po/mo files... |
|