Blender Git Commits

Blender Git "master" branch commits.

Page: 3471 / 5574

September 15, 2012, 04:57 (GMT)
code cleanup: quiet some windows warnings.
September 15, 2012, 02:29 (GMT)
code cleanup: modify DO_INLINE define to not use __inline with mingw
make RegisterBlendExtension_Fail a static func
u
September 15, 2012, 01:52 (GMT)
quiet -Wmissing-prototypes warnings, and enable this warning by default for C with gcc.

helps for finding unused functions and making functions static, also did some minor code cleanup.
September 15, 2012, 00:15 (GMT)
Merged changes in the trunk up to revision 50607.

Conflicts resolved:
source/blender/blenloader/intern/readfile.c
September 14, 2012, 23:34 (GMT)
fix [#32381] Sculpt: crash when using radius sensitivity
September 14, 2012, 23:11 (GMT)
style cleanup
Revision a77d048 by Gaia Clary
September 14, 2012, 22:31 (GMT)
Collada: #32549 partial fix: packed images now export correctly
Revision c4de45e by Lukas Toenne
September 14, 2012, 19:09 (GMT)
Implemented the Particle Info for OSL. Uses the following attributes:

* 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.
Revision df79ab5 by Lukas Toenne
September 14, 2012, 18:10 (GMT)
Added Object Info node implementation for OSL. This uses an additional 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.
September 14, 2012, 16:43 (GMT)
Merging r50600 through r50601 from trunk into soc-2011-tomato

September 14, 2012, 16:41 (GMT)
Correction to rev50582: LABEL could have a1 = 1.0f and in this case a2 would be used as alpha multiplier for icon

September 14, 2012, 15:23 (GMT)
Merging r50598 through r50599 from trunk into soc-2011-tomato

September 14, 2012, 15:21 (GMT)
Disable legacy compositor by default
September 14, 2012, 14:55 (GMT)
Movie cache: made it thread safe to operate with memory limitor

Movie cache is using global memory limitor, which isn't thread safe
in some of operations, so it required to add mutex around limitor
operations in movie cache.

It's probably could be solved in a way with less locks involved by
using different limitor for different areas (like use own limitor
for clips, own limitor for sequencer and so), but that wouldn't be
so easy to control overall memory usage.

--
svn merge -r50125:50126 ^/branches/soc-2011-tomato

September 14, 2012, 14:49 (GMT)
Synchronize changes with trunk

September 14, 2012, 14:37 (GMT)
Color Management: get rid of image buffer's profile flag

Currently float buffers are always linear, space of byte buffer is defined by
rect_colorspace property.

Replaced logic of IMB_rect_from_float and IMB_float_from_rect to use this
assumptions (before it was special function used in some areas only, now it's
default behavior).

Almost all functions from ImBuf module which are actually used are got rid from
profile flag. Only remained issue is IMB_float_profile_ensure which only used by
CIneon/DPX exporter which is broken for a while already. Need to be fixed
separately.

This also fixed clone brush when cloning byte image on top of float, before
this result would be gamma-corrected twice.
September 14, 2012, 14:37 (GMT)
Color Management: re-implement OCIO-less build configuration

Use OCIO stub file with hardcoded displays, views and color spaces.

Intended to behave in the same way as old implementation, just it's
now more clear code with much fewer ifdef checks.

Also should make it possible to get rid of ibuf's profile flag.

Thanks Brecht van Lommel for this patch!
September 14, 2012, 14:36 (GMT)
Color Management: remove unused functions
September 14, 2012, 14:36 (GMT)
Color Management: image buffer loading reworked

Before this color space settings in image/movie clip data blocks
defined space in which loaded image buffer is, based on whether
this buffer contains float or byte buffer. This didn't work well
for formats like 16bit PNG, which are in fact non-linear formats
but were represented in Blender as float buffers.

Now image buffer loader is responsible to set up input default
color space for image/movie clip data blocks, which could be
based on format itself only or on particular file properties.

This means image/movie clip data blocks' input colorspace will
be initialized at time first image buffer is loaded.

This also resolves old confusing thing with image buffer's profile
flag, which in could have been non-linear for image buffer which
contained float buffer only -- this happened in mentioned case of
16 bit PNG format, i.e. Now float buffer would always be linear
which should make it easier to get rid of image buffer's profile.
September 14, 2012, 14:28 (GMT)
Sequencer: clear cache and animation buffers for strips outside of cursor when rendering

This avoids having bunch of cached images when doing animation rendering,
keeping all the memory available for rendered itself.

This keeps memory usage low when rendering huge edits with mixed
scenes and movie strips.

This should not affect on sped of video encoding, which was confirmed by
some own tests.

--
svn merge -r50051:50052 ^/branches/soc-2011-tomato

By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021