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
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2010-05-07Merge image related changes from the render branch. This includes the imageBrecht Van Lommel
tile cache code in imbuf, but it is not hooked up to the render engine. Imbuf module: some small refactoring and removing a lot of unused or old code (about 6.5k lines). * Added a ImFileType struct with callbacks to make adding an file format type, or making changes to the API easier. * Move imbuf init/exit code into IMB_init()/IMB_exit() functions. * Increased mipmap levels from 10 to 20, you run into this limit already with a 2k image. * Removed hamx, amiga, anim5 format support. * Removed colormap saving, only simple colormap code now for reading tga. * Removed gen_dynlibtiff.py, editing this is almost as much work as just editing the code directly. * Functions removed that were only used for sequencer plugin API: IMB_anim_nextpic, IMB_clever_double, IMB_antialias, IMB_gamwarp, IMB_scalefieldImBuf, IMB_scalefastfieldImBuf, IMB_onethird, IMB_halflace, IMB_dit0, IMB_dit2, IMB_cspace * Write metadata info into OpenEXR images. Can be viewed with the command line utility 'exrheader' For the image tile cache code, see this page: http://wiki.blender.org/index.php/Dev:2.5/Source/Imaging/ImageTileCache
2010-02-15Fix #21078: image paint undo didn't work correct with wrap option, movedBrecht Van Lommel
wrapping code to paint_image.c so it can be used for the undo push.
2010-02-12correct fsf addressCampbell Barton
2009-12-08ImBuf: Fix bug in clippingBenoit Bolsee
2008-09-20Patch #8461, by Rob HausauerTon Roosendaal
This unifies all usage of FTOCHAR, putting it in utildefines.h Submitter did several interesting tests for speed, check it here: http://projects.blender.org/tracker/?func=detail&atid=127&aid=8461&group_id=9
2008-04-17Patch from GSR that a) fixes a whole bunch of GPL/BL licenseChris Want
blocks that were previously missed; and b) greatly increase my ohloh stats!
2008-02-22Fix for [#8303] stamp gives wrong file name when using unsaved filesCampbell Barton
Also made alpha color work with OpenGL render caused by buf_rectfill_area not working on char rect's.
2007-10-29Routine purge of compiler warnings. Yet again, they were mostly ↵Joshua Leung
uninitialised vars.
2007-10-29render stamp drawing is now done everywhere - (not just when saving Campbell Barton
images) separated stamp metadata and stamp draw functions.
2007-10-24Patch by GSR #7628, I also added alpha for text background.Campbell Barton
The list of changes (some are fixes): - Properly horizontally centered tags in all fields (bug?). - File area does not have trailing space and has leading "File " at start instead (probably a bug). - Small separation between to time related fields, space saving. - Removed colons, for consistency and space saving again. - Frame field is zero aligned for higher visual stability. - Marker name shows a rarer name, "<none>" (using <> is typical for cases in which there is nothing: <none>, <empty>, <blank>, etc). - Top area for misc info that can be really long (file, note and render date). - Bottom area for more constantly changing but short ones (marker, SMPTE, frame, camera and scene). - Only render date moves a line (when note field is not used), and frame one moves if no SMPTE (still in same line, so no big jump), for extra visual stability (marker is fixed, assuming most people would show frame and or SMPTE). - ISO 8601 date format for render date, localization independant. Comparision images: http://www.infernal-iceberg.com/blender/stamp-original.png http://www.infernal-iceberg.com/blender/stamp-cleanup.png
2007-10-20Image Stamping patch by Diego (and peach request)- stamps image info into ↵Campbell Barton
metadata and optionally draws into the frame. This patch includes some changes I made... * use blenders bitmap fonts (rather then own fonts) * select font size * user interface layout changes * Marker as another image stamp option Also added some new API calls BMF_GetFontHeight(font); BMF_DrawStringBuf(...); - so we can draw text into an imbuf's image buffer. get_frame_marker(frame) - get the last marker from the frame. IMB_rectfill_area(...) - fill in an image buffer with a rectangle area of color. TODO - draw stamp info in 3d view, at the moment it just displays in the animation.
2007-02-15Bugfix (via email)Ton Roosendaal
Bake crashed when baking to float images. Caused by an Imbuf call not handling float imbufs well.
2007-01-13Fix for bug #5694:Brecht Van Lommel
Another issue with division by zero in texture paint, this time in torus wrapping.
2006-12-20The Big Image refactor!Ton Roosendaal
Please read: http://www.blender3d.org/cms/Imaging.834.0.html Or in short: - adding MultiLayer Image support - recoded entire Image API - better integration of movie/sequence Images Was a whole load of work... went down for a week to do this. So, will need a lot of testing! Will be in irc all evening.
2006-11-07Added two new blend modes to image painting brushes, erase alpha andBrecht Van Lommel
add alpha, for painting transparency in images. When using the eraser tool of a tablet pen, the erase alpha blend mode is activated.
2006-10-27Bugfix: alpha values written in image paint were wrong.Brecht Van Lommel
2006-08-27Texturepaint now supports all the imagepaint brush settings, with theBrecht Van Lommel
exception of the clone tool. One level undo for image- and texturepaint, only storing those tiles that changed. Test to improve texturepaint performance using glTexSubImage2D, only enabled with 2^n sized textures and mipmapping off. Painting a 2048x2048 texture is then pretty smooth here, as long as the geometry is not too complex.
2006-07-31ImagePaint Refactoring:Brecht Van Lommel
- ImagePaint now uses ImBuf directly, and the rect blending functions were moved into the imbuf module. - The brush spacing, timing and sampling was abstracted into brush.c, for later reuse in other paint modes. Float ImagePaint support. Textured Brushes: - Only the first texture channel is used now. - Options for size and offset should be added, but need to find some space in the panel, or add a second one ..
2006-06-10==Sequencer==Peter Schlaile
Fixed the blur-plugin (and maybe a lot more) crashes by expecting future float-buffer aware sequencer-plugins to have a bumped PLUGIN_VERSION number. Since quality and speed is degraded by converting the float buffer first to byte, performing the effect on bytes and then converting back again an additional warning is displayed in the effect strip, suggesting to update the used sequencer-plugins. Fixed some more crashes along the way. Float buffer aware sequencer plugins should - first check, if the output-ibuf has a rect_float => perform all operations with floats (input and output) - if not: perform everything on bytes (intput and output)
2006-01-17Fixed crash in pupmenu for image iconsAndrea Weikert
* Scaled down image can be smaller than icon - bad memory access * Also needed to copy float buffer for exr images * rectcpy only copied first row There probably is some unnessary copying, will check with a little more time. For now better be safe since it's no huge amount of mem that is copied.
2006-01-09Orange branch: OpenEXR finally in Blender!Ton Roosendaal
Credits go to Gernot Ziegler, who originally coded EXR support, and to Austin Benesh for bringing it further. Kent Mein provided a lot of code for integrating float buffers in Blender imbuf and ImBuf API cleanup, and provided Make and Scons and static linking. At this moment; the EXR libraries are a *dependency*, so you cannot get the Orange branch compiled without having OpenEXR installed. Get the (precompiled or sources) stuff from www.openexr.com. Current default is that the headers and lib resides in /user/local/ Several changes/additions/fixes were added: - EXR code only supported 'half' format (16 bits per channel). I've added float writing, but for reading it I need tomorrow. :) - Quite some clumsy copying of data happened in EXR code. - cleaned up the api calls already a bit, preparing for more advanced support - Zbuffers were saved 16 bits, now 32 bits - automatic adding of .exr extensions went wrong Imbuf: - added proper imbuf->flags and imbuf->mall support for float buffers, it was created for *each* imbuf. :) - found bugs for float buffers in scaling and flipping. Code there will need more checks still - imbuf also needs to be verified to behave properly when no 32 bits rect exists (for saving for example) TODO: - support internal float images for textures, backbuf, AO probes, and display in Image window Hope this commit won't screwup syncing with bf-blender... :/
2005-03-20 - remove all obsolete inclusions of BLI_winstuff.h (due to recent changes)Daniel Dunbar
NOTE: BLI_winstuff.h was meant to be a wrapper around windows.h to handle undefining various crap that windows.h defines. Platform specific headers should only have to be included in a few places. This reduces the number of inclusions of BLI_winstuff.h to 16 which is a much more reasonable number (than the 144 or whatever it used to be)
2005-01-03This is a pretty lame commit but here it is:Kent Mein
I just fixed indentation (replaced spaces with tabs where needed) and removed #include config.h stuff from the above files. Kent
2004-08-31ok my last little tweak for today ;)Kent Mein
I cleaned up the code a little did a couple of these: if (blah > stuff - wah) blah = stuff - wah; changed to.... tmp = stuff - wah; if (blah > tmp) blah = tmp; and combined multiple if statements Kent
2002-11-25updated .c files to include:Kent Mein
#ifdef HAVE_CONFIG_H #include <config.h> #endif Just need to finish cpp files now :) Kent -- mein@cs.umn.edu
2002-10-12Initial revisionv2.25Hans Lambermont