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-01-11Longer names support for all ID and other object namesSergey Sharybin
This commit extends limit of ID and objects to 64 (it means 63 meaning characters and 1 for zero-terminator). CustomData layers names are also extended. Changed DNA structures and all places where length constants were hardcoded. All names which are "generating" from ID block should be limited by MAX_ID_NAME-2, all non-id names now has got own define called MAX_NAME which should be used all over for non-id names to make further name migration stuff easier. All name fields in DNA now have comment with constant which corresponds to hardcoded numeric value which should make it easier to further update this limits or even switch to non-hardcoded values in DNA. Special thanks to Campbell who helped figuring out some issues and helped a lot in finding all cases where hardcoded valued were still used in code. Both of forwards and backwards compatibility is stored with blender versions newer than January 5, 2011. Older versions had issue with placing null-terminator to DNA strings on file load which will lead to some unpredictable behavior or even crashes.
2012-01-05Code refactoring: split render result related functions into separate file.Brecht Van Lommel
2011-11-29Fix #29028: dupli objects missing speed vectors. Check for avoiding creation ofBrecht Van Lommel
speed vectors was checking object instead of object instance layer, which is the one that is actually used for render layer checks.
2011-11-18Camera: some code refactoring, use an intermediate CameraParams struct insteadBrecht Van Lommel
of long list of variables everywhere. Intention is to also let 3d view use this eventually, instead of duplicating code.
2011-11-13Ocean Sim modifier patchLukas Toenne
by Matt Ebb, Hamed Zaghaghi This adds a new Modifier "Ocean" to simulate large-scale wave motion. Details can be found in the wiki documentation [1], the project homepage [2] and the patch tracker [3] The modifier is disabled by default for now. To enable it, the WITH_OCEANSIM (cmake) / WITH_BF_OCEANSIM (scons) flags have to be set. The code depends on fftw3, so this also has to be enabled. [1] http://wiki.blender.org/index.php/Doc:2.6/Manual/Modifiers/Simulation/Ocean [2] http://www.savetheoceansim.com [3] http://projects.blender.org/tracker/?group_id=9&atid=127&func=detail&aid=28338
2011-11-07Merge with trunk r41625Miika Hamalainen
2011-11-07replace VECCOPY with copy_v3_v3, same for 2d copy, also added vec copy ↵Campbell Barton
functions for int & char.
2011-11-06more macro --> BLI math lib, mainly replace VECCOPY in render and blenkernel.Campbell Barton
2011-11-05Merge with trunk r41545Miika Hamalainen
2011-11-05macro formatting & remve some unused code.Campbell Barton
2011-11-04Configurable sensor size:Sergey Sharybin
- Added support of variable size sensor width and height. - Added presets for most common cameras, also new presets can be defined by user. - Added option to control which dimension (vertical or horizontal) of sensor size defines FOV. Old behavior of automatic FOV calculation is also kept. - Renderer, viewport, game engine and collada importer/exporter should deal fine with this changes. Other exporters would be updated soon.
2011-11-02RenderEngine: add .is_animation and .is_preview properties to detect if it'sBrecht Van Lommel
an animation or preview render that is being done.
2011-10-31Dynamic Paint:Miika Hamalainen
* Redesigned alpha blending and paint drying algorithms. Now it gives much better results when using low brush alpha or when surface has initial color set. * Fix: "Slow" dissolve/dry was scaled incorrect when using substeps. Also adjusted time to better match non-"slow" setting. * Fixed possible issues when using image textured brush. * Fix: particle brush panel was no longer visible since last commit. * Adjusted default surface values. * Some more code cleanup.
2011-10-28Merge with trunk r41342Miika Hamalainen
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-22Merge with trunk r41197Miika Hamalainen
2011-10-22Code refactoring: move external engine functions into own file.Brecht Van Lommel
2011-10-22Dynamic Paint:Miika Hamalainen
* Some changes and cleanup pointed on the codereview.
2011-10-17fix spelling mistakes in comments (and in some python error messages), ↵Campbell Barton
nothing to effect translations.
2011-10-04Merge with trunk r40782Miika Hamalainen
2011-09-28Fix #28728: volume precaching took a long time with many objects, changedBrecht Van Lommel
threading to no longer sleep 50ms for each object, using work queue now. Also it was showing SSS preprocessing while actually doing Volume precaching, fixed as well.
2011-09-24edits to internal renderer - no functional changes.Campbell Barton
- move some larger vars into a nested scope. - replace memset with zero initializer. - rempace VECCOPY macros with copy_v3v3 - change function args to give the float array length.
2011-09-20Merge with trunk r40409Miika Hamalainen
2011-09-17use const and array size in function definitions, no functional change.Campbell Barton
2011-09-12use vector size and const args where possible (no functional change)Campbell Barton
2011-09-12Fix for bug #28332: Smoke Simulation rendering artifacts.Miika Hamalainen
Volume pre-caching altered shared data simultaneously in multiple threads, causing invalid scattering results when "Asymmetry" value was used. The view vector is now passed as a function argument.
2011-09-11minor edits / cleanup - no functional changes.Campbell Barton
- use 'const float *' and array size in some function declarations. - replace macros for BLI_math functions INPF, VECCOPY, VECADD etc. - remove unused VertRen.clip struct member. - remove static squared_dist() from 2 files, replace with BLI_math function len_squared_v3v3(). - use vertex arrays for drawing clipping background in the 3D viewport.
2011-09-05Dynamic Paint:Miika Hamalainen
* Added "Initial Color" setting for surfaces. You can for example set color from UV mapped texture or from vertex colors. * Added clamping option for "wave" brushes. * Merged smudge and drip adjacency search code. This fixes some issues with drip effect and makes code easier to maintain. * Some adjustments to the bounding box generation code. * OpenMP is now completely disabled if no compile flag is set. * Wetness values are now properly clamped on vertex surfaces. No more black dots on >1.0 wetness. * Textured brushes now use same function calls as internal renderer, instead of modified duplicates. * Moved operator code to editors/physics/. * Re-enabled some particle brush optimizations. * Fixed sometimes incorrect volume brush influence. * Fixed possible crash when using a brush that uses "Voxel Data" texture simultaneously with material preview or render. * Fixed texture mapping issues for "Object Center" brush. * Fixed possible crash/corruption when duplicating brush object that uses color ramps. * Other tweaking and code cleanup.
2011-07-22Dynamic Paint:Miika Hamalainen
* Surface bake data is no longer recalculated every frame, but only when surface mesh has moved/transformed. Results in multiple times better performance on high resolution surfaces when using sub-steps or surface is still. * Heavily optimized particle brushes when random particle size enabled. Up to 10x speedup with large radius particles. * Added an additional "grid" space partitioning structure for surfaces. * Added bounding box checks for brushes. * Smaller overall optimization. * Further OpenMP parallelization. * Added physics tab link to modifier panel. * Fix: "Point Density" texture cache wasn't properly updated. Brushes can now use Point Density textures as well. * Fix: Paint dissolve resulted in black color. * Fix: KD-tree checkups weren't completely thread safe. Fixes possible crash with OpenMP enabled particle brushes. * Fix: When brush was set to use a specific material, it was saved incorrectly and resulted in potential crashes on next load.
2011-07-02Merge with trunk r38042Miika Hamalainen
2011-06-28RenderEngine API: add self.report() error reporting function for render engines,Brecht Van Lommel
works the same as for operators. Also includes some refactoring of render error reporting code to use ReportList.
2011-06-27Merge with trunk r37849Miika Hamalainen
2011-06-20since render branch isnt planned to be merged now, enable strict warning ↵Campbell Barton
flags for cmake and tag unused vars.
2011-06-16Merge with trunk r37546Miika Hamalainen
2011-06-11remove backbuf from internal struct's (unused in 2.5x)Campbell Barton
2011-05-24Applied Dynamic Paint 1.18f patch as a codebase for GSoC.Miika Hamalainen
2011-05-10minor cleanup: make functions static, use NULL for pointer comparisons,Campbell Barton
also fixed a possible bug assigning incorrect DPX function types to imbuf.
2011-05-01=trunk=Joseph Eagar
Made some improvements to the point density texture. Added support for tweaking the falloff with a custom curve. Also coded new falloff types based on the age or velocity of particles. Also added a test break check to the volumetric shade cache code, to avoid nasty hangups from the preview render (on render, exit, etc).
2011-04-30add back support for rendering local view camera.Campbell Barton
2011-04-02quiet gcc float -> double promotion warnings.Campbell Barton
2011-03-25Bugfix #26195Ton Roosendaal
When rendering, during processing scene data, drawing in 3d window is now locked. Can get extended to more areas in UI easily. At least this solves all crashes with conflicting memory access in render && 3d drawing. Deleting objects via operators or delete modifiers isn't locked yet. Also fixed: crash on quitting a renderwindow when it was rendering.
2011-02-27doxygen: blender/render tagged.Nathan Letwory
2011-02-24doxygen: some more license block fixes.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-22Bugfix #25967Ton Roosendaal
Node Materials: option "Front/Back" in geometry node failed for "full osa" case in ZTransp.
2011-02-06SVN maintenance.Guillermo S. Romero
2011-02-05Raytrace modifications from the Render Branch.Brecht Van Lommel
These should not have any effect on render results, except in some cases with you have overlapping faces, where the noise seems to be slightly reduced. There are some performance improvements, for simple scenes I wouldn't expect more than 5-10% to be cut off the render time, for sintel scenes we got about 50% on average, that's with millions of polygons on intel quad cores. This because memory access / cache misses were the main bottleneck for those scenes, and the optimizations improve that. Interal changes: * Remove RE_raytrace.h, raytracer is now only used by render engine again. * Split non-public parts rayobject.h into rayobject_internal.h, hopefully makes it clearer how the API is used. * Added rayintersection.h to contain some of the stuff from RE_raytrace.h * Change Isect.vec/labda to Isect.dir/dist, previously vec was sometimes normalized and sometimes not, confusing... now dir is always normalized and dist contains the distance. * Change VECCOPY and similar to BLI_math functions. * Force inlining of auxiliary functions for ray-triangle/quad intersection, helps a few percentages. * Reorganize svbvh code so all the traversal functions are in one file * Don't do test for root so that push_childs can be inlined * Make shadow a template parameter so it doesn't need to be runtime checked * Optimization in raytree building, was computing bounding boxes more often than necessary. * Leave out logf() factor in SAH, makes tree build quicker with no noticeable influence on raytracing on performance? * Set max childs to 4, simplifies traversal code a bit, but also seems to help slightly in general. * Store child pointers and child bb just as fixed arrays of size 4 in nodes, nearly all nodes have this many children, so overall it actually reduces memory usage a bit and avoids a pointer indirection.
2011-01-29new bumpmapping options for the rendererM.G. Kishalmi
oldbump -> original newbump -> compatible *new* -> default (3tap) *new* -> best quality (5tap) the latter two have an option to apply bumpmapping in viewspace - much like displacement mapping objectspace - default (scales with the object) texturespace - much like normal mapping (scales)
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-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.