Commit Graph

3051 Commits

Author SHA1 Message Date
f3c3da530c Fix for bug #8963: area light + cubic shading became darker
for values > 1.0, luckily for peach this bug was not present
for other light types.
2008-04-19 21:58:11 +00:00
d00a0e56f6 fix for [#8236] Lens Change by driver won't update in 3d View
Lamps would not update either.
2008-04-19 02:19:46 +00:00
981d380fc4 This is an expanded patch of this:
[#8067] external texture plugin thread-safe modifications
Submitted By: David Anderson (davywavy)

It makes it so the "result" array is passed in, instead of a global var.
I expanded the patch so it will play nice with older plugins  that are not
thread safe as well.

I also updated the existing plugins in the release, so they are thread safe.

---------------  What do people think of this.... ------------------
This should maybe be talked about in the functionality board or something,
but what do people think of adding in default texture/sequence plugins.
or making a seperate tree like lib for plugins.

The reason I ask is we have had a couple of upgrades to the plugin system.
(supporting float buffers for sequencer, and this one for textures)

http://www.cs.umn.edu/~mein/blender/plugins does not store revisions of 
plugins I just make sure they work with the latest version.  This is
getting messy.  I haven't upgraded a lot of them to use floats (I know,
I'm lazy, and now this will also make modifications to the plugins)
It would be nice to have some of the standard ones under revision control.

We also seem to be having an explosion of platforms supported.  It would
be nice to have platform maintainers compiling plugins as well for releases.
(Its getting to be more work for me to keep up with things...)

I'll go back to my corner now and be quite. ;)

Kent
2008-04-18 19:10:03 +00:00
13b9b0ae03 Fix for bug #9075: the crash with stars rendering was not
completely fixed yet.
2008-04-17 12:11:15 +00:00
Chris Want
5d0a207ecb Patch from GSR that a) fixes a whole bunch of GPL/BL license
blocks that were previously missed; and b) greatly increase my
ohloh stats!
2008-04-16 22:40:48 +00:00
68418a9bce Fix for bug #9017: crash in stars rendering. 2008-04-16 09:08:02 +00:00
0b8b4369c9 Patch #8034: "soft" option for halos, which avoids ugly intersections
with geometry, and makes halos look more volumetric.

Patch contributed by Markus Ilmola, thanks!
2008-04-14 19:48:14 +00:00
7eb1b45281 Fix for bug #7903 and #8960: arealight giving black borders and not
working correct with translucency. Removed a check that presumably
is an optimization, but can't work correct and also gives no noticable
performance difference in my tests.
2008-04-14 15:40:32 +00:00
6da7b60cd3 Attempted fix for bug #8349: QMC raytracing being very slow on some
computers, probably due to slow multithreaded malloc. Now each render
thread keeps a list of qmc samplers that it fills as needed while
rendering (since it is hard to predict the actual amount needed in
advance due to ray recursion).
2008-04-14 10:14:59 +00:00
d0d4604dad Fix for bug #8927: halo blending with solid has poor antialiasing,
which as far as I can see is an old issue, but with FSA it is quite
simple to do better.
2008-04-12 21:44:08 +00:00
f8d1bc8ee7 Fix for bug #8463: object texture mapping for duplis was changed to
act as if the object was in its original position, instead of being
different for all instances. However, this is desired behavior in
some cases and so breaks compatibility. Now it only does the new
behavior when enabling the "From Original" option.
2008-04-12 18:44:03 +00:00
f810245076 Fix or bug #8712: transparency + sss gave too bright results. 2008-04-12 16:31:29 +00:00
4574dbea98 Bugfix: crash with strand surface AAO and layer ipo's. 2008-04-03 00:40:53 +00:00
eec6454335 Fix for #8806: strand shadow bug, only showed up on windows. 2008-04-01 21:07:32 +00:00
0efe0aa27b Bugfix: world exposure and range settings were applied twice to SSS materials. 2008-03-31 20:02:27 +00:00
73ca8a6fbf with displacement baking, white should be high 2008-03-29 15:16:33 +00:00
e7651c53c3 baking normals could crash in rare cases because the intersection data wasn't copied when the lambda was bigger then the previous or initialized.
python baking script had a simple error.
2008-03-27 16:28:21 +00:00
c2ae2b51cf Fix for bug #8769: SSS materials were sometimes not rendered with nodes
due to recent bugfix.
2008-03-27 11:44:36 +00:00
2af78ac944 Fix for bug #8750: depremul in the image texture code should check
with an epsilon rather than 0.0f, could give random spots otherwise
with e.g. calcalpha + negalpha.
2008-03-26 15:25:56 +00:00
ba1f58ea73 Fix for bug #8747: normal map tangents didn't work correct with
splitting of non-flat quads.
2008-03-26 14:58:34 +00:00
4a6d75af27 added support for linux on pa-risc 2008-03-23 12:59:26 +00:00
4e8f06604f This commit disables fix for revision 14202 effectively.
The claim was:
Bugfix: don't do full sample merging on re-rendered layers in
the compositor.

But result was that rendering didn't happen at all for scenes
with a composite.

I also don't understand the commit, seems like it's incomplete?
2008-03-21 22:26:26 +00:00
c49316a9eb Bugfix: don't do full sample merging on re-rendered layers in
the compositor.
2008-03-21 17:37:24 +00:00
b04c58c81a Bugfix: image texture with texface would not render sometimes, wasn't
setting image user correct. Also found that this texface rendering was
not threadsafe for > 2 threads.
2008-03-17 12:27:17 +00:00
2004e08964 Fix for bug #8565: bug rendering tangent space normal map on
solid faces, caused by recent commit to solve spikes problem.
2008-03-15 16:29:49 +00:00
8e126216b0 added mesh.getTangents() to the python api 2008-03-14 18:53:51 +00:00
fcdf2d694f Fix for bug #8555: geometry node front/bake was broken.
Fix for bug #7418: texture ipo's didn't show for textures in node materials.
Fix for part of bug #6758: node materials in other node materials could
miss texture coordinates.
2008-03-14 18:08:27 +00:00
3f9f89fc18 Bugfix: baking selected to active did not include materials with
Traceable disabled.
2008-03-14 10:56:09 +00:00
93f8961cdb Bugfix for cloth vectorblur (back to normal) 2008-03-14 01:07:09 +00:00
abc79af975 Fix for bug #8437: white borders in envmap reflection, cause was
change in imagewraposa that de-premuls colors, while envmap code
was expecting premultiplied colors.
2008-03-13 15:55:35 +00:00
4d3c9e88ed Fixing compiler wanring 2008-03-13 14:38:29 +00:00
89247a96e9 Fix for bake texture antialiasing commit, AO with constant jitter
didn't work. Also fixed a warning.
2008-03-13 14:36:17 +00:00
2c937f0769 Fix for bug #8502: AO was being computed unnecessarily if it was
excluded from the combined pass and the AO pass was disabled.
2008-03-13 09:58:21 +00:00
691e2d5ca8 Temporary bugfix [#8474]: Smaller fluid objects had no velocity assigned for vectorblur usage. All zero elements now get the average velocity assigned. I tried to fix the real source - but that seems to be somewhere in the fluids code not reachable by me 2008-03-13 01:24:59 +00:00
598e075717 Baking now does material texture anti-aliasing if the OSA button is
enabled, result of that is mainly visible for image textures.
2008-03-12 20:22:05 +00:00
33a6bf610e Cloth bugfix for 1. reset of cloth sim during render with vector blur when cache was not protected, 2. fix of bad vector blur for cloth, put fluidsim like function in to get real speed vectors 2008-03-12 01:42:39 +00:00
7f6889a63b Bugfix: render instancing didn't work correct with layer ipo's,
each instance should have it's own layer.
2008-03-11 12:29:59 +00:00
2563733a5d stupid mistake for setting the bake mask (only masked half the faces), also exposed a possible bug since the malloc and null checks were done without mutex locking. 2008-03-10 20:58:53 +00:00
2299f0d946 masked/alpha baking commit was missing a null check for imbuf,
made textures also bake alpha
2008-03-09 18:06:48 +00:00
027277fce0 * Bakeing fix for apricot, stop pixels being extended for parts of the image that are not being baked (useful for multiple objects)
* Added support for baking alpha, as well as extending alpha margins.
2008-03-08 21:35:38 +00:00
5b3dc15880 Normal map tangents are now not always averaged at vertices anymore,
but only when the UV's are connected. That fixes some artifacts when
baking and using tangent space normal maps. It does mean increased
memory usage because it now stores 4 tangents per face like UV's,
and increased processing time, but there's no simple way around that.
2008-03-07 15:38:56 +00:00
e179b3d98e FSA fix:
If you composite using multiple scenes, the "use FSA" button had to be set
or disabled for each scene. Now you can just set/disable FSA for the scene 
that does the compositing. You can only disable FSA in other scenes if it 
was set before though.

(Any understands these lines? :)
2008-03-06 19:26:44 +00:00
94f8db96d9 Bugfix: shaded mode or baking could crash, didn't always create
memarena but it's being used now in more places so needs to be
created always.
2008-03-05 17:19:57 +00:00
f975d29704 Restored code from over a year ago, tests to allow anti-aliased
shadowbuffers. At the time the results were not satisfying enough,
but we now suffer a shadow problem that might well be solved with
this feature.

Problem:
Temporal aliasing of shadowbuffers when small details move (like strands).

In this case it doesn't work to simply increase the shadowbuffer size,
because strands are pixel-sized. Huge shadowbuffers make strand shadows
almost disappear. So... the shadowbuffer resolution has to be not too high.

Instead of increasing the buffer size, we then create multiple buffers,
each on different subpixel positions (a bit like "FSA" :).

So! Shadowbuffer sampling then works as follows;

1) You take multiple samples in the shadowbuffer, on different locations
   inside (or around) the rendered pixel. 
   That option was aready available as "Samp" button in Lamps

2) Set amount of sample buffers. It is default 1, but can be 4 or 9.

The results of setting it to '4' or '9' buffers you can see here:
http://www.blender.org/bf/filters/index3.html

Actually, deep shadowbuffers could solve it probably too! Anyhoo...
2008-03-05 10:03:31 +00:00
4ba2162e63 Bugfix: the shadow samplenr increment to reuse shadow results in
the renderer could lead to results being reused for unrelated
points, result was one wrong pixel or strand per part. Now instead
of setting the sample counter to 0 multiple times, it keeps a global
counter per thread for the whole render.
2008-03-04 19:58:22 +00:00
b26a767923 Bugfix: displacement with object texture mapping could crash. 2008-03-03 18:53:06 +00:00
27c9fb7c6b Fix for bug #8410: dupliframes didn't render. 2008-03-03 17:16:29 +00:00
cffb9551db Fix for bug #8403: a radiosity render crash. 2008-02-29 16:52:46 +00:00
95b0176fde Fix segfault when save the render with Multilayer format.
The RE_WriteResult function don't call BLI_make_existing_file
like BKE_write_ibuf, so if you append a directory to the output
path and it don't exist, the exr_begin_write fail to create
the file and blender crash.

Note that this is only 1 line of code and don't touch
anything in the render code.
2008-02-29 15:36:24 +00:00
34fbc56c1c Fix for bug #8357: metaball rendering + radiosity was broken. 2008-02-28 18:54:25 +00:00