Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 3415 / 5574

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)
November 3, 2012, 18:23 (GMT)
code cleanup: float <> double conversion.
November 3, 2012, 18:14 (GMT)
style cleanup
November 3, 2012, 15:49 (GMT)
code cleanup: cmake - add missing headers, remove directories from source listing.

also remove logImageLib.c - empty file.
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.
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.
November 3, 2012, 15:35 (GMT)
style cleanup: tabs & whitespace
November 3, 2012, 15:05 (GMT)
use library argument for bpy.path.abspath in case of linked nodes.
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.
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.
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
November 3, 2012, 14:31 (GMT)
RNA/C++: string property writing was missing.
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.
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.

November 3, 2012, 09:49 (GMT)
Preparation to use boost::shared_ptr.
November 3, 2012, 09:14 (GMT)
remove unneeded string in datatoc.c and correct some of the context types in our documentation.
November 3, 2012, 07:28 (GMT)
auto-generated py api now shows bpy.context.* items in the 'References' section of each type.
November 2, 2012, 20:55 (GMT)
OSX: take back 51826 for now, does not fix dalai's problem
November 2, 2012, 20:26 (GMT)
OSX: a more friendly way to get mounted volumes, alo allows for whitespaces etc.
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...
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021