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-16fix for error in recent commit (made function static that shouldn't have ↵Campbell Barton
been), add extra gcc warnings to cmake.
2012-09-16code cleanup: quiet warnings for gcc's -Wundef, -Wmissing-declarationsCampbell Barton
2012-09-16code cleanup: make local game engine functions staticCampbell Barton
2012-09-16code cleanup: remove unused structs and also some style cleanup.Campbell Barton
2012-09-16remove unused parts of raskter module.Campbell Barton
2012-09-15Yet another OSL fix: Some functions are missing stubs that were not used in ↵Lukas Toenne
old OSL implementation yet.
2012-09-15Fix for OSL 'Normal' node: the Direction parameter is of 'normal' type ↵Lukas Toenne
instead of generic 'vector'.
2012-09-15Generate compatible OSL shader parameter names in cases where the node has ↵Lukas Toenne
and input and output with the same name. In that case the convention is to add suffixes "In" and "Out" respectively. Example: Blender node has one input "Color" and one output "Color" -> OSL parameter names should be "ColorIn" and "ColorOut"
2012-09-15OSL implementation of RGB ramp node.Lukas Toenne
The sampled color ramp data is passed to OSL as a color array. This has to be done as actual float[3] array though, since the Cycles float3 type actually contains 4 floats, leading to shifting color components in the array. Additional parameter set functions for arrays have been added to the Cycles OSL interface for this purpose.
2012-09-15Merged this part of code by mistake.Sergey Sharybin
2012-09-15Cycles / OSL:Thomas Dinges
* Fix Musgrave Texture, used wrong Perlin Noise (0..1) instead of -1..1. Also added comment to noise_basis() to make it clear which noise type is used there.
2012-09-15Cycles / OSL:Thomas Dinges
* Fixes for Voronoi, Gradient and Magic Textures. SVM and OSL renders excactly the same now.
2012-09-15* Disable building of Legacy Compositor in Scons. Thomas Dinges
2012-09-15code cleanup: replace macro for BLI_rect size/center with inline functions.Campbell Barton
2012-09-15fix for bug in txt_undo_read_uint32() reading 4byte unicode values.Campbell Barton
2012-09-15Buildbot: OpenColorIO should be enabled for buildbot nowSergey Sharybin
2012-09-15Fix for collada -- some intermediate patch remained untweaked thereSergey Sharybin
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-15Color Management, Stage 1: Initial OpenColorIO library integrationSergey Sharybin
This commit integrates support of OpenColorIO library into build systems. It also contains C-API for OpenColorIO library which could be used by Blender. CMake has got find rules familiar to OpenImageIO's one which makes it easier for build system to find needed libraries and includes. Scons only could use explicitly defined paths to libraries and includes. C-API would be compiled and Blender would be linked against C-API and OpenColorIO but it wouldn't affect on Blender behavior at all. OpenColorIO could be disabled by setting up WITH_OCIO to Off in CMake and setting WITH_BF_OCIO in Scons.
2012-09-15Fix compilers warnings when legacy compositor is disabledSergey Sharybin
2012-09-15code cleanup: remove more invalid/paranoid NULL checks Campbell Barton
2012-09-15code cleanup: remove paranoid/invalid NULL checks and also reduce some ↵Campbell Barton
unneeded size_t -> int conversions.
2012-09-15fix for error in own recent commit adding node undo pushes. (bad use of sizeof)Campbell Barton
2012-09-15fix for 3 obvious mistakes/bugs.Campbell Barton
2012-09-15code cleanup: remove paranoid NULL checks (these cases would crash earlier ↵Campbell Barton
of the vars were in fact NULL)
2012-09-15fix incorrect macro for mask handle selection checking.Campbell Barton
2012-09-15code cleanup: replace memcpy for copy_v3_v3(), and fix for unlikely crash - ↵Campbell Barton
if (ob->mat == NULL && ob->totcol)
2012-09-15syntax error in previous commitCampbell Barton
2012-09-15Silent compiler's warnings about tracking moduleSergey Sharybin
2012-09-15code cleanup: quiet some windows warnings.Campbell Barton
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-15fix [#32381] Sculpt: crash when using radius sensitivityCampbell Barton
2012-09-15style cleanupCampbell Barton
2012-09-15Collada: #32549 partial fix: packed images now export correctlyGaia Clary
2012-09-14Implemented the Particle Info for OSL. Uses the following attributes:Lukas Toenne
* std::particle_index * std::particle_age * std::particle_lifetime * std::particle_location * std::particle_size * std::particle_velocity * std::particle_angular_velocity Just as with SVM the rotation state attribute is currently disabled due to lack of a proper quaternion or matrix type in Cycles nodes.
2012-09-14Added Object Info node implementation for OSL. This uses an additional ↵Lukas Toenne
attribute check in the osl_services callback for special attribute names related to objects: * std::object_location * std::object_index * std::material_index * std::object_random Other object-based attributes can be added for particle info in the same way.
2012-09-14Correction to rev50582: LABEL could have a1 = 1.0f and in this case a2 would ↵Sergey Sharybin
be used as alpha multiplier for icon
2012-09-14Disable legacy compositor by defaultSergey Sharybin
2012-09-14Movie cache: made it thread safe to operate with memory limitorSergey Sharybin
Movie cache is using global memory limitor, which isn't thread safe in some of operations, so it required to add mutex around limitor operations in movie cache. It's probably could be solved in a way with less locks involved by using different limitor for different areas (like use own limitor for clips, own limitor for sequencer and so), but that wouldn't be so easy to control overall memory usage. -- svn merge -r50125:50126 ^/branches/soc-2011-tomato
2012-09-14Sequencer: clear cache and animation buffers for strips outside of cursor ↵Sergey Sharybin
when rendering This avoids having bunch of cached images when doing animation rendering, keeping all the memory available for rendered itself. This keeps memory usage low when rendering huge edits with mixed scenes and movie strips. This should not affect on sped of video encoding, which was confirmed by some own tests. -- svn merge -r50051:50052 ^/branches/soc-2011-tomato
2012-09-14Cycles / Test:Thomas Dinges
* Enable progressive flag, tiles are not working properly (Image gets brighter with more samples and no visible updates until all tiles are finished).
2012-09-14Code cleanup: removed unused Cocoa image load/save code.Brecht Van Lommel
2012-09-14fix for sharp edge selection being inverted, change default angle from 1 to ↵Campbell Barton
30deg.
2012-09-14fixes for NULL checks, remove some redundant checks and add some in that ↵Campbell Barton
have been removed by accident as code has been updated.
2012-09-14fix for out-of-bounds checks for fcurve modifier and poselib, also check for ↵Campbell Barton
NULL members of avi structure (since they are checked for NULL later.)
2012-09-14code cleanup: correct misleading use of LABEL button type.Campbell Barton
2012-09-14add checking target `check_smatch`Campbell Barton
2012-09-14node transform was using PET mode (drawing a circle - but it did nothing), ↵Campbell Barton
disable PET for nodes.
2012-09-14fix for 2 crashes freeing masksCampbell Barton
- freeing a mask from RNA BKE_libblock_free() twice on the mask. - loading a new blend file would only free the mask and not unlink it from nodes - it would access freed memory.