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
2017-07-19Fix T52116: Blender internal BVH build crash in degenerate cases.Brecht Van Lommel
2016-10-08Fix a few compile errors with C++11 on macOS.Brecht Van Lommel
2016-08-09Attempt to fix previous commit for non-c++11 buildsSergey Sharybin
2016-08-09Fix for isfinite breaking builds when WITH_CXX11 is enabled.Lukas Tönne
This happens when cmath.h is included after math.h in cpp code. Kudos to Sergey for pointing this out.
2016-05-17C99/C++11: replace deprecated finite() by isfinite().Brecht Van Lommel
2016-03-05Cleanup: unnecessary comma useCampbell Barton
2013-03-08code cleanup: 0 --> NULLCampbell Barton
2012-11-12code cleanup: spelling,Campbell Barton
also initialize bmesh-bevel settings struct to zero to avoid possible uninitialized memory later.
2012-10-28style cleanupCampbell Barton
2012-10-23use min_ max_ functions in more places.Campbell Barton
also fix minor error in MOD decimate when the modifier did nothing the reported face count would be wrong.
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-20code cleanup:Campbell Barton
- define array sizes for functions that take vectors. - quiet some -Wshadow warnings. - some copy/paste error in readfile.c made it set the same particle recalc flag twice.
2012-09-16code cleanup: quiet warnings for gcc's -Wundef, -Wmissing-declarationsCampbell Barton
2012-05-17style cleanup: block commentsCampbell Barton
2012-05-15style cleanup: raytree codeCampbell Barton
2012-04-29style cleanup: whitespace / commasCampbell Barton
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-03-24style cleanup: follow style guide for/with/if spacingCampbell Barton
2012-03-09style cleanup: comment blocksCampbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-03-12Fix #26035: fix crash building raytree with inf/nan values in raytree. There'sBrecht Van Lommel
many different checks here, but I couldn't handle all cases in fewer lines.
2011-03-12Fix #26203: crash with empty raytree, all types should survive this now.Brecht Van Lommel
Also added a check for -inf/inf bounding boxes, just to be sure.
2011-02-27doxygen: blender/render tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
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-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-05fix for raytrace crash on scenes with very large objects, assert could fail ↵Campbell Barton
with really large numbers, instead return 0.0.
2010-04-15disable an assert, use a guess assignment instead.Joseph Eagar
2010-02-12correct fsf addressCampbell Barton
2009-11-10Math LibBrecht Van Lommel
* Convert all code to use new functions. * Branch maintainers may want to skip this commit, and run this conversion script instead, if they use a lot of math functions in new code: http://www.pasteall.org/9052/python
2009-10-06Some more compile fixes for jaguarandi's commit, this time for msvc+sconsJoshua Leung
* Replaced ... = {}; with ... = {0}; * Solved problem with logf(), where msvc couldn't figure out which version of log() to call (solved by casting the int argument to a float, but could also have been to double)... * The cflags and cxxflags for scons when compiling the rendering module were only valid for gcc compiles. These will still need to get added for msvc sometime, but for now, there are no more warnings about unknown options...
2009-10-04Added some test_break during the build process.Andre Susano Pinto
(Maybe later this should be done with some thread_cancel function instead of doing variable/callbacks tests)
2009-09-06*introduced new method for packing/optimizing trees after buildingAndre Susano Pinto
(this is a generalization of some of the experimental stuff i tried during SoC, but only had time to improve a few days ago) - it should yield slightly better results - the cost model can somehow be tweaked to optimize for diferent trees. *cleaned up some code *added counters for number of SIMD BB tests *added GPL license block on missing files
2009-08-04single tree (by default)Andre Susano Pinto
now that build is nlogn (it should be worth to the tree of trees)
2009-08-03NlogN building:Andre Susano Pinto
sort once select subsets and kept the order (on X, Y and Z)
2009-08-02changed to STL sortAndre Susano Pinto
2009-07-15Just another experimental stuff to optimize the expected number of BB test ↵Andre Susano Pinto
on bvh trees *tree pushdowns after the pushsups :P (its still not local optimum)
2009-07-12*Moved rtbuild to bf_render_raytraceAndre Susano Pinto
*Added vbvh - Just a experimental tree type :) Variable Way BVH - there is no hardcoded number of childs per each Tree Node - idea is to optimize a tree to reduced the expected number of BB tests even after applying SAH (for that an hardcoded n-way is not enough) - for now childs are stored on a linked list