Campbell Barton
47e313ec0c
cmake option to build without iksolver
2012-08-18 13:36:29 +00:00
Campbell Barton
9e742ffc2b
style cleanup: also correct some doxy comments
2012-08-18 13:07:48 +00:00
Campbell Barton
b96c622015
style cleanup
2012-08-11 22:12:32 +00:00
Campbell Barton
c567cf3fab
code cleanup: WM naming conventions
2012-08-11 21:35:24 +00:00
Campbell Barton
51182bc78d
add MEM_recallocN(), so bytes are ensured to be zero'd when growing.
2012-08-11 12:16:09 +00:00
Lukas Toenne
d33a0effba
Fix for particle object rendering in Cycles. On object sync the object first has to determine if a particle update is needed (which depends on dupli objects and their meshes), before deciding to skip the actual syncing.
2012-08-10 10:15:45 +00:00
Daniel Genrich
a1dd6ea836
Smoke: High res on even resolution did not write to all cells (downsampling = n-1, upsampling = n).
...
Thanks goes to MiikaH.
2012-08-10 09:58:58 +00:00
Thomas Dinges
e7f12cec35
Cycles Test App:
...
* Fix for changes in the OpenImageIO API.
2012-08-09 23:00:57 +00:00
Campbell Barton
f0951f58ca
code cleanup: rename G.afbreek --> is_break, G.rendering --> is_rendering
2012-08-08 18:37:06 +00:00
Campbell Barton
3179ee8a86
patch [ #32282 ] Fix segfault on exit in IM shutdown.
...
from Bill Currie (taniwha)
2012-08-08 07:31:19 +00:00
Jens Verwiebe
9ee3a8655f
Fix for fix, now nested
2012-08-07 12:09:48 +00:00
Jens Verwiebe
d4029de0d6
Fix for endiantest, xcode condition interferred with other os
2012-08-07 12:03:43 +00:00
Jens Verwiebe
5bcdecd72b
OSX: disable kernels in cycles gpu again, would only work in 10.8 afaik
2012-08-07 10:10:03 +00:00
Jens Verwiebe
b9c441536c
OSX/cmake: Mountain-Lion (10.8 )adaptions, skip unsupported endianess etc., todo: deployment target management
2012-08-07 10:02:34 +00:00
Campbell Barton
4e2fb45576
style cleanup
2012-08-06 10:03:17 +00:00
Thomas Dinges
2390c95cf1
Code cleanup:
...
* Remove BSP_GhostTest, not used and working for ages, approved by Sergey.
2012-08-04 11:42:38 +00:00
Sergey Sharybin
1a5998bc4e
Remove old boolean operation module
...
Carve proved it's a way to go, so the time have came to get rid of old
boolean operation module which isn't used anymore.
Still kept BOP interface but move it to BSP module. At some point it
could be cleaned up further (like perhaps removed extra abstraction
level or so) but would be nice to combine such a refactor with making
BSP aware of NGons.
Tested on linux using both cmake and scons, possible regressions on
windows/osx. Would check windoes build just after commit.
2012-08-02 16:42:30 +00:00
Daniel Genrich
8a0f6aa2f2
Bugfix: High resolution "exploded" when using uneven resolutions, sometimes with specific object scaling.
...
Part of Smoke Development Phase III.
Credit also goes to MiikaH: It was a teamwork effort and took days to track down. :)
2012-08-01 20:29:37 +00:00
Thomas Dinges
2fcd6827bf
Cycles:
...
* Removed outdated OpenCL comments, kernel features are defined in kernel_types.h now.
2012-08-01 14:56:15 +00:00
Campbell Barton
7fd1bd18e5
fix crash when polling image sample outside image space.
...
also remove historic comment which isnt helpful.
2012-08-01 14:29:24 +00:00
Sergey Sharybin
7ffa42075e
Fix #32205 : Holdout shader + transparent background stays black with Alpha = 1
...
It was read of initialized memory around holdout_weight in cases when
holdout material is used. Seems that it should be assigned to result
of shader_holdout_eval here.
If Brecht could double check this it'll be great.
This could potentially fix #32224 : Holdout Error with CUDA Cycles Render
2012-08-01 12:59:47 +00:00
Campbell Barton
a199ae5368
style cleanup: whitespace, also add '?' to save over popup since it wasnt totally clear it was a question (user pointed this out, they thought it was just notification and lost their work).
2012-07-31 23:06:12 +00:00
Campbell Barton
33a9cafc3b
quiet spacenav output on linux for regular builds, ifdef signed int for msvc openmp.
2012-07-31 21:26:14 +00:00
Sergey Sharybin
8dc3d4e3fd
Remove "Loading byte/float" debug messages. They were added at the time
...
we've been looking into texture limit for Mango and it's not needed now.
Anyway, this prints didn't cover all the cases when images were loading.
2012-07-31 15:28:36 +00:00
Brecht Van Lommel
314e26c02c
Fix cycles issue with wrong texture coordinates on a second render layer with
...
a mask layer enabled.
2012-07-31 15:05:16 +00:00
Brecht Van Lommel
fe401712a9
Code tweak removing comment, the fix here is indeed correct.
2012-07-31 15:05:11 +00:00
Brecht Van Lommel
aac3f0eaeb
Fix warnings on old apple GCC compiler due to no support for alloc_size attribute.
2012-07-31 15:05:09 +00:00
Lukas Toenne
588e4a4327
Additional fix #32074 , by Sven-Hendrik Haase (svenstaro). Boost version header must be included in cycles in order to expand the version check macro.
2012-07-29 13:52:38 +00:00
Sergey Sharybin
a7e943c850
Blender now compiles with recent clang
2012-07-28 17:35:09 +00:00
Campbell Barton
2cd0b3f064
defines to make it easier to manage ik stretch constants (these may need to be tweaked to fix [ #32174 ])
2012-07-27 23:16:33 +00:00
Campbell Barton
f23bfdfab4
style cleanup
2012-07-27 22:35:27 +00:00
Campbell Barton
e2360ab495
IK's were converting double -> float -> double's in a few places, since precision is important and doubles are used a lot here anyway. just use doubles, also quiet some double promotion warnings.
2012-07-27 22:27:06 +00:00
Daniel Genrich
24a00f14af
Fix compile errors on VC++ 2012 RC1.
...
Note: Compile still fails during ceres compile (namespace tr1 problems).
2012-07-27 18:18:13 +00:00
Campbell Barton
4c2de5e0c7
fix some types and incorrect info
2012-07-26 17:41:09 +00:00
Lukas Toenne
fec872ef9c
Added a particle index output to the Particle Info Cycles node. This is required to get consistent ID numbers for particles. The Object ID is not usable since it's a user defined value of the instanced object, which does not vary per instance. Also the random value from the object info node is not consistent over time, since it only depends on the index in the dupli list (so each emitted or dying particle shifts the value).
...
The particle index is always the same for a specific particle. Randomized values can be generated from this with the use of a noise texture.
2012-07-26 11:40:58 +00:00
Sergey Sharybin
8ad3e73965
Make Cycles compatible with older boost versions.
...
Patch by IRIE Shinsuke, thanks!
2012-07-25 20:25:47 +00:00
Sergey Sharybin
3337887fd1
Debug option for guarded allocation: store name of original datablock
...
when using MEM_dupallocN. This helps figuring out issues with non-freed
dup_alloc blocks,
Simply enable DEBUG_MEMDUPLINAME in mallocn.c file.
2012-07-24 15:17:03 +00:00
Campbell Barton
679847bd99
add prints for texture loading (we're running into texture limit a lot so its handy to see whats actually loading from the blend files)
2012-07-24 13:01:55 +00:00
Campbell Barton
5412389af6
fix for cycles bug in localview: see r48269, bits used for localview gave collisions with PathRayFlag's
2012-07-23 14:48:19 +00:00
Campbell Barton
76bea854b6
code cleanup: replace cos(M_PI / 4) and sin(M_PI / 4) with M_SQRT1_2 define
...
also some minor style cleanup.
2012-07-22 18:40:50 +00:00
Lukas Toenne
80c1bb4775
Removed nested comment, which causes compiler errors.
2012-07-22 11:21:36 +00:00
Campbell Barton
9b51503307
style cleanup
2012-07-21 22:58:08 +00:00
Sergey Sharybin
049dd8a0ff
Boolean modifier: prevent crashes when carve returns bad topology
...
For sure actual issue is in carve's triangulation system which need
to be investigated and fixed. For now only fixed by re-shuffling a
bit existing degenerative faces check and added extra checks there.
Would look into actual fix a bit later.
2012-07-21 19:19:45 +00:00
Campbell Barton
2557eaf0dd
print names of nodes/sockets when cycles complains about only being able to connect a closure to another closure.
2012-07-19 13:04:43 +00:00
Campbell Barton
32cf7fcdb1
code cleanup: spelling
2012-07-16 23:23:33 +00:00
Campbell Barton
e4cfcdc3a6
header comment cleanup, explain whats the difference between confusingly named drarnode.c and node_draw.c.
2012-07-14 15:29:45 +00:00
Campbell Barton
98520ce4de
use gcc attributes for BLI alloc functions
2012-07-14 12:47:49 +00:00
Jens Verwiebe
30b3907128
OSX: make the progressbar in dock a gradient, to give it a more matching 3D appearance
2012-07-12 11:35:51 +00:00
Sergey Sharybin
a87051bd8e
Patch #32074 : Fix compilation with boost 1.50
...
This patch switches from boost's filesystem v2 to v3.
This should be completely smooth due to filesystem v3 is pretty
old already.
Patch by Sven-Hendrik Haase (aka svenstaro), thanks!
2012-07-11 14:48:47 +00:00
Campbell Barton
35b6f41f46
patch [ #30274 ] XIM improvement (non-latin support + connection recovery)
...
from Shinsuke Irie (irie)
(from the tracker submission)
- allow us to input non-latin languages such as Japanese/Chinese
- recover XIM connection and its input contexts when XIM server restarted
Currently it supports only "root window" style input, while most people (and I) want "over the spot" or "on the spot" style one. Probably the implementation of "over the spot" or "on the spot" style becomes much complicated, because XIM server requires the coordinates of current cursor location relative to the screen in order to show the candidate window in appropriate position.
2012-07-11 08:31:54 +00:00