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.
2011-01-07Revert bump mapping patch for now, backwards compatibility is not good enough,Brecht Van Lommel
we may need to preserve the previous method.
2011-01-07Fix #25078: texture mapping options (e.g. size) not working correctly with bump.Brecht Van Lommel
This problem was in both new bump and new new bump. The derivatives used for bump mapping did not include the mapping, which gave mismatched offset for the taps, now just do the mapping beforehand.
2011-01-07Improved bump mapping patch by M.G. Kishalmi (lmg) and M.S. Mikkelsen (sparky).Brecht Van Lommel
Many thanks to them! For comparison, see here: http://kishalmi.servus.at/3D/bumpcode/ Based on algorithm in: Mikkelsen M. S.: Simulation of Wrinkled Surfaces Revisited. http://jbit.net/~sparky/sfgrad_bump/mm_sfgrad_bump.pdf This fixes bugs: #24591: Artefacts/strange normal mapping when anti-aliasing is on #24735: Error at the Normal function. #24962: Normals are not calculated correctly if anti-aliasing is off #25103: Weird artefacts in Normal This will break render compatibility a bit, but fixing this bugs would have also done that, so in this case it should be acceptable. Patch committed with these modifications: * Bump method Old/3-Tap/5-Tap option in UI, 3-Tap is default * Only compute normal perturbation vectors when needed * Fix some middle of block variable definitions for MSVC
2011-01-06fix for clang static check warnings.Campbell Barton
- convertblender.c, remove assignments to unused vars. - readfile.c, fix 2 possible crashes. null pointers were being checked for then used later without checking. - space_graph.c, use switch statement for automatic color assignment rather then a float array.
2011-01-06remove assignments which are unused.Campbell Barton
2011-01-05Fix #23604: external shadows for volume materials don't workBrecht Van Lommel
2011-01-03avoid int/float comparisons within a number of for loops in deep shadow map ↵Campbell Barton
compression. gives minor overall speedup.
2011-01-03fix for possible comparison of un-initialized variable.Campbell Barton
vol_get_bounds() only runs when shi->flippednor==0, but is.hit.ob was being checked afterwards irrespective.
2011-01-02- correct typos in comments.Campbell Barton
- move boxpack struct out of the public header.
2010-12-28Bugreport, IRCTon Roosendaal
Compositor: "Read & Compo Full Sample Buffers" option stopped after 1 pass; the break callback was returning '1' falsely. Also made it show "wait cursor" again, since it doesn't run in thread nor updates UI while compositing buffers. Check console for progress for now.
2010-12-27Bugfix #25392Ton Roosendaal
Compositor: Texture node didn't use texture-nodes itself. Now composites initialize texture nodes correctly. Also reviewed the fix for crashing texture nodes for displace. It appears texture nodes also are used for sculpt/paint brushes, in these cases it can be allowed again. But, don't do this during rendering for now!
2010-12-26Bugfix #24966Ton Roosendaal
Hair render: using strand "Blender Unit" size didn't correctly clip for larger/wider strands. Now code clips strands based on the maximum width. Also found bad code for using clipping flags, which was mixed up, and probably caused hair strands to be missing in cases.
2010-12-23rename blenderlib to blender_add_libCampbell Barton
2010-12-22Bugfix, IRC, textures or displacement on metaballs didnt work.Ton Roosendaal
Commit 32361 from Campbell made quite a silly optimize mistake... ver->orco= orco+=3; Which is of course not: ver->orco= orco; orco+=3; Triple tsk!
2010-12-20Bugfix #25301Ton Roosendaal
Material Node trees: SSS wasn't displaying in Nodes. Implementation notes: - Currently copying local data for preview render, only copies the base material. Node materials are re-used. - This causes data to be in 2 "main" databases... complex. - To make it work for preview, I had to add another loop in the SSS code that checks the original Main dbase. That's marked as warning in code to be fixed up. Another bug: - Material properties "SSS presets" copied settings to the active material, not to the displayed one. Added RNA call to retrieve this from Objects. (Next commit will fix preset scripts)
2010-12-19Bugfix #25301Ton Roosendaal
Preview render for node shaders broke, caused by localizing materials last week, to prevent thread crashes. Fixed now. Also added a temp fix to draw color-management corrected node previews default. Will follow scene setting tomorrow. Also: SSS in nodes doesn't render yet. Was issue in 2.4 too...
2010-12-19Bugfix #25288Ton Roosendaal
SSS preview render didn't happy. Was caused by using a Material copy for preview renders (to prevent crashing in other cases). There were actually 2 errors: - material copy should be added to preview-main database - the render was invoked using wrong main database even!
2010-12-18Extreme makeover of pointcache code:Janne Karhu
* Pointcache code was quite ugly looking and complicated, so here are mostly just cosmetic adjustments, but some improved logic also. * Slight cleanup of pointcache ui too. * Shouldn't have any functional changes what so ever, so poke me right away if something seems off.
2010-12-17remove some paranoid NULL checks, since the pointers are used already.Campbell Barton
2010-12-17no functional changes: SETLOOPER macro assumed a scene was defined called ↵Campbell Barton
'sce' used to loop over, now make this an argument, helps to make it clear what's going on.
2010-12-17Bug fix:Ton Roosendaal
When compositing without render (Enable composite, no renderlayer nodes) the option Full Sample AA caused havoc. Added warning for this case and gracefully stop render.
2010-12-17Fix for [#25256] Particles with trailcount > 1 does not render if particles ↵Janne Karhu
system is baked to Disk Cache.
2010-12-16Bugfix #22794Ton Roosendaal
Panorama render is now border-render safe.
2010-12-16Bugfix #23658Ton Roosendaal
Render: Alpha calculated for ray-traced transparency could overflow beyond 1.0. Gets clamped now.
2010-12-14Bugfix #22040Ton Roosendaal
Old bug report: Image Editor, Painting: crash when texture was visible in Material or Texture preview. Was caused by paint code freeing mipmaps. Now replaced with a mipmap tag (to be done again), and a new mipmap function that doesn't re-allocate.
2010-12-14Fix for [#25198] Smoke gets shown before simulation startsJanne Karhu
* Smoke is now only drawn/rendered after the simulation frame range starts. * This does not apply to simulation end frame though, so that any remaining smoke can for example be faded away nicely through material settings.
2010-12-08UI Cleanup: Halo materials and texturesJanne Karhu
* Textures applied to halo materials showed influence option for normal particles. This was really confusing, and with the cleanup I revealed a couple of hidden features too! ** Particles actually allow for textures to change halo size and hardness, but my guess is that nobody knew since the names were wrong in the ui! ** I also added the option to change the "add" value with a texture, since it was just silly not to have it. * Halo material properties are also a bit cleaner now.
2010-12-08use lowercase for cmake builtin names and macros, remove contents in else() ↵Campbell Barton
and endif() which is no longer needed.
2010-12-07"Particle" texture coordinates for halo materials:Janne Karhu
* Particle age can now be used as the texture x-coordinate, and location in a particle trail as the y-coordinate. * This finally enables particles in 2.5 to change their color (or any other texturable material property) by their age. * In 2.4x this was accomplished with the "100 frames == particle age", but this was both non-intuitive and slow as the animation system had to be recalculated for every particle. * Currently these are 2d coordinates (age/lifetime == x-coordinate, trail particle index/number of trail particles == y-coordinate), but other particle properties or possibly even a user definable property can be added as coordinates in the future. * On the code side this uses the same coordinate definition number (for halo materials) as strand coordinates (for surface materials). This is also nice as they intuitively mean nearly the same thing, i.e. along strand or during particle life.
2010-12-07Bug fix: Halos didn't use texture alphaJanne Karhu
2010-12-06bpath iterator updatesCampbell Barton
- loop over sequencer plugin and texture voxel paths. - fix leak in python bpy.utils.blend_path() and use PyUnicode_DecodeFSDefault() to ensure correct paths with different encodings. - operators to make paths absolute & relative now redraw the view.
2010-12-05Fix part of #25040: rendering multiple scenes from compositing nodes didn'tBrecht Van Lommel
restore current scene properly afterwards.
2010-12-03Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for ↵Campbell Barton
'const char's,. Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
2010-12-03- added GCC warning -Wstrict-prototypesCampbell Barton
- fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute.
2010-12-03fix for some pedantic warnings.Campbell Barton
2010-12-02bugfix [#24913] Text bevel normals wrongCampbell Barton
error was introduced 33269, to fix [#24834]. this only reverts a small part of that commit, added note not to change this.
2010-11-30Add option for CMake to build libredcode, also use CODEC prefix for ffmpeg, ↵Campbell Barton
quicktime & sndfile options.
2010-11-29Fix [#20241] half-transparent objects in volume have no shadow.Matt Ebb
2010-11-29include headers in cmake source, added a script to check for consistency, ↵Campbell Barton
reporting missing headers & C files. this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.
2010-11-29Fix:Matt Ebb
[#24170] Camera inside volume error [#24838] Light inside Volume material drops on it's walls - it may be double Problem in a previous bugfix commit, reverted back, the original bug is still fixed too.
2010-11-28minor changes to the python api.Campbell Barton
- pep8 script was giving an error on non utf8 scons source files. - use PyList_SET_ITEM macro when list type is ensured. - all mathutils types use subtypes to create new types when available. - use defines MAT3_UNITY, MAT4_UNITY to initialize unit matrices.
2010-11-26Bug fix: voxeldata texture extension didn't work.Janne Karhu
* Code was using tex->extend instead of vd->extend.
2010-11-26Fix #24855: disabling shadows didn't disable AO/env with ray transparencyBrecht Van Lommel
and AO multiply mode.
2010-11-23Fix #24834: curves extrude + bevel gave bad normals on rendering.Brecht Van Lommel
This happened when removing vertex normal flipping in the render engine. But actually the normal of the first face in the curve was flipped on rendering, because it used a different vertex order than other places. Also removed the hack that computes a face normal only from a triangle instead of a quad.
2010-11-22Fix: 8bit raw and 'blender voxel' voxel data texture formats didn't support ↵Matt Ebb
relative paths
2010-11-21== Sequencer ==Peter Schlaile
* documented and rewrote the render interface of the sequencer. (now, the geometry / render_type / etc. settings are stored within a seperate structure called SeqRenderData that is passed within the code.) * that fixes * cache problems, since the caching system didn't keep track of proxy files vs. final renders. * is a necessary step, to bring back frame blending in speed effect (the SeqRenderData structure elements are already there) * will make motion blur render options available within the sequencer! * this patch also fixes: * "easy retiming" using speed effects. (in Blender 2.49, you could add a speed effect and resize the source track to retime it to that length) * adds labels for the Original dimensions for Image + Movie tracks (worked in 2.49, too)
2010-11-21- include pthreads for win32 globally (as with opengl).Campbell Barton
- MSVC CFLAGS were being set by only checking WIN32, (breaking non-msvc win32 builds)
2010-11-19Fix for [#23696] Receive Transparent produces shadows in diffuse passJanne Karhu
* Even Ton couldn't remember why that code was there, so problem solved by removing the code :)