Campbell Barton
963b1c1b16
fix for own commit r54806 with argument order and multisampling.
2013-02-24 10:50:33 +00:00
Campbell Barton
630a31a900
fix for fullscreen on X11 (used by the BGE, not blender application),
...
changing the screen resolution wasn't still allowed for larger virtual desktops.
added an exclusive option to ghost so the fullscreen window is ignored by the window manager and we get all events. (common practice for games on X11).
2013-02-24 05:05:29 +00:00
Campbell Barton
c42b51ed96
GHOST/X11 - free memory allocated by XF86VidModeGetAllModeLines(),
...
Comment from Zr says this crashes but looks like this was because there was no check if the function failed to allocate to begin with.
2013-02-23 23:15:38 +00:00
Sergej Reich
c82213359a
rigidbody: Add motor constraint
...
It's implemented as a separate constraint instead of adding properties
to the existing constraints.
Motors only apply linear and angular impulses and don't limit the
movement of rigid bodies, so it's best to use them in conjunction with
other constraints to limit the degrees of freedom.
Thanks to Markus Kasten (markus111) for the initial patch.
2013-02-23 23:04:07 +00:00
Campbell Barton
233b69f0bd
GHOST/X11 support for frequency, from SDL's mode switching.
...
also free the modes when done.
2013-02-23 22:48:16 +00:00
Alexander Kuznetsov
5f830a0863
Applying patch #33709 for dead keys on windows.
...
Thanks Harley Acheson!
2013-02-22 16:42:19 +00:00
Alexander Kuznetsov
7ae17e9ed4
Fix for windows size on win32
2013-02-22 15:57:50 +00:00
Gaia Clary
b30bdd5cb6
Fixing typos
2013-02-22 09:31:42 +00:00
Dalai Felinto
1cdaf1e329
bge bugfix: [ #18967 ] alpha value is never available in the color buffer by Campbell Barton (X11) and me (Win32)
...
This is and old patch (June, 2009). The reason it never made into trunk it's that we (me at least) thought that
it should be optional, as a ui or command-line option.
However, it seems that OSX always have the OpenGL context with alpha enabled. So I think it's consistent to
have the other OSs to follow.
The main usage of this is the BGE (or more specifically people using BGE for TV broadcasting) but I think
pydevs can have their share of fun with it in Blender as well.
2013-02-22 07:37:17 +00:00
Thomas Dinges
51f22e639e
Code cleanup:
...
* Cycles: Removed leftover include of "kernel_qbvh.h", which was removed in r51352.
2013-02-21 21:05:31 +00:00
Campbell Barton
091d86b9cb
style cleanup: 'sizeof foo' --> 'sizeof(foo)', add check in style checking script.
2013-02-21 17:18:27 +00:00
Thomas Dinges
d4c97029ef
Cycles GPU Rendering:
...
* Make Cycles aware of sm_35 (Tesla K20, GeForce GTX TITAN).
The CUDA Toolkit 5.0 is needed for that and this is not officially used yet, but people with access to such cards can start testing. (just build sm_35 kernels).
2013-02-21 17:16:32 +00:00
Thomas Dinges
dc90ce5b6d
Cycles GPU rendering:
...
* Deprecate computing capability 1.3 (sm_13)
This commit disables auto build of sm_13 CUDA platform, which means that starting with Blender 2.67, we don't support sm_13 devices anymore. It has become difficult to support that and it was already feature incomplete (no render-passes, AO, Multi Closure etc).
It's still possible to manually enable sm_13 for own tests, but building might break in the future.
2013-02-21 17:14:07 +00:00
Thomas Dinges
a239700f43
Cycles:
...
* Code cleanup, remove deprecated support_advanced_shading() functions. Left over from r43734.
2013-02-21 17:10:14 +00:00
Thomas Dinges
3df2b93c6d
Cycles Addon:
...
* Code cleanup
2013-02-21 17:08:13 +00:00
Brecht Van Lommel
4c287f1d4d
Fix shadow pass issue with non-progressive render shadow pass with emitting
...
meshes and world MIS.
2013-02-20 12:10:05 +00:00
Campbell Barton
c3b96f33af
internal: add include so blender builds against libpng1.6
2013-02-19 15:15:34 +00:00
Campbell Barton
0528162eb6
patch [ #34320 ] Cross compiling with mingw-w64 on ubuntu
...
from Martijn Berger (juicyfruit)
applying since this is only corrects header case which is ignored on windows anyway.
2013-02-19 12:05:38 +00:00
Brecht Van Lommel
313dfbe35d
Add some more detailed CUDA error prints to try to debug #34166 .
2013-02-15 14:54:11 +00:00
Sergey Sharybin
bd1c6571c9
Fix #34205 : Zooming in rendered mode during update out of sync with intended zoom
...
Yes, again.
There's some t within which reset is not allowed. This is so no reset happens
too often for performance issues. If camera changes too often, some reset could
be missed because of this timeout.
For now tag engine for update, which will update viewport from blender side.
Proper solution could be to detect such a changes from blender side and tag
cycles for refresh instead of trying to detect changes form cycles, but that's
for later.
2013-02-15 09:15:14 +00:00
Brecht Van Lommel
b94993941f
Fix #34252 : cycles rendering 16bit PNG with too light colors.
2013-02-14 21:40:29 +00:00
Brecht Van Lommel
6e03b70def
Fix cycles hair curves with NaN values not rendering with dynamic BVH. These NaN
...
values were breaking the bounding box computation, now they should have no influence.
2013-02-14 21:40:28 +00:00
Thomas Dinges
cb75d64f7d
Cycles:
...
* Compile fix when building without OSL.
2013-02-14 19:30:25 +00:00
Brecht Van Lommel
e0ca72735d
Further fix for #34121 : OSL + persistent images could crash in some cases still.
2013-02-14 16:48:43 +00:00
Brecht Van Lommel
adbd84c320
Fix #34121 : OSL + persistent images option was not freeing shader memory properly,
...
causing memory to increase continuously during animation render.
2013-02-14 16:11:47 +00:00
Brecht Van Lommel
909d64079a
Fix #34226 : cycles shadow pass got incorrectly influenced by world multiple
...
importance sampleing.
2013-02-13 16:46:18 +00:00
Brecht Van Lommel
4061f96d94
Fix cycles issue with BVH cache created with 64 bits and used for 32 bits binary,
...
and vice versa.
2013-02-13 11:02:51 +00:00
Sergey Sharybin
ae385fb61c
Correction for fix #34205 : Zooming in rendered mode during update out of sync with intended zoom
...
Didn't initially notice one possibility when GPU render would fail here,
2013-02-13 07:50:41 +00:00
Brecht Van Lommel
d095bcc8aa
Fix cycles not using SSE3 kernel after recent, order with SSE2 should be switched,
...
pointed out by Chad Fraleigh.
2013-02-12 14:58:46 +00:00
Brecht Van Lommel
45c70acd27
Fix some (quite harmless) use of uninitialized memory reported by valgrind.
2013-02-12 13:48:04 +00:00
Sergey Sharybin
b3b9931276
Fix #34205 : Cycles: Zooming in rendered mode during update out of sync with intended zoom
...
Made sure no pause_cond.wait() happens at the same time as session as resetting.
2013-02-12 13:06:52 +00:00
Brecht Van Lommel
9307565269
Attempted fix for issue with latest CUDA kernel for 32 bit windows/linux/mac,
...
there seems to be some sort of compiler bug in CUDA toolkit 4.2, uninlining a
few functions seems to avoid it.
2013-02-11 22:41:11 +00:00
Miika Hamalainen
1c4f704d5c
Smoke simulator: add more float precision checks to make sure other data types don't get messed up either. (Relating previous fire fixes)
2013-02-11 20:22:47 +00:00
Campbell Barton
1a8dcbcb4f
quiet -Wnarrowing warning.
2013-02-11 16:22:20 +00:00
Campbell Barton
fb01dcea5f
move atoms into their own struct and make all names match the original atom names, there were too many and mixed in with the classes namespace.
2013-02-11 09:30:04 +00:00
Campbell Barton
53bce285ab
patch [ #31636 ] no pressure with Genius Mousepen i608X tablet
...
from Viktoria S. (viktorias)
2013-02-11 08:16:32 +00:00
Campbell Barton
2005f7c6c0
style cleanup: also some typos
2013-02-11 00:49:00 +00:00
Brecht Van Lommel
50f7328fb6
Fix scons win32 link error with OSL, also fix a GLEW linker warning
2013-02-10 20:47:44 +00:00
Brecht Van Lommel
8d4d27de9f
Fix #34184 : cycles speed vector pass should be zero when using motion blur,
...
instead it had value 10000.
2013-02-10 18:02:59 +00:00
Campbell Barton
1994ed00a3
add option not to calculate tessellation faces when converting an object to a mesh. (OBJ export no longer needs, so save some CPU cycles and skip tessellation)
2013-02-10 13:44:18 +00:00
Campbell Barton
52df65b137
building ghost-sdl works again.
2013-02-08 08:02:05 +00:00
Campbell Barton
76b7afd909
removing xinerama on X11 dependency, this wasn't working very usefully.
2013-02-07 14:10:01 +00:00
Thomas Dinges
8011cbc751
CUDA / sm_20:
...
* Enable Lamp MIS again, it works on a GTX 570 (which is sm_20) with latest SVN. Tested by vitos1k in IRC:.
Feedback from GTX 580 users would be appreciated on this.
2013-02-06 23:19:14 +00:00
Brecht Van Lommel
d686b1c20f
Fix small memory leak in cycles tile render, a few bytes for each tile.
...
Reported by "aquo" on IRC.
2013-02-06 21:32:34 +00:00
Campbell Barton
296444e1dc
style cleanup: some warnigs & spelling.
2013-02-06 14:02:19 +00:00
Campbell Barton
a78cf854b4
add missing bullet header to cmake, quiet reports from 'make test_cmake'
2013-02-06 04:16:28 +00:00
Campbell Barton
2c1219dc17
enable xinerama for scons.
2013-02-06 01:28:56 +00:00
Sergej Reich
83b8cbeab1
rigidbody: Code cleanup
...
Stupid oversight, don't use floats for indices.
2013-02-05 21:51:18 +00:00
Sergej Reich
aa02ca126b
rigidbody: Invert spring damping range
...
Before 1 was no damping, which is inconsistent with the rest of the
simulation.
2013-02-05 21:51:17 +00:00
Brecht Van Lommel
c8e0f993cd
Fix cycles missing AA/alpha settings for OpenGL render, these are now in the film panel.
2013-02-05 15:58:15 +00:00