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
2013-12-04Fix for interpolation errors on lower-left borders in compositor imageLukas Tönne
inputs. http://wiki.blender.org/uploads/4/4c/Compo_image_interpolation_borders.png Problem is that all image buffer reader nodes (RenderLayer, Image, MovieClip) were clipping pixel coordinates to 0..N range (N being width or height respectively). Bilinear interpolation works ok then on the upper-right borders (x, N) and (N, y), since the last (N-1) pixel fades out to N (background). But the lower-left (x, 0) and (0, y) borders are not correctly interpolated because the nodes cut off the negative pixels before the interpolation function can calculate their value. To fix this, the interpolation functions are now entirely responsible for handling "out of range" cases, i.e. setting (0,0,0,0) results for invalid pixels, while also handling interpolation for borders. Callers should not do pixel range checks themselves, which also makes the code simpler. Should not have any real performance penalty, the interpolation functions do this check anyway, so is probably even slightly faster.
2013-12-04Code cleanup: remove unused color management functionsSergey Sharybin
2013-12-02Fix T37656: Huge amount of RAM used during start when rendering large imagesSergey Sharybin
Issue was caused by linear float buffer creating for every working thread. This buffer actually duplicated original buffer which doubles amount of required memory. We can not avoid such a duplication, because OCIO needs to work on a float buffer and it modifies this buffer. Alternative for now is to not allocate linear buffer for the whole chunk which needs to be handled by the thread and use further chunk cutting in thread itself. So now every thread will handle the chunk in blocks of 64 scanlines. This reduces memory overhead significantly without speed loss in own tests. Ideally, IMB_processor_apply_threaded need to be switched to generic task scheduler and made it so this function generates tasks with reasonable number of scanlines. This requires much more testing to be sure there're no conflicts with object update and so. Such a change to IMB_processor_apply_threaded would not be noticed by users, so do not consider this is a crucial to do right now.
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-11-24Code Cleanup: whitespace / formattingCampbell Barton
2013-11-22Code Cleanup: use NULL for pointer checks and remove joke.Campbell Barton
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-11-01Fix [#37290] Movie files filtering does not show *.ts files.Bastien Montagne
2013-11-01FIX: [#37199] .ogg file is not recognized as a movie in File BrowserAndrea Weikert
CHANGE: writing an animation in the ogg movie format now defaults to .ogv (ogg/video) which is recommended by Xiph.org for video CHANGE: for .ogg files a check is added whether Blender can read it as a movie (is avi or ffmpeg movie), otherwise assume audio CHANGE: the anim player now filters for the same extensions as the file browser
2013-10-31Add .webm to the list of extensions recognized as videoAndrea Weikert
(Patch by Philipp Oeser, submitted in [#37199], many thanks)
2013-10-23style cleanupCampbell Barton
2013-10-18Add debug prints to the PSD loader in imbuf. The error message can be ↵Irie Shinsuke
obtained from OIIO by geterror().
2013-10-14Fix #37043: bpy.ops.sequencer.rebuild_proxy() don't release memorySergey Sharybin
2013-10-13cmake/openimageio - partially reverting #60692Dalai Felinto
We now have openimageio building when cycles builds or when it's manually set to build. (I reverted the _IMAGE_ in the define name because I think the closer the cmake flags match the defines in the software the better, and there is no reason to rename all the existent WITH_OPENIMAGEIO references in CMakeLists.txt - which would be the alternative)
2013-10-12code cleanup: use const's for vector args.Campbell Barton
2013-10-12Fix build scripts related to PSD support. Both CMake and SCons builds were ↵Irie Shinsuke
broken.
2013-10-12scons: fix WITH_PSD compiling, still i think muddled naming is used here, ↵Jens Verwiebe
todo: cleanup
2013-10-11scons file for OIIO (needed for psd)Dalai Felinto
based on patch by Shinsuke Irie note: scons is not working for me at the moment so I did not test this patch. It should work fine though.
2013-10-11adding WITH_IMAGE_OPENIMAGEIO and removing the PSD build optionDalai Felinto
As per Brecht van Lommel's suggestion.
2013-10-11code cleanup: use const's for static arraysCampbell Barton
2013-10-10style cleanupCampbell Barton
2013-10-09Implementation of curve mapping in GLSLSergey Sharybin
The title says it all, now having curve mapping enabled in color management settings wouldn't force fallback from GLSL to CPU based color space conversion.
2013-10-09style cleanupCampbell Barton
2013-10-09fix for building with OPENJPEG after PSD commitDalai Felinto
reported via email, patch by PerfectionCat
2013-10-09fix building when WITH_PSD is OFF, stub is not needed afterallDalai Felinto
2013-10-09Photoshop PSD supportDalai Felinto
We now support the combined layer of Photoshop files (stored as layer 0 in the file). This way users can keep their files as multilayer PSD and Blender always handle them as flat images. For perfect alpha this requires an OpenImageIO update: https://github.com/OpenImageIO/oiio/commit/342cc2633ff590a3bb278481c61ae798c7148361 Photoshop sample files: https://github.com/OpenImageIO/oiio-images Brecht has some pending fixes to push for OIIO as well, so we may as well wait to update our libraries. What works: =========== * 8bit images (with or without alpha) * 16bits images (alpha discarded) * Photoshop files saved with 'Maximum Compatibility' * Cycles, Blender internal, BGE (and player) Known limitations (due to OIIO dependency): ========================= * Images with less than 4 channels show a wrong thumbnail (bug may be in OIIO) * Packed images are not supported * We do not write PSD files. Note: old Blenders have support for PSD via Quicktime library. But due to license issues this was discontinued. Many thanks for Brecht van Lommel for reviewing the patch, suggesting multiple improvements and to help solving the alpha issue.
2013-10-04Changing dither value will now invalidate cached display bufferSergey Sharybin
2013-09-12code cleanup: headers - doxy comments.Campbell Barton
2013-09-11Revert r60034 and proper fix for #36698 by Sergey Sharybin. NULL pointer ↵Lukas Toenne
checks should never be done in color management. Instead this makes sure the look identifier is always initialized correctly to the default if not defined.
2013-09-11Fix #36698 Cycles MinGW64 Mike Pan scene crashes instantly. Missing pointer ↵Lukas Toenne
check in color management look access from r59945. The look_desc pointer is NULL if the look string is undefined (empty).
2013-09-10Add BLI_utildefines.h for __func__ (necessary for MSVC).Nathan Letwory
2013-09-10code cleanup: use bool for imbuf allocation functions.Campbell Barton
2013-09-10fix [#36187] Crash loading large imagesCampbell Barton
alloc size was larger then an int, use size_t for all image alloc sizes.
2013-09-09Some more fixes to missing look initializationSergey Sharybin
2013-09-09Film response curves implemented as a looksSergey Sharybin
This commit implement's OCIO's Looks idea which is about applying some color correction on the buffer before it get's affected by a display transform. This is mainly used to modify images in an artistics way. Currently we've got looks generated from film response curves for all sorts of cameras. Patch by both of me and Brecht.
2013-09-08patch [#36633] Correct headers for renders saved as bitmap (.bmp) format.Campbell Barton
by Brandon Northcutt (occamsdream) Blender was writing invalid bitmaps that imagemagick and ffmpeg couldn't read.
2013-09-05Code cleanup: use boolean instead of int for colormanagementSergey Sharybin
2013-09-02Fix #36124: VSE - Input Color option does not work for video filesSergey Sharybin
Byte images and movies will now fully follow input color space. Before this non-sRGB input colorspace for byte images and movies behave really doggy (results in preview and final render were totally different). To prevent data loss, if byte image is set not stored in sequencer's space it'll be internally converted to float buffer. In theory some setups might be rendering a bit different now, but new behavior is totally expected and someone used non-sRGB input space for byte images/movies had Convert Float enabled anyway.
2013-09-01Move GCC attributes into a centraized definesSergey Sharybin
Instead of having ifdef __GNUC__ all over the headers to use special compiler's hints use a special file where all things like this are concentrated. Makes code easier to follow and allows to manage special attributes in more efficient way. Thanks Campbell for review!
2013-08-31RenderEngine API: add viewport draw utility functions to bind a GLSL fragmentBrecht Van Lommel
shader for converting colors from linear to display space, based on the scene color management settings. if engine.support_display_space_shader(scene): # test graphics card support engine.bind_display_space_shader(scene) # draw pixels .. engine.unbind_display_space_shader()
2013-08-23Fix #36535: Color difference when saving imageSergey Sharybin
Issue was caused by precision loss in alpha under code. Now it might be slower a bit, but it's as precise as it could be. At least i hope so :)
2013-08-19code cleanup: confirm include guards to our conventionCampbell Barton
2013-08-13add support for loading 8bit BMP imagesCampbell Barton
2013-08-04code cleanup: replace strcpy with BLI_strncpy for fixed size strings, and ↵Campbell Barton
correct some harmless but incorrect sizeof() use
2013-07-27code cleanup for thumbnails:Campbell Barton
- use URI_MAX define - replace strcat with BLI_snprintf.
2013-07-25add missing va_end() calls.Campbell Barton
2013-07-25add api function BLI_path_append to add to a path (and ensure a seperator), ↵Campbell Barton
replaces BLI_join_dirfile when the dir and the destimation were the same.
2013-07-23* Compile fix for r58542, on Windows "subdir" was unknown. Thomas Dinges
2013-07-23replace use of strcat() where the string offset is known.Campbell Barton
also correct bad logic with converting a textblock to 3d-text, bytes-vs-number of chars wasn't handled right.