Re: [Bf-committers] Blender 2.59 release AHOY!

2011-08-10 Thread Sergey I. Sharybin
Wait!

Haven't noticed that regression. New builds are soon..

Sergey I. Sharybin wrote:
 Hi,

 Linux 32/64 builds are there http://download.blender.org/ftp/incoming/

 Campbell Barton wrote:
 Hi devs,

 I've been keeping an eye on the tracker for new reports since our
 2.59RC release and am happy we don't have any real show stoppers.

 Thomas committed the splash, we have version bumped so think its time to 
 build!

 Since there is some secret to tagging trunk, lib  extensions that
 Nathan isn't around to impart, for now just build from revisions.

 Trunk: r39263
 Extensions: r2241

 I'll be available tomorrow to help with getting the uploads copied to
 the download dir and update changelog  typo3 pages.

 Really happy with this release :), thanks to everyone for you're 
 contributions!

 - Campbell
 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers



 -- 
 With best regards, Sergey I. Sharybin


-- 
With best regards, Sergey I. Sharybin

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Blender 2.59 release AHOY!

2011-08-10 Thread pete larabell
FreeBSD builds are up, again :)

On Wed, Aug 10, 2011 at 3:26 PM, Sergey I. Sharybin g.ula...@gmail.com wrote:
 Wait!

 Haven't noticed that regression. New builds are soon..

 Sergey I. Sharybin wrote:
 Hi,

 Linux 32/64 builds are there http://download.blender.org/ftp/incoming/

 Campbell Barton wrote:
 Hi devs,

 I've been keeping an eye on the tracker for new reports since our
 2.59RC release and am happy we don't have any real show stoppers.

 Thomas committed the splash, we have version bumped so think its time to 
 build!

 Since there is some secret to tagging trunk, lib  extensions that
 Nathan isn't around to impart, for now just build from revisions.

 Trunk: r39263
 Extensions: r2241

 I'll be available tomorrow to help with getting the uploads copied to
 the download dir and update changelog  typo3 pages.

 Really happy with this release :), thanks to everyone for you're 
 contributions!

 - Campbell
 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers



 --
 With best regards, Sergey I. Sharybin


 --
 With best regards, Sergey I. Sharybin

 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Blender 2.59 release AHOY!

2011-08-10 Thread Sergey I. Sharybin
Ok, new builds are there 
http://download.blender.org/ftp/incoming/linux-release-39272/

Please, delete http://download.blender.org/ftp/incoming/linux-new/ and 
2.59 builds from root of incoming.

Campbell Barton wrote:
 yikes! thats bad!, yes _please_ report bugs like this right away,
 especially near release and in the tracker.
 but good you found this too, fixed in svn.

 Platform maintainers, these rev's are now needed for building.

 Trunk: r39272
 Extensions: r2241

 removed freebsd build and source code for 2.59 from the download server.

 On Thu, Aug 11, 2011 at 4:39 AM, Alberto Torreskungfoo...@gmail.com  wrote:
 In blender 2.59rc, shape keys don't have its value in the list anymore
 like previous versions (so you can't tweak them just by dragging
 them). Is it a bug? Is it fixed? Sorry for putting this here, I've
 just noticed today (I've written this in another thread and it was
 ignored, I guess I should have opened a bug report first).



 2011/8/10 pete larabellxgl.asyl...@gmail.com:
 FreeBSD build are up. :)

 On Wed, Aug 10, 2011 at 11:22 AM, Campbell Bartonideasma...@gmail.com  
 wrote:
 Hi devs,

 I've been keeping an eye on the tracker for new reports since our
 2.59RC release and am happy we don't have any real show stoppers.

 Thomas committed the splash, we have version bumped so think its time to 
 build!

 Since there is some secret to tagging trunk, lib  extensions that
 Nathan isn't around to impart, for now just build from revisions.

 Trunk: r39263
 Extensions: r2241

 I'll be available tomorrow to help with getting the uploads copied to
 the download dir and update changelog  typo3 pages.

 Really happy with this release :), thanks to everyone for you're 
 contributions!

 - Campbell
 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers

 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers

 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers





-- 
With best regards, Sergey I. Sharybin

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


[Bf-committers] Blender OCIO

2011-08-10 Thread Xavier Thomas
Hi,

Here is my ideas/interrogations regarding the my blender-ocio integration
experiment.

My plan is to replace the current color-management code with code relying on
the OCIO library, and make the current colormanagement pipeline configurable
by the user. Because I do not have much time to dedicate to this project, I
want to follow those rules:
- small incremental steps
- any contributor/tester is welcome.
- be patient

Some Things to knows:
- Blender use color-management only for float images. I do not plan and
changing this. For quick operation of some of the Blender features (3d view
texturing, sequencer, ...) I think it is best to keep things that way.
However a flag to force converting some image to float when loading them
would be usefull.
- OCIO needs a config file containing the list of color-spaces, display/view
transformations, roles, ... So Blender would need to provide a default
configuration. Users can overwrite the default configuration but in this
case there could be problem when exchanging blender files that was created
with different config (missing colorspaces, different name for the
same color-space, ...)


Some of the interrogations I have since I began working on this:

- Color management would become mandatory and the property
rendersetting.use_color_management would be removed. This would make
OpenColorIO a mandatory dependency for compiling, so I included the OCIO
source in extern. OCIO comes with its own mandatory dependencies (tinyxml
and yaml-cpp, both patched). For now I didn't change the way those
dependencies are compiled: using the CMake ExternalProject macro that unpack
the tgz containing the source, patch it and compile it. I am not sure if
those dependencies can stay in extern/ocio/ext or if I should add a
directory in extern for each of those libraries (extern/tinyxml and
extern/yaml-cpp). It is not a big deal really but it would be better to
decide on this before working more on the building systems (for now only
CMake is working). Once a decision is taken if somebody want to contribute
for Scons and tests on Windows/Mac I am cool with it ;)

- In extern/ocio I added 2 files ocio-capi.h and ocio-capi.c. Those
contains just a basic C API to access the OCIO lib from blender C code. The
API is very close to the original OCIO API and complete enough for loading a
config and its content (main color-spaces and display/views) as well as
for applying transform to a whole buffer or use the per pixel
transformations. The main issue at this level is that OCIO uses shared
pointer in C++ so it made it a bit difficult to write an simple C API. To
work around this you should call a function to release each pointer to OCIO
objects after using them. Like this for example:

ConstConfigRcPtr* config = OCIO_getCurrentConfig();
ConstColorSpaceRcPtr* colorspace = OCIO_configGetColorSpace(config,
colorspace_name);
// do something here
OCIO_colorSpaceRelease(colorspace);
OCIO_configRelease(config);

This is a bit annoying but not a big deal because this API will only be used
in BKE_colormanagement which will provide a easier API to use in other place
of the Blender source. Anyway, if one of you have a better way to do this I
am all ears.

- BKE_colormanagement
This seems to be the appropriate place to write the
blender color-management system (relying on the OCIO C API).
*There seems to be no consistent naming for the functions in there. Should I
prefix the public functions with BKE or a new prefix BCM or not at all?
Also, I used camelCase for the functions name is that OK or should it be all
lower case with _ between words?
*Is the use of the global G (G.main) OK to store the info needed by the
color management system (list of colorspaces in the config for example)?
*I added in there some helper functions to get RNA EnumProperty arrays of
available choice for color-spaces/display. This would be needed in different
places in the RNA system (Images properties, save image operators, some
nodes, viewers, ...). Maybe this belongs in the makesrna code, I am not
sure.


- DNA data
For the data that will be saved in the blend file, I plan to add char[32]
properties to the DNA structures for saving color-space name (in the Image
structure for example). Like this is is possible to match different blend
file with different OCIO config file. When loading a blend file, we can mach
color-spaces by name and detect color-spaces used in the blender file that
are missing in the OCIO config (and warn the user about this).

-ImBuf
For the moment the color-space conversion is done in the ImBuf library (in
divers.c) when converting a 8bit image to a float image and the other way
around. I plan on removing the color-space conversion from the ImBuf library
and instead call the functions of BKE_colormanagement instead. OCIO work
only in place on float data anyway.
So instead of using:

IMB_float_from_rect(ibuf);

which would assume the rect ibuf is sRGB and convert it automaticaly to
linear. We should use: