Commit Graph

38032 Commits

Author SHA1 Message Date
Brecht Van Lommel
1d8c798188 Cycles: support for motion vector and UV passes.
Most of the changes are related to adding support for motion data throughout
the code. There's some code for actual camera/object motion blur raytracing
but it's unfinished (it badly slows down the raytracing kernel even when the
option is turned off), so that code it disabled still.

Motion vector export from Blender tries to avoid computing derived meshes
when the mesh does not have a deforming modifier, and it also won't store
motion vectors for every vertex if only the object or camera is moving.
2012-04-30 12:49:26 +00:00
Daniel Genrich
796dd8a321 Fix compile error with msvc 2012-04-30 11:27:06 +00:00
Campbell Barton
5255c23cb7 code cleanup: clang warning - use of a pointer before checking its NULL. 2012-04-30 11:08:53 +00:00
Campbell Barton
8f3ed0501e code cleanup: quiet clang warnings, these would likely never but wont hurt to quiet them, 2012-04-30 10:47:32 +00:00
Campbell Barton
5979893711 style cleanup: edits to convex hull. 2012-04-30 10:39:35 +00:00
Brecht Van Lommel
f7078dcbe2 Cycles: remove a few usages of double, to fix opencl warnings. 2012-04-30 10:03:13 +00:00
Brecht Van Lommel
281f50cfcc Fix visual studio debug build issue with BVH boundbox, pointed out by Agustin Benavidez. 2012-04-30 10:00:55 +00:00
Campbell Barton
d113fd8ab7 WITH_PYTHON_INSTALL_NUMPY option for unix/cmake, just copies from site-packages. 2012-04-30 09:38:32 +00:00
Thomas Dinges
e08a46c070 Windows / Scons:
* Disable CUDA kernel compile per default, so people who don't use it can compile file with the default config.
2012-04-30 09:06:19 +00:00
Campbell Barton
5fb53b6b30 patch [#31091] PVS-Studio Analysis Fixes
from Jason Wilkins (jwilkins)

left out openjpeg changes since this library needs updating.
2012-04-30 08:35:18 +00:00
Campbell Barton
60c9addf79 - improve select grouped prefix/suffix from recent patch
- added select similar direction (Y axis)
2012-04-30 08:24:44 +00:00
Bastien Montagne
238af29b39 Adding Hungarian language. 2012-04-30 07:43:04 +00:00
Campbell Barton
0f4966164a fix [#31181] Lightmap UV unwrap still broken
raised python error with triangles.
2012-04-30 05:45:01 +00:00
Thomas Dinges
cf0a7e2a4d Sequencer Preview Area:
* Fixed missing update, when changing render resolution.
2012-04-29 22:25:31 +00:00
Robert Holcomb
502e594abb Fixed UI bug in distance, chroma, and difference nodes that caused the threshold to be limited by the falloff value. These should be independent. Cleaned up how falloff works in keying nodes. 2012-04-29 20:07:29 +00:00
Nicholas Bishop
f7ec94cbc6 Add per-brush weight field.
Patch from Jaggz H, thanks!

[#31096] Weight-painting: Brush-specific weights
http://projects.blender.org/tracker/?func=detail&atid=127&aid=31096&group_id=9

Each brush's weight can now be set individually, can also enable
unified setting (same as size and strength have.)

Added readfile code to the patch: subversion bumped to 1, brushes get
default weight of 0.5, unified weight enabled by default and value
from old vgroup_weight field.
2012-04-29 20:04:25 +00:00
Campbell Barton
44d81faa43 patch [#30821] Wiki Quick Hack: Text editor duplicate line
from Justin Dailey (dail)

made this Ctrl+D, to replace Delete.
2012-04-29 18:53:43 +00:00
Campbell Barton
daae72e17b patch [#30834] Quick Hack: Select similar for bones in edit mode
from Felix Schlitter (dalai) 

made some changes to select length measurement.
2012-04-29 18:23:33 +00:00
Campbell Barton
1b47e2678e style cleanup: missed these from previous cleanup 2012-04-29 17:55:54 +00:00
Mitchell Stokes
0331c77df1 Fix for [#31166] 2.63 applyRotation() makes Dynamic and Rigid object spin very fast
This bug was caused by r45902. CcdPhysicsController::RelativeRotate() was reading 2 values past the input because it was actually being passed a float[12] when it asked for a float[9] by KX_BulletPhysicsController::RelativeRotate(). Now KX_BulletPhysicsController::RelativeRotate() passes in a float[9] like it should have done to begin with.
2012-04-29 17:23:19 +00:00
Campbell Barton
343edf2722 style cleanup: function calls & whitespace. 2012-04-29 17:11:40 +00:00
Daniel Genrich
b6c1850fd3 Silence warning during DualCon compile: "Node *pointer[0];" gets MSVC compiler all exited and stuff. 2012-04-29 17:02:52 +00:00
Nicholas Bishop
70f1279eab Add convex hull operator (bmesh operator and wm operator.)
Image-heavy user documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/Convex_Hull

Thanks to Campbell for providing code review:
http://codereview.appspot.com/6114060
2012-04-29 16:09:40 +00:00
Nicholas Bishop
650edc90b1 Add GHASH_ITER macro 2012-04-29 16:09:28 +00:00
Campbell Barton
e701f9b670 style cleanup: whitespace / commas 2012-04-29 15:47:02 +00:00
Joshua Leung
038c12895f Bugfix [#28826] Show Hidden button in Dopesheet and Graph Editor doesn't quite
work

Show Hidden was handled by the same filtering function as Only Selected, but the
filters were being tested incorrectly (or to be precise, only Only Selected was
being considered).

This meant that it was only possible to show F-Curves belonging to hidden data
if that data happened to be selected first.
2012-04-29 15:05:19 +00:00
Brecht Van Lommel
22de538eb1 Cycles: missed merging this file from tomato branch, for normal output in node. 2012-04-29 14:23:50 +00:00
Joshua Leung
bdd014bbd4 Bugfix [#31128] Vertex Slide can't be aborted with ESC key 2012-04-29 13:58:43 +00:00
Sergey Sharybin
d30ee954f8 Remove variables tagged as unused. Easier to synchronize with current patches and makes
patches easier to read when variables are creating or e-using, but not un-commenting.
2012-04-29 13:45:31 +00:00
Joshua Leung
38c2d34d47 Bugfix [#31029] Select all in view3D don't update the graph editor immediately
One-liner fix. The code was assuming that editor.refresh() would do a
editor.redraw() too (like for Dopesheet), but that wasn't the case.
2012-04-29 13:24:10 +00:00
Joshua Leung
d3d93ee4a2 Code cleanups - whitespace 2012-04-29 13:20:28 +00:00
Campbell Barton
40489e378d quiet unused warnings 2012-04-29 13:19:22 +00:00
Bastien Montagne
d47528b2f4 Pose armature cleanup: remove old commented code replaced by use of new generic pchan_to_pose_mat().
After two months, think we can get rid of it, it’s in svn anyway if we ever need it!
2012-04-29 13:18:59 +00:00
Joshua Leung
b7a59f52b8 mingw32 compiles again
"__force_inline" keyword used in Cycles header is not defined
2012-04-29 13:00:00 +00:00
Campbell Barton
04d8ef3c47 wireframe option to crase edges at the hub, much nicer subsurf 2012-04-29 12:33:56 +00:00
Sergey Sharybin
c27c87dde4 Camera tracking: backport refactoring made in local branches with masking and dopesheet view into trunk
Mostly related on changes in poll functions for tracking operators and some changes
to how interface is initializing for different view types.
2012-04-29 12:32:26 +00:00
Daniel Genrich
16d4c49c46 Fix Cycles to compile again on AMD OpenCL devices. 2012-04-29 12:20:06 +00:00
Campbell Barton
41a5e731a2 bmesh: new wireframe tool
- makes wireframe from faces.
- options similar to inset (even offset, relative scale)
- copies face settings and loops (uvs, vcolors)
- optionally replaces the existing geometry.
2012-04-29 10:44:00 +00:00
Sergey Sharybin
3d1349609c - Tag unused variables
- Use (void) instead () for function declarations without arguments
2012-04-29 09:34:51 +00:00
Nathan Letwory
b23186b2a4 compile fixes:
* near and far var names confused mingw64, renamed
* mingw defines a macro named DrawText, confusing the DrawText function usage from KX_FontObject.
2012-04-29 00:44:49 +00:00
Joerg Mueller
88750597c7 Also updating CMakeLists.txt. 2012-04-28 23:40:38 +00:00
Nathan Letwory
72ec4c813a fix pthread path for windows builds 2012-04-28 23:15:34 +00:00
Joerg Mueller
5abadf1f75 Fix for windows compile. 2012-04-28 22:59:55 +00:00
Daniel Genrich
8bf8a128c2 Smoke: Support for moving obstacles. (Merge from Smoke2 branch)
Sponsored by the Blender Development Fund.
http://www.blender.org/blenderorg/blender-foundation/development-fund/

Remarks:
The original code was not designed to support moving obstacles so I had to introduce some velocity constraints into the code to prevent smoke from exploding. If this causes problems with "fire" emulation, please let me know.
2012-04-28 21:46:43 +00:00
Campbell Barton
4465d2f419 bmesh api functions, not used yet:
BM_iter_elem_count_flag()
  BM_iter_mesh_count_flag()
2012-04-28 18:39:37 +00:00
Thomas Dinges
3865276eb8 User Preferences/ Themes
* Tooltip section was there twice (User Interface category) 
Issue introduced in r45092!
2012-04-28 17:16:38 +00:00
Sergey Sharybin
f88cfd9168 Code and style cleanup in own modules in BKE and also mball module
- Make sure functions are named in way BKE_<object>_<action> (same way as RNA callbacks)
- Make functions which are used by mball.c only static and remove their prototypes
  from public header file.

Further cleanup is coming.
2012-04-28 16:49:00 +00:00
Campbell Barton
e2c453b5f9 style cleanup: editors / mesh & object 2012-04-28 15:42:27 +00:00
Campbell Barton
ef054e165c style cleanup: format 'for' loop macros the same as for loops, some renaming to BLI_array macros. 2012-04-28 15:14:16 +00:00
Sergey Sharybin
887d1533f8 Correction to recent commmit related on splitting audio channels: descriptions shouldn't end with dot. 2012-04-28 15:05:35 +00:00