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-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-02-05Code cleanup: use bool for static methodsCampbell Barton
2014-01-25Fix T38353: some EXR files from other applications not loading correctly.Brecht Van Lommel
* EXR layers with names like 'Z' without any pass name were not loaded at all and would break the Combined pass as well. * EXR pass names longer than 16 characters where writing past the end of the array and getting invalid names.
2013-11-30Woo Hoo. First git commit.Alexandr Kuznetsov
Changes for VC2013 Now, I can build Blender with VC2013 with Cycles, Collada, OpenExr,OpenImageIO disabled. Also, you need VC2008 sp1 installed to make old libs compatible.
2013-07-19style cleanup: braces/indentationCampbell Barton
2013-06-21Code cleanup: fix some vs2012 compiler warningsBrecht Van Lommel
2013-06-10Fix #35658: OpenEXR (from Maya) - missing passesSergey Sharybin
Added some special case for two-component channels name. Maybe magic could be simplified to just use last char of channel name as an id, but extra paranoid check never hurts.
2013-05-01Fix double free error in OpenEXR when file cannot be savedSv. Lockal
2013-04-16skip calling BKE_editmesh_tessface_calc() from BKE_bmbvh_new(), also quiet ↵Campbell Barton
float/double warnings.
2013-03-22Fix #34689: Multilayer EXRs don't load correctly if one layer is named and ↵Sergey Sharybin
the other is not OpenEXR's ChannelList.layers() will not include empty layer names, which caused the issue. Made it so if there's one non-empty layer name, check for empty names happens. If there's empty layer name in case one non-empty layer name, file will be considered multilayer now.
2013-03-13patch [#34604] Add DPI read write for BMP and OpenEXR formatCampbell Barton
2013-03-12Fixe related on #34608: MultiLayer OpenEXR (from Maya) - passes lost in ↵Sergey Sharybin
Compositor Image Node imb_exr_split_channel_name didn't set any value to layer and pass names, leaving them uninitialized. This is likely solves initial report, but will know for sure after testing windows build only.
2013-02-09Bug fix #34174Ton Roosendaal
Multilayer files saved from Maya (and I bet others) store the 'primary' layer without layer or pass name, just as R G B A. Allows viewers to show stuff too, I guess. Blender now reads this as well, just allowing an empty string for the layer and pass.
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-17Added GPL header to sconscripts!Bastien Montagne
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
2012-11-27CMake: hide some unnecessary LLVM/OSL/EXR prints.Brecht Van Lommel
2012-11-19Windows Libs: move OpenEXR headers to same directory structure as other ↵Brecht Van Lommel
platforms.
2012-11-13code cleanup: use ptrdiff_t when comparing pointers and tag event as an ↵Campbell Barton
unused arg to move_to_layer_invoke()
2012-11-13Bugfix #33161Ton Roosendaal
The new node that outputs multilayer was using longer names than default. Caused old code that truncated pass names to 11 chars to fail on loading exr. This was an old limit in openexr - but that got fixed long ago. On todo: check current openexr name lenghts, and all code in Blender that defines pass/layer names.
2012-11-12code cleanup: spelling,Campbell Barton
also initialize bmesh-bevel settings struct to zero to avoid possible uninitialized memory later.
2012-11-09style cleanup: indentationCampbell Barton
2012-11-03code cleanup: cmake - add missing headers, remove directories from source ↵Campbell Barton
listing. also remove logImageLib.c - empty file.
2012-11-03style cleanup: tabs & whitespaceCampbell Barton
2012-10-02Fix #32712: non-multilayer openexr file save for a single channel image wouldBrecht Van Lommel
write wrong colors for float and crash for half-float.
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-08-26Compiling fix for Windows+Mingw: "Ambiguous" use of IStreamJoshua Leung
2012-08-24Fix for build error on some platforms, seems ImfStdIO.h is not included withBrecht Van Lommel
the other headers everywhere.
2012-08-24Fix second part #32377: saving/loading exr files to file paths with non-asciiBrecht Van Lommel
characters should now work on Windows.
2012-08-22style cleanupCampbell Barton
2012-08-13code cleanup: includes for imbuf, also remove double promotion.Campbell Barton
2012-07-08fix [#32020] Image will not render in second (any scene other than first) if ↵Campbell Barton
scene name is longer than 28 characters
2012-06-14fix for years old bug - OpenEXR always adding alpha channel on load (how did ↵Campbell Barton
nobody notice this?).
2012-06-14code cleanup: zbuf/alpha exr writingCampbell Barton
2012-06-13style cleanupCampbell Barton
2012-06-07style cleanupCampbell Barton
2012-05-16style cleanup: imbufCampbell Barton
2012-05-11A couple more changes to the file and image nodes to improve access to ↵Lukas Toenne
layers that don't follow Blender's rlayer.rpass naming scheme. --- Changes to File Output node --- * Flat layer names in EXR multilayer files. For a socket with name "AAA" the previous resulting EXR layer name would be "AAA.AAA", i.e. the render layer as well as render pass would use the socket name. Now the "render_layer.render_pass" scheme is ignored in multilayer files, socket names are directly written to EXR layers (EXR layer name is "AAA" in this example). If sockets should have a notion of "render layer" this can still be achieved by explicitly adding a separator, e.g. "AAA.BBB". When loading such layers into a Blender Image struct, the name is interpreted as a "render_layer.render_pass" again (although the image node does not care about it, see below). * Socket sub-paths (for singlelayer) or layer names (for multilayer) are stored in dedicated string variables in the socket storage data. This way the RNA can define precise string subtypes (PROP_FILEPATH) and length. The file/layer slots are defined as separate structs with own name properties in the RNA as well, so they can be used nicely with the list template. * Ensure unique socket paths/layer names to prevent overwriting of files and layers respectively. --- Changes to Image node --- * Loading multilayer OpenEXR files has improved layer name splitting into render layer + render pass names now. This properly supports arbitrary EXR layer names now. Example: OpenEXR layer name: AAA.BBB.CCC is split into Render layer name: AAA.BBB Render pass name: CCC If the layer name has no '.' separators the render layer name is empty. * Image node ignores the selected render layer in the image user data. Instead all existing layers are displayed at the same time by combining the render layer names with render pass names again, to reconstruct the original EXR layer name. This avoids the problem that render layers with empty name are not selectetable in the dropdown and allows using all image layers at the same time without duplicating the node.
2012-04-29style cleanup: whitespace / commasCampbell Barton
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-04-16Avoid invalid delete call when loading multilayer EXR files with that don't ↵Lukas Toenne
fit the Blender pass naming scheme. If the imb_exr_begin_read_mem function fails reading the EXR (e.g. because of too many channels per pass) it deletes the file internally, leading to segfault on second delete.
2012-04-03Make sure Multilayer EXR from other apps are read in as multilayer.Nathan Letwory
2012-04-03r45338 added multithreaded OpenEXR loading. Path to pthread was missing.Nathan Letwory
2012-04-02Solve namespace conflicts for ole grumpy MinGW. It seems FLOAT is also ↵Antony Riakiotakis
defined in a windef.h header.
2012-04-02Multithreaded EXR files loadingSergey Sharybin
Use multithreaded loading of EXR files which is enabling by call of setGlobalThreadCount function from OpenEXR library to set up number of used threads to number of system threads which speeds up loading high-resolution files on multi-core / multi-cpu systems and allows to work with high-resolution sequences in clip editor and sequencer.
2012-03-24style cleanup: follow style guide for/with/if spacingCampbell Barton
2012-03-18spelling cleanupCampbell Barton
2012-03-09style cleanup: comment blocksCampbell Barton
2012-03-05Fix for OpenEXR half float save function resulting in dark images savedSergey Sharybin
Float buffers of ImBuf are always supposed to be linear space a,d ImBuf's profile means how byte array was constructed from float buffer.
2012-03-02style cleanupCampbell Barton
- spelling - turns out we had tessellation spelt wrong all over. - use \directive for doxy (not @directive) - remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-03-01Fix for Multilayer EXR API. This was using implementation stubs directly in ↵Lukas Toenne
the header file, causing problems with scons in particular.