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
2012-09-19fix MESH_OT_tris_convert_to_quads() limit options (uv and vertex color) were ↵Campbell Barton
not working at all.
2012-09-18fix [#32572] Windows: False error on console when a new folder is created ↵Campbell Barton
during a save or export operation
2012-09-16Few cleanup in matrix mathutils (make mul_m3_m3m4 and mul_m4_m3m4 consistant ↵Bastien Montagne
with other similar funcs, mainly copy-safe [i.e. you can use the same matrix as operand and result, saves lines in some already over-complicated code!]).
2012-09-16style cleanupCampbell Barton
2012-09-15code cleanup: replace macro for BLI_rect size/center with inline functions.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-09-15code cleanup: modify DO_INLINE define to not use __inline with mingwCampbell Barton
make RegisterBlendExtension_Fail a static func u
2012-09-15quiet -Wmissing-prototypes warnings, and enable this warning by default for ↵Campbell Barton
C with gcc. helps for finding unused functions and making functions static, also did some minor code cleanup.
2012-09-12Fix #32031: particle distribution on degenerate faces could give NaN values,Brecht Van Lommel
which in this case caused NaN values in render lighting.
2012-09-11add some missing NULL checks, a few parts of the code used a pointer then ↵Campbell Barton
checked it for NULL after. also made it more clear that some areas assume the pointer isnt null (remove redundant NULL checks).
2012-09-06code cleanup: BM_face_legal_splits() was doing some redundant assignments.Campbell Barton
2012-09-04fix for building on msvc2008 (also style cleanup)Campbell Barton
2012-09-04code cleanup: move file string defines into BLI_path_utils.h, ↵Campbell Barton
BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-09-03array functions for endian switching.Campbell Barton
2012-09-03add endian switch functions to replace macros SWITCH_INT/LONG/SHORT, with ↵Campbell Barton
BLI_endian_switch_int32/int64/float/double...
2012-08-29code cleanup: add utility function BLI_path_is_rel()Campbell Barton
2012-08-27Alternate mask spline feather offset calculation method: now there are 2 ↵Campbell Barton
[Even | Smooth] - Even preserves thickness but can give unsightly loops - Smooth gives nicer shape but can give unsightly feather/spline mismatch for 'S' shapes created by beziers. This is an example where smooth works much nicer. http://www.graphicall.org/ftp/ideasman42/mask_compare.png
2012-08-26style cleanup: whitespaceCampbell Barton
2012-08-26Some FFmpeg changesSergey Sharybin
- Make FFmpeg initialization called from creator, not from functions which requires FFmpeg. Makes it easier to follow when initialization should happen. - Enable DNxHD codec. It was commented a while ago due to some strange behavior on some platforms. Re-tested it on Linux and Windows and it seemd to be working quite nice. Would let it be tested further, if it wouldn't be stable enough, easy to comment it again. - Make non-error messages from writeffmpeg.c printed only if ffmpeg debug argument was passed to blender. Reduces console pollution with messages which are not useful for general troubleshooting. Error messages would still be printed to the console. - Show FFmpeg error message when video stream failed to allocate. makes it easier to understand what exactly is wrong from Blender interface, no need to restart blender with FFmpeg debug flag and check for console messages. Used custom log callback for this which stores last error message in static variable. This is not thread safe, but with current design FFmpeg routines could not be called form several threads anyway, so think it's fine solution/
2012-08-25code cleanup: vec_to_quatCampbell Barton
2012-08-25add conjugate_qt_qt(), also some code cleanup and use const for 'rotOrders' ↵Campbell Barton
var in math_rotation.c
2012-08-25minor code cleanupCampbell Barton
2012-08-25don't use a while loop when in compatible_eul(). this is a low level ↵Campbell Barton
rotation function called in many places so better to avoid iterations. checked this function against the previous method using random rotation inputs and compared results, while this isnt exactly the same the results are very close and acceptable in both cases, also checked baking actions that the resulting FCurves are good and give matching rotations.
2012-08-23code cleanup: rename BLI_in_rctf() --> BLI_rctf_isect_pt(), to conform with ↵Campbell Barton
our naming convention.
2012-08-22code cleanup: use rect size macrosCampbell Barton
2012-08-21code cleanup: vfont's used confusing and over complicated method of storing ↵Campbell Barton
memory for loaded fonts, not store as a temp var in the fonts.
2012-08-21code cleanup: use BLI_RCT_SIZE macroCampbell Barton
2012-08-20macros for rectangle center and sizeCampbell Barton
2012-08-19fix for own commit r49991, this exposed bad logic in rect copy function.Campbell Barton
2012-08-18utility functions: BLI_findptr, BLI_rfindptr --- use for finding an item in ↵Campbell Barton
a linked list by a pointer.
2012-08-18style cleanup: also correct some doxy commentsCampbell Barton
2012-08-14fix [#32315] Circle select unreliable when in vertex+edge select modeCampbell Barton
dist_squared_to_line_segment_v2() was returning the sqrt'd value in some cases. also use int's for edge_inside_circle() rather then shorts since it was doing int/float/short conversions and we're now using int's for screen vars in more places.
2012-08-12smooth-view for 2d views, graph editor, sequencer, node view, works with ↵Campbell Barton
border zoom, view selected, view all.
2012-08-12style cleanupCampbell Barton
2012-08-10zero rotation values for quat_apply_track() which were in fact just float in ↵Campbell Barton
precision. also minor code cleanup - tabs -> spaces in scons file.
2012-08-07fix for own error confusing FLT_MIN with -FLT_MAX (didnt get into a release, ↵Campbell Barton
dont include in log)
2012-08-06Remove redundant typedef of BLI_StackHoward Trickey
(caused compilation errors with some compilers)
2012-08-06fix for building in debug mode.Campbell Barton
2012-08-06Add an array-based generic stack structure to blenlibNicholas Bishop
Very simple stack with homogeneous contents. Provides push, pop, and is-empty operations.
2012-08-05use define for 0.375 = GLA_PIXEL_OFS, used all over the interface.Campbell Barton
also use M_SQRT1_2 in math_rotation.c
2012-08-05code cleanup: remove redundant calls to CTX_data_main()Campbell Barton
2012-08-05fix a glitch where overlapping feathering could give random bad pixels, this ↵Campbell Barton
was caused by feather edge going in a different direction to the mask edge - creating bowtie quads.
2012-08-04style cleanupCampbell Barton
2012-08-04code cleanup:Campbell Barton
- replace (strcmp(vfont->name, FO_BUILTIN_NAME) == 0) with (BKE_vfont_is_builtin(vfont)). - reduce some double promotions.
2012-08-03fix/edits to vector font handlingCampbell Barton
- don't overwrite the font path with "<builtin>" when the font file cant be found, it caused bad problems when loading files on someone elses systems when paths couldn't be found blender would silently clobber paths (tsk tsk). - when fonts are freed their temp data is now freed too. - assigning a new filepath to a font now refreshes the object data.
2012-07-30fix for own error in r43796, 'Find Missing Files', could set the path to an ↵Campbell Barton
empty string.
2012-07-29add inline functions for max/min ints, good to use when the arguments are ↵Campbell Barton
function calls (we had a few of these).
2012-07-29code cleanup: replace MIN2/MAX2 with minf/maxfCampbell Barton
2012-07-29style cleanupCampbell Barton
2012-07-26fix some types and incorrect infoCampbell Barton