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-14tag unused function args in raytrace code.Campbell Barton
2011-12-23Code cleanup: fix some clang static checker warnings.Brecht Van Lommel
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-17fix spelling mistakes in comments (and in some python error messages), ↵Campbell Barton
nothing to effect translations.
2011-09-25whitespace cleanupCampbell Barton
2011-09-16replace macros with math lib functionsCampbell Barton
2011-04-29spelling corrections.Campbell Barton
2011-04-10quiet msvc/mingw compiler warnings.Campbell Barton
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-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-30remove nan-makefilesCampbell Barton
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-05Fix #23604: external shadows for volume materials don't workBrecht Van Lommel
2010-10-23warning fixes.Campbell Barton
2010-09-15update for MingW/CMakeCampbell Barton
- ignore MSVC warnings when FREE_WINDOWS is defined to quiet warnings. - the CMake flags were not being set correctly making blender have weirdo colors (no -funsigned-char).
2010-08-16- commit that removed MEM_guardedalloc.h includes broke building with SSE ↵Campbell Barton
enabled. - all C/C++ files in blender are now utf8 compatible.
2010-08-16- remove unused includes IMB_*, BIF_* & MEM_*Campbell Barton
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-04== Makefiles ==Stefan Gartner
* add support for LCMS (disabled by default, set WITH_LCMS to true to enable it) * fixed typo that prevented TIFF support to be properly enabled * enable ray optimization by default (scons and cmake already did this) * fixed building with libsndfile on darwin (disabled by default) * quicktime: use audaspace headers from $(NAN_AUDASPACE)/include instead of intern * gameengine: add -DWITH_FFMPEG to compiler flags when building with ffmpeg support
2010-07-20- correct some spelling errors.Campbell Barton
- remove FreeCamera struct (wasnt used) - remove world color alpha values (not used anywhre).
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-04-15Merge various small changes from render branch:Brecht Van Lommel
* Division by zero fix for TNT SVD code. * Sound fix, in case ffmpeg decode fails, don't use the samples. * Fix for incorrect bounds of transformed objects in new raytracing code. * Gave memory arena's a name used for allocations for easier memory usage debugging. * Dupligroup no_draw option was using layers but not restrict view/render setting. (not a bugfix exactly but would do display list context switching while drawing for no reason). * Fix objects instanced on hair particles not giving consistent results when the object is transformed. * New math functions: madd_v4_v4fl, len_squared_v3v3, interp_v4_v4v4v4, mul_v4_m4v4, SH and form factor functions, box_minmax_bounds_m4. * mul_m4_m4m4 and mul_m3_m3m3 now accept the same pointers for multiple arguments. * endjob callback for WM jobs system. * Geometry node uv/color layer now has search list/autocomplete. * Various small buildsystem tweaks, not strictly needed yet in trunk.
2010-03-30* Multiply for panorama camerasBrecht Van Lommel
* Some cases of struct name being set where it shouldnt have been. * Spelling: wich --> which * Copy and initialize uv modifier scale, remove unneeded enum. * Ability to pin any object into the context. * Update uv window while transforming (useful when used with UVProject modifier) * Patch by Wahooney, so new template's are internal text and dont get saved over by mistake. * Fix for https://bugzilla.redhat.com/show_bug.cgi?id=572186 Bug 572186 - [abrt] crash in blender-2.49b-5.fc12: Process /usr/bin/blender.bin was killed by signal 6 (SIGABRT). Original fix submitted by Jochen Schmitt. * [#21816] bpy.data.add_image has stopped working on Windows. moved to bpy.data.images.load(), missed this call. (commits 27726,27825,27828,27831,27832,27833,27834,27836,27837,27838,27839,27858 by Campbell from render25 branch)
2010-03-30* Assign weight from bones in weight paint mode now respects paint faceBrecht Van Lommel
mask, also avoid making vertex groups if they will not be filled. * Add back image pin option in image editor header. * Fix deep shadow not respecting Cast Buffer Shadows option. * Tangent space normal map baking should work again now. * Fix a problem with particle duplis, due to own bugfix for #20350, the problem for that seems to be in dupliverts, not particles. * Fix external multires data link getting lost on exiting editmode. (commits 27776,27777,27830,27840,27841,27862 by Brecht from render25 branch)
2010-03-07fix for using an un-initialized pointer & quiet compiler wanring on raytrace ↵Campbell Barton
test.
2010-02-12correct fsf addressCampbell Barton
2010-02-08Warning fixes, one actual bug found in sequencer sound wave drawing. AlsoBrecht Van Lommel
changed some malloc to MEM_mallocN while trying to track down a memory leak.
2010-01-12Raytrace: only print debug info when running with -d option.Brecht Van Lommel
2009-12-17Some fixes to get blender compiling on solaris.Kent Mein
Kent
2009-12-05* provide SCons support to enabling jaguarandi SIMD raytracer optimizations ↵Nathan Letwory
for real :) Until now only SSE switches were defined, but to really enjoy the SIMD structures, the __SSE__ define needs to be given. This can now be done with setting in your user-config.py WITH_BF_RAYOPTIMIZATION=True (or WITH_BF_RAYOPTIMIZATION=1 on command-line)
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-20Bugfix: raytracer building could crash (abort due to an assert), whenBrecht Van Lommel
using for example a text object scaled down to size zero. This was due to nan's generated through division by zero.
2009-10-19Get 2.5 trunk to compile. this C++ code failed for gcc 3.3.Ton Roosendaal
Error log: /usr/include/gcc/darwin/3.3/c++/cmath: In function `float std::ceil(float)': /usr/include/gcc/darwin/3.3/c++/cmath:175: error: parse error before `(' token /usr/include/gcc/darwin/3.3/c++/cmath: In function `float std::floor(float)': /usr/include/gcc/darwin/3.3/c++/cmath:249: error: parse error before `(' token /usr/include/gcc/darwin/3.3/c++/cmath: In function `float std::fmod(float, float)': /usr/include/gcc/darwin/3.3/c++/cmath:267: error: parse error before `(' token
2009-10-13Fix [#19602] Rayshadow that goes through transparent plane disappearsAndre Susano Pinto
(some bugs may show on other places if some of the code isnt prepared to handle non-normalized is->vec)
2009-10-10Fix #19571 (reported by Markus Ilmola):Andre Susano Pinto
Added missing callbacks. Was leading to crashs when the raytree was empty.
2009-10-08Fixed #19571Andre Susano Pinto
(was crashing when building a raytree from a scene withouth any geometry)
2009-10-06Add raytrace subdir to Makefiles.Guillermo S. Romero
The makefile is a copy of the source one, not tuned, just to unbreak build. This raises some questions: why separate dirs? why each build system takes a different approach (different libs vs all source files into one)?
2009-10-06Last fix still failed to link under mingw.Andre Susano Pinto
This time it works! (gcc and mingw can handle compile and link)
2009-10-06*Added memset's to make sure counters start on zeroAndre Susano Pinto
*Disabled ray counter (can be enabled on render/extern/include/RE_raytrace.h by commenting out the define) *marked bvh_node_merge() as static inline (hopping it now compiles on gcc and mingw)
2009-10-06One last try - this should fix the remaining issues:Joshua Leung
* Made bvh_node_merge() in svbvh.h static (fix suggested by jaguarandi). This makes mingw link again. * Also, patched my previous fix for ... = {}; since mingw didn't like the other fix (which was for msvc).
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-06Attempts at some compile fixes for jaguarandi's code:Joshua Leung
* mingw almost compiles again cleanly, except for a linking error when linking blender http://www.pasteall.org/8297 * win64 should compile again too to a similar degree? * silenced warnings about no newlines...
2009-10-06Added #ifdef __SSE__ so it can still build when SSE is disabled at compile timeAndre Susano Pinto
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-10-01*Updated UI options and added UI options to:Andre Susano Pinto
control whether instances are used or not control whether vertexs are stored localy or not *Removed unsused code