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
AgeCommit message (Collapse)Author
2014-01-12Style Cleanup: whitespaceCampbell Barton
2013-12-08Code cleanup: delete cineon header files that were empty but not deleted.Shane Ambler
Reviewed By: brecht Differential Revision: http://developer.blender.org/D85
2013-11-10mistake in last commitCampbell Barton
2013-11-10no need to call isnan() on unsigned ints (causes error on freebsd/clang)Campbell Barton
2013-07-21Fixes for recent Wlimit stuff, which makes strict gcc freak outSergey Sharybin
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-17style cleanupCampbell Barton
2013-07-15Fix #36127: 10 bit DPX render would crash when doing rendering animations fromBrecht Van Lommel
the UI on OS X. The problem is due to a large variable on the stack, and pthreads have a smaller stack size than the main thread by default. On Linux the pthread stack size seems to be 2MB, OS X 512KB and Windows 256KB - 512KB.
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-05-27style cleanup: nodesCampbell Barton
2013-03-22code cleanup: use NULL rather then 0 for pointers, and make vars static ↵Campbell Barton
where possible. also found unintentionally defined enum/struct variables that where only meant to be defining the type.
2013-03-15Patch #34632: DPX/Cineon speed upSergey Sharybin
Done by Julien Enche (aka trap), thanks! From the patch comment: This patch speeds up Cineon/DPX file loading. Some more checks are done in dpxOpen and cineonOpen functions so IB_test flag can now be taken into account safely, and an unnecessary call to IMB_rect_from_float has been removed. DPX/Cineon file now loads around 3 times faster on my computer. Own comment: Ideally, IB_rect shall indeed indicate which buffers to load, however currently all places which reads image uses this flag. This fact already mentioned in OpenEXR reader and it shall be fine to skip doing rect_from_float in readers themselves.
2013-03-05code cleanup: also change BKE_blender.h BLENDER_VERSION_CHAR to 'a' so as ↵Campbell Barton
not to confuse things.
2012-12-31Alpha premul pipeline cleanupSergey Sharybin
This assumptions are now made: - Internally float buffers are always linear alpha-premul colors - Readers should worry about delivering float buffers with that assumptions. - There's an input image setting to say whether it's stored with straight/premul alpha on the disk. - Byte buffers are now assumed have straight alpha, readers should deliver straight alpha. Some implementation details: - Removed scene's color unpremultiply setting, which was very much confusing and was wrong for default settings. Now all renderers assumes to deliver premultiplied alpha. - IMB_buffer_byte_from_float will now linearize alpha when converting from buffer. - Sequencer's effects were changed to assume bytes have got straight alpha. Most of effects will work with bytes still, however for glow it was more tricky to avoid data loss, so there's a commented out glow implementation which converts byte buffer to floats first, operates on floats and returns bytes back. It's slower and not sure if it should actually be used -- who're using glow on alpha anyway? - Sequencer modifiers should also be working nice with straight bytes now. - GLSL preview will predivide float textures to make nice shading, shading with byte textures worked nice (GLSL was assuming straight alpha). - Blender Internal will set alpha=1 to the whole sky. The same happens in Cycles and there's no way to avoid this -- sky is neither straight nor premul and doesn't fit color pipeline well. - Straight alpha mode for render result was also eliminated. - Conversion to correct alpha need to be done before linearizing float buffer. - TIFF will now load and save files with proper alpha mode setting in file meta data header. - Remove Use Alpha from texture mapping and replaced with image datablock setting. Behaves much more predictable and clear from code point of view and solves possible regressions when non-premultiplied images were used as textures with ignoring alpha channel.
2012-12-18style cleanupCampbell Barton
2012-12-17Added GPL header to sconscripts!Bastien Montagne
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
2012-11-24cineonlib.c: Quieted warning, inconsistency between printf format (%lu) and ↵Jason Wilkins
the type of an argument (uintptr_t??) The struct member is an unsigned int, not a pointer, so it is mysterious why the orignal code cast it to an uintptr_t. I changed the code to cast it to an unsigned long so that it matches the format.
2012-11-21Fix #33222: When rendering DPX it's flipped in the Image EditorSergey Sharybin
Avoid using IMB_flipy from image save callback. It will use a bit more memory but wold be thread-safe.
2012-11-18style cleanup: comments & spellingCampbell Barton
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-10-22Apparently msvc doesn't have isnan.Sergey Sharybin
2012-10-22Fix for inline functions of new cineon librarySergey Sharybin
2012-10-22Some more fixes for cineonSergey Sharybin
2012-10-22Compilation fix for windows platformSergey Sharybin
2012-10-22Compilation error fix for scons caused by recent dpx commitSergey Sharybin
2012-10-22style cleanup: use more const's in BLI_heap & dpx/cineon style cleanupCampbell Barton
2012-10-22Patch #27397: Improved DPX/Cineon codeSergey Sharybin
Patch by Julien Enche, thanks! From the patch comment: It allows Blender to load: - 1, 8, 10, 12 and 16 bits files. For 10 and 12 bits files, packed or filled type A/B are supported. - RGB, Log, Luma and YCbCr colorspaces. - Big and little endian storage. - Multi-elements (planar) storage. It allows Blender to save : - 8, 10, 12 and 16 bits file. For 10 and 12 bits files, the most used type A padding is used. - RGB and Log colorspaces (Cineon can only be saved in Log colorspace). For Log colorspace, the common default values are used for gamma, reference black and reference white (respectively 1.7, 95 and 685 for 10 bits files). - Saved DPX/Cineon files now match the viewer. Some files won't load (mostly because I haven't seen any of them): - Compressed files - 32 and 64 bits files - Image orientation information are not taken in account. Here too, I haven't seen any file that was not top-bottom/left-right oriented.
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-09-15Color Management, Stage 2: Switch color pipeline to use OpenColorIOSergey Sharybin
Replace old color pipeline which was supporting linear/sRGB color spaces only with OpenColorIO-based pipeline. This introduces two configurable color spaces: - Input color space for images and movie clips. This space is used to convert images/movies from color space in which file is saved to Blender's linear space (for float images, byte images are not internally converted, only input space is stored for such images and used later). This setting could be found in image/clip data block settings. - Display color space which defines space in which particular display is working. This settings could be found in scene's Color Management panel. When render result is being displayed on the screen, apart from converting image to display space, some additional conversions could happen. This conversions are: - View, which defines tone curve applying before display transformation. These are different ways to view the image on the same display device. For example it could be used to emulate film view on sRGB display. - Exposure affects on image exposure before tone map is applied. - Gamma is post-display gamma correction, could be used to match particular display gamma. - RGB curves are user-defined curves which are applying before display transformation, could be used for different purposes. All this settings by default are only applying on render result and does not affect on other images. If some particular image needs to be affected by this transformation, "View as Render" setting of image data block should be set to truth. Movie clips are always affected by all display transformations. This commit also introduces configurable color space in which sequencer is working. This setting could be found in scene's Color Management panel and it should be used if such stuff as grading needs to be done in color space different from sRGB (i.e. when Film view on sRGB display is use, using VD16 space as sequencer's internal space would make grading working in space which is close to the space using for display). Some technical notes: - Image buffer's float buffer is now always in linear space, even if it was created from 16bit byte images. - Space of byte buffer is stored in image buffer's rect_colorspace property. - Profile of image buffer was removed since it's not longer meaningful. - OpenGL and GLSL is supposed to always work in sRGB space. It is possible to support other spaces, but it's quite large project which isn't so much important. - Legacy Color Management option disabled is emulated by using None display. It could have some regressions, but there's no clear way to avoid them. - If OpenColorIO is disabled on build time, it should make blender behaving in the same way as previous release with color management enabled. More details could be found at this page (more details would be added soon): http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.64/Color_Management -- Thanks to Xavier Thomas, Lukas Toene for initial work on OpenColorIO integration and to Brecht van Lommel for some further development and code/ usecase review!
2012-07-04Spellfixes: colour -> colorBastien Montagne
2012-07-03More spell and typo fixes (mostly visualise->visualize, grey->gray, ↵Bastien Montagne
normalise->normalize).
2012-05-24style cleanup: brace placement/newlinesCampbell Barton
2012-05-18style cleanup: function definitionsCampbell Barton
2012-04-30code cleanup: header cleanupCampbell Barton
2012-03-31move debug flag into its own global var (G.debug), split up debug options.Campbell Barton
--debug --debug-ffmpeg --debug-python --debug-events --debug-wm This makes debug output easier to read - event debug prints would flood output too much before. For convenience: --debug-all turns all debug flags on (works as --debug did before). also removed some redundant whitespace in debug prints and prefix some prints with __func__ to give some context.
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-20Adds support for utf paths on Windows.Alexander Kuznetsov
Not all file formats/calls are supported yet. It will be expended. Please from now on use BLI_fopen, BLI_* for file manipulations. For non-windows systems BLI_fopen just calls fopen. For Windows, the utf-8 string is translated to utf-16 string in order to call UTF version of the function.
2012-03-09style cleanup: comment blocksCampbell Barton
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2012-02-29error in recent header commit.Campbell Barton
2012-02-29Code Cleanup: remove non existing function declarations.Campbell Barton
added some missing functions too - which are not used yep but should be there for api completeness. * CDDM_set_mloop * CDDM_set_mpoly * BLI_mempool_count
2012-02-25style cleanup, use { on newline after function definition.Campbell Barton
spelling 'impliment' -> 'implement'
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-09-05Code cleanup: warning fixes.Brecht Van Lommel
2011-07-17cmake: cleanup include paths, some duplicates and going up some unneeded dirs.Campbell Barton
2011-05-31cmake maintenanceCampbell Barton
blender_add_lib now takes a separate include argument to suppress warnings in system includes (mostly ffmpeg & python). also only build wm_apple.c on apple+carbon configuration.
2011-05-10minor cleanup: make functions static, use NULL for pointer comparisons,Campbell Barton
also fixed a possible bug assigning incorrect DPX function types to imbuf.
2011-03-19remove some redundant vars, assignments & checks.Campbell Barton