Commit Graph

1658 Commits

Author SHA1 Message Date
2777ba74b0 remove include paths which dont exist, fix for doc upload script which was getting the blender version twice and not working sometimes. 2010-10-27 13:52:12 +00:00
7b8db3fab7 [#24414] Render hanging on small render border.
large render sizes could cause an the threaded tile processor to hang because winx * winy wrapped into a negative value.
also convert winx/winy to floats before multiplying for vector passs.
2010-10-27 10:36:22 +00:00
27b527c164 Fix [#23972] 2.54 beta crashes when rendering scene with many volume objects
Sticky-taped on more hacks to the already crumbling shading system.
2010-10-27 02:18:24 +00:00
c7ff23cc34 Added CMake macro REMOVE_STRICT_FLAGS(), this means developers can build with -Werror in their CMAKE_C_FLAGS_DEBUG (so all warnings give errors).
but external libs which we don't maintain & generated code will have -Werror removed.

This is GCC only, MSVC can be added easily.
2010-10-24 03:57:07 +00:00
2d9be2226a warning fixes. 2010-10-23 16:03:31 +00:00
c6976e7351 use explicit file paths for CMake rather then globing, This is recommended by cmake devs.
globbing vs explicit is discussed here.
http://www.cmake.org/pipermail/cmake/2008-December/025694.html

Practical implications are:
- developers need to keep CMakeLists.txt files up to date.
- Users wont get strange linking errors if they build after a file is added, since CMake detects CMakeLists.txt is modified and automatically reconfigure.
2010-10-23 04:05:55 +00:00
3161622f4c Fix for [#24361] Only first frame is working with glow in Render Animation using Video Editing - Effect - Glow 2010-10-22 22:31:40 +00:00
cfcf82803a Temporary fix for sequencer bugs #22925, #21429, #21783, #24165
* This fix is really only a bandage, as the underlying issue is that sequencer preview render doesn't yet use the job system.
* The sequencer preview can start a full render of the scene, and this can collide with other preview/actual renders in many cases.
* Drawing the sequencer preview is now disabled when an other render is in progress, but the sequence preview rendering could have already been started before the other render, so this doesn't really fix anything.
* For now only OpenGL rendering can be used for the sequencer preview reliably until it's reimplemented using the job system.
* Using the job system in the future can handle the clashes between different renders properly and will give users a nice progress bar to indicate something is happening while the preview is recalculated.
2010-10-21 17:00:38 +00:00
94aa87dd62 Fix for [#24293] Shadow pass is wrong
* The problem is that shadow pass is derived from the diffuse pass as
  shad = shad'/diff, where shad' = shad*diff. In cases where diff is
  0 and the division can't be done shad is left as shad' (=0).
* This all works just fine until the diffuse color is 0 on just one
  channel (no red in material color for example). In this case the shadow
  pass is left as 0 too regardless of the existence of an actual shadow,
  so the end result is a colored shadow!
* The only real solution is to use the original shadow intensity to
  determine if there actually is a shadow or not. This is now stored in
  shr->shad[3] from the lamp shadow calculation.

Note: The best solution would probably be to calculate the shadow pass on
it's own and not to derive it from the diffuse pass, but I didn't dare to
start messing up the shading code totally.
2010-10-19 16:10:30 +00:00
4d37cf90b9 remove G.sce, use G.main->name instead.
Both stored the filename of the blend file, but G.sce stored the last opened file.
This will make blender act differently in some cases since a relative path to the last opened file will no longer resolve (which is correct IMHO since that file isnt open and the path might not even be valid anymore).

Tested linking with durian files and rendering to relative paths when no files is loaded however we may need to have some operators give an error if they are used on the default startup.blend.
2010-10-18 06:41:16 +00:00
7d10ad012d fix for bad use of UNUSED() with win32 & some other minor error checks. 2010-10-17 08:59:23 +00:00
30b79ddcc6 - fixed remaining unused warnings.
- omit render code from this warning (cmake only), until render branch is merged.
- moved -Wunused-parameter warning to apply to all C code in blender (not just ./source/blender), (cmake only).
2010-10-17 06:38:56 +00:00
8268a4be71 most unused arg warnings corrected.
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating).
- mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-10-16 14:32:17 +00:00
e5fbd93cec editors/space_* build without unused args warnings 2010-10-16 08:03:28 +00:00
db09ca106d remove/tag unused args for view*.c, gpu*.c & image*.c 2010-10-15 12:29:02 +00:00
fbf208d63f add UNUSED() to modifiers, also removed some unused args. 2010-10-14 06:29:17 +00:00
7ef6836be4 bugfix [#24144] Small problem with texture (r32316)
an extra pixel was being drawn on a tiled image texture.
2010-10-12 08:32:53 +00:00
Nathan Letwory
737bc66f2a Add note about Inv Quad falloff of lamp that there seems to be a hack in use. 2010-10-11 09:52:25 +00:00
8a4fe62843 misc fixes found with clang's static checker. 2010-10-07 10:04:07 +00:00
352fbb1549 remove unused vol_get_density() call. 2010-10-06 14:53:13 +00:00
61d23ff95b minor edits so traceray() uses less stack memory, also remove memset() usage, initialize as {0}.
no functional change.
2010-10-06 14:47:40 +00:00
3716e6a176 Fix #24097: halfway shadow buffer rendererd incorrectly with spot halo. This
trick can't work with any volumetric effect, so disabled it in case halo is
enabled.
2010-10-02 10:39:53 +00:00
02fd98e1cf Fix #23170: multithreaded texture baking could give wrong results with margin,
with some threads not writing the margin mask.
2010-09-23 21:38:01 +00:00
f88ad3f048 bugfix [#23595] Texture paint with a node based brush produces artifacts
also changed displace modifier not to link object depgraph when not using object texturespace.
2010-09-23 12:03:34 +00:00
aff24bdc07 Fix error in normal flipping commit, that showed wrong result especially
with ray transparency + normals pointing away from the camera.
2010-09-20 19:57:14 +00:00
2ae4b2b687 bugfix [#23906] Cloud generate/degenerate crashes renderer 2010-09-20 02:53:39 +00:00
9b518710c6 update for MingW/CMake
- 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-09-15 16:13:32 +00:00
00e71bd955 Compile fix 2010-09-07 10:31:47 +00:00
ea95d71067 bugfix [#23189] Num-0 swtich to Camera view and back doesn't respect UserPerspective view.
also fix for recent cmake edits.
2010-09-07 09:15:59 +00:00
2406ebe1a4 - added back zlib include (needed for win32).
- use list append in more places.
- remove non existing include dir.
2010-09-07 01:13:10 +00:00
a8269c8946 SVN maintenance. 2010-09-03 03:30:20 +00:00
77b7ba0bfb fix for dark images from the sequencer when color management is disabled.
the render engine assumes the RenderResult's rectf is not in linear color space when color management is disabled so the sequencer and opengl render need to follow this else it results in dark images.
2010-08-26 09:12:10 +00:00
6464718083 rename some cmake build targets 2010-08-24 04:29:23 +00:00
a91d538f47 - commit that removed MEM_guardedalloc.h includes broke building with SSE enabled.
- all C/C++ files in blender are now utf8 compatible.
2010-08-16 09:24:18 +00:00
d1759639dc - remove unused includes IMB_*, BIF_* & MEM_*
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-16 05:46:10 +00:00
0738ae7688 2.5: more removal of G.main. 2010-08-13 14:23:44 +00:00
e81df3a6fa Fix #23238: crash rendering multiple scenes from compositor. 2010-08-12 13:58:10 +00:00
95aa8cfa4a Update address in license block. 2010-08-10 21:22:26 +00:00
5784b95823 Fix #23167: halo "texture" option did not take disabling of the texture
into account.
2010-08-06 16:59:19 +00:00
463c3b5cf7 Fix #23204: render disconnected hair with child particles could crash. 2010-08-06 15:31:35 +00:00
7a55728b40 Fix crash in point cache baking due to my recent changes. 2010-08-04 08:58:38 +00:00
d50cc7826f == Makefiles ==
* 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-08-04 08:42:18 +00:00
957976882d build options to disable image formats WITH_CINEON, WITH_HDR.
- updated cmake, make & scons.
- renamed CMake build options WITH_TIFF -> WITH_IMAGE_TIFF, same for DDS, OPENJPEG etc.
2010-08-03 11:25:34 +00:00
940d1dcd0a remove commented scons lines from cmake files, fixed use of pointer poll function for ID drobdowns (currently unused) 2010-08-03 08:12:55 +00:00
9b006d6d00 Fix preview render crash after recent G.main changes. 2010-08-01 20:36:24 +00:00
f3cca3e192 2.5: more G.main changes. 2010-08-01 12:57:01 +00:00
5fa7d1c1b4 2.5: code changes to reduce the usage of G.main and pass it along
or get it from the context instead.
2010-08-01 12:47:49 +00:00
5251a9b3bf 2.5: remove vertex normal flip option, this is more harmful than helpful
in many cases, and also gave incorrect rim lighting.
2010-07-30 11:50:00 +00:00
25762f4945 Fix weird colours in areas of high transmission when camera inside a volume. 2010-07-29 07:22:43 +00:00
2a3c1a4cf3 Fix #22964: incorrect derivatives for global texture coordinates, showed up as
artifacts in bump mapping.
2010-07-28 11:10:56 +00:00