blender.git
5 years agoFix T39378: Revert, Recover Last Session and Load Factory Settings have no prompt.
Grigory Revzin [Tue, 1 Apr 2014 15:54:37 +0000 (17:54 +0200)]
Fix T39378: Revert, Recover Last Session and Load Factory Settings have no prompt.

Now they do, to make it harder to accidentally press them and lose work.

Reviewed By: brecht, carter2422

Differential Revision: https://developer.blender.org/D440

5 years agoFix T39546: blender crash on open recent file, when tracking is still in progress
Sergey Sharybin [Tue, 1 Apr 2014 12:43:49 +0000 (18:43 +0600)]
Fix T39546: blender crash on open recent file, when tracking is still in progress

5 years agoFix T39537: Multi button editing is unreliable
Campbell Barton [Tue, 1 Apr 2014 11:10:41 +0000 (22:10 +1100)]
Fix T39537: Multi button editing is unreliable

5 years agoRNA: clamp colors min to 0.0
Campbell Barton [Tue, 1 Apr 2014 10:29:49 +0000 (21:29 +1100)]
RNA: clamp colors min to 0.0

any colors which need to be negative can explicitly pass in a range.

5 years agoFix T38860: Video preview in VSE shows a distorted and jagged appearance at scale 1:1
Sergey Sharybin [Tue, 1 Apr 2014 10:40:31 +0000 (16:40 +0600)]
Fix T38860: Video preview in VSE shows a distorted and jagged appearance at scale 1:1

Issue was cauzed by the set zoom ratio optator which didn't really set pixel zoom to 1:1.

5 years agoFix an unused function warning without openmp present, some typos
Jens Verwiebe [Tue, 1 Apr 2014 09:23:28 +0000 (11:23 +0200)]
Fix an unused function warning without openmp present, some typos

5 years agoFix for "Show Diffuse Color" was having affect on mesh without mask
Sergey Sharybin [Tue, 1 Apr 2014 08:00:15 +0000 (14:00 +0600)]
Fix for "Show Diffuse Color" was having affect on mesh without mask

Only happened with VBOs enabled.

5 years agoCode cleanup: use bool instead of int
Sergey Sharybin [Tue, 1 Apr 2014 07:55:25 +0000 (13:55 +0600)]
Code cleanup: use bool instead of int

5 years agoFix T39446: Blender Crashes when Camera Tracking
Sergey Sharybin [Tue, 1 Apr 2014 07:14:37 +0000 (13:14 +0600)]
Fix T39446: Blender Crashes when Camera Tracking

Issue is likely caused by thread-unsafe nature of IMB_freeImBuf
which might lead to race condition in some circumstances.

Now made it thread-safe and from Sebastian's tests seems crash is
gone now, so hopefully the root of the issue is finally nailed down.

5 years agoCorrection for error in own recent commit (makesrna c++ api, un-init var)
Campbell Barton [Tue, 1 Apr 2014 05:46:38 +0000 (16:46 +1100)]
Correction for error in own recent commit (makesrna c++ api, un-init var)

5 years agoBGE doc cleanup: Some small cleanups in the BGE docs:
Mitchell Stokes [Tue, 1 Apr 2014 05:20:03 +0000 (22:20 -0700)]
BGE doc cleanup: Some small cleanups in the BGE docs:

  * Fixing trailing whitespace in some files
  * Fixing some indentation
  * SCA_PythonController.owner is now documented
  * SCA_PythonKeyboard members now use the member directive instead of function

5 years agoCode cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
Campbell Barton [Tue, 1 Apr 2014 00:34:00 +0000 (11:34 +1100)]
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define

5 years agoCode cleanup: use macro to find vertex in face
Campbell Barton [Mon, 31 Mar 2014 23:08:54 +0000 (10:08 +1100)]
Code cleanup: use macro to find vertex in face

5 years agoFix for leak in freestyle transformVertices
Campbell Barton [Mon, 31 Mar 2014 22:43:40 +0000 (09:43 +1100)]
Fix for leak in freestyle transformVertices

5 years agoFix for leak in freestyle FitCurve
Campbell Barton [Mon, 31 Mar 2014 22:14:59 +0000 (09:14 +1100)]
Fix for leak in freestyle FitCurve

5 years agoFix for leak in BKE_sequence_sound_init
Campbell Barton [Mon, 31 Mar 2014 21:44:00 +0000 (08:44 +1100)]
Fix for leak in BKE_sequence_sound_init

5 years agoChanges to openmp threads commit (UI and RNA)
Campbell Barton [Mon, 31 Mar 2014 21:30:24 +0000 (08:30 +1100)]
Changes to openmp threads commit (UI and RNA)

- use same names as render threads
- remove OpenMP from UI
- remove details from tips

5 years agoUsual UI messages fixes...
Bastien Montagne [Mon, 31 Mar 2014 19:15:56 +0000 (21:15 +0200)]
Usual UI messages fixes...

5 years agoFix T39524: Backface culling is always on in Textured view in BI.
Bastien Montagne [Mon, 31 Mar 2014 18:05:09 +0000 (20:05 +0200)]
Fix T39524: Backface culling is always on in Textured view in BI.

Special case I did not think about in own previous culling fix (rB0f95149a7849).

5 years agoCycles: fix 3-5% performance regression in msvc builds caused by a typo in stackcheck...
Sv. Lockal [Mon, 31 Mar 2014 17:44:02 +0000 (21:44 +0400)]
Cycles: fix 3-5% performance regression in msvc builds caused by a typo in stackchecking flags.

5 years agoSculpt/dytopo: remove debug prints and add explanations
Jens Verwiebe [Mon, 31 Mar 2014 17:11:52 +0000 (19:11 +0200)]
Sculpt/dytopo: remove debug prints and add explanations

5 years agoRevert using slider for detail size on previous commit, makes changing
Antony Riakiotakis [Mon, 31 Mar 2014 17:01:28 +0000 (20:01 +0300)]
Revert using slider for detail size on previous commit, makes changing
detail slightly harder.

5 years agoMake dyntopo detail size maximum smaller (more than 40 pixels should not
Antony Riakiotakis [Mon, 31 Mar 2014 16:30:51 +0000 (19:30 +0300)]
Make dyntopo detail size maximum smaller (more than 40 pixels should not
be needed according to mapping in code) and change the property to
float.

5 years agoFix deffects reported by CoverityScan (nothing dramatic, but at least one was a ...
Bastien Montagne [Mon, 31 Mar 2014 14:42:15 +0000 (16:42 +0200)]
Fix deffects reported by CoverityScan (nothing dramatic, but at least one was a (minor) bug).

5 years agoFix playercompile after boolifications
Jens Verwiebe [Mon, 31 Mar 2014 12:58:13 +0000 (14:58 +0200)]
Fix playercompile after boolifications

5 years agoFix T39291: "Stepped" F-curve modifier does not work as expected when stacked after...
Joshua Leung [Mon, 31 Mar 2014 12:51:45 +0000 (01:51 +1300)]
Fix T39291: "Stepped" F-curve modifier does not work as expected when stacked after other modifiers

Evaluation of time-warping modifiers ("Stepped" is one of them) didn't actually
end up distorting the time to look up what values other modifiers in the stack
generate. This meant that when a "stepped" fmodifier was on top of a "generator",
the stepped fmodifier looked like it didn't have any effect.

(This fix requires a bit of testing still, so should be left for 2.71)

5 years agoFix compile due forgot remove BKE_scene_omp_threads_update from patch
Jens Verwiebe [Mon, 31 Mar 2014 12:53:30 +0000 (14:53 +0200)]
Fix compile due forgot remove BKE_scene_omp_threads_update from patch

5 years agoCode cleanup: use bool
Campbell Barton [Mon, 31 Mar 2014 12:39:08 +0000 (23:39 +1100)]
Code cleanup: use bool

5 years agoCode cleanup: pack BezTriple a little (though size remains same)
Campbell Barton [Mon, 31 Mar 2014 08:56:00 +0000 (19:56 +1100)]
Code cleanup: pack BezTriple a little (though size remains same)

5 years agoVector handles were hidden but were allowed to slide apparently
Sergey Sharybin [Mon, 31 Mar 2014 12:32:27 +0000 (18:32 +0600)]
Vector handles were hidden but were allowed to slide apparently

5 years agoDidn't meant to commit debug-only-code in the previous commit!
Sergey Sharybin [Mon, 31 Mar 2014 12:02:46 +0000 (18:02 +0600)]
Didn't meant to commit debug-only-code in the previous commit!

5 years agoCode cleanup: use bool/true/false in movieclip.c
Sergey Sharybin [Mon, 31 Mar 2014 11:59:50 +0000 (17:59 +0600)]
Code cleanup: use bool/true/false in movieclip.c

5 years agoFix T39525: branched path + no lights + disabled use all lights option crash.
Brecht Van Lommel [Mon, 31 Mar 2014 11:51:52 +0000 (13:51 +0200)]
Fix T39525: branched path + no lights + disabled use all lights option crash.

5 years agoSculpt/dyntopo: Make the omp threads configurable to overcome performance issues
Jens Verwiebe [Mon, 31 Mar 2014 11:51:40 +0000 (13:51 +0200)]
Sculpt/dyntopo: Make the omp threads configurable to overcome performance issues
- autodetect optimal default, which typically avoids HT threads
- can store setting in .blend per scene
- this does not touch general omp max threads, due i found other areas where the calculations are fitting for huge corecount
- Intel notes, some of the older generation processors with HyperThreading would not provide significant performance boost for FPU intensive applications. On those systems you might want to set OMP_NUM_THREADS = total number of cores (not total number of hardware theads).

5 years agoFix T39510, Fix T39523: camera motion blur not working correct after recent changes.
Brecht Van Lommel [Mon, 31 Mar 2014 11:36:51 +0000 (13:36 +0200)]
Fix T39510, Fix T39523: camera motion blur not working correct after recent changes.

5 years agoCode cleanup: fixes for function prototypes
Sergey Sharybin [Mon, 31 Mar 2014 11:34:57 +0000 (17:34 +0600)]
Code cleanup: fixes for function prototypes

5 years agoFix T39405: Make "amplitude" for elastic easing more intuitive to use
Joshua Leung [Mon, 31 Mar 2014 11:24:34 +0000 (00:24 +1300)]
Fix T39405: Make "amplitude" for elastic easing more intuitive to use

Previously, amplitude was more of an "absolute" value in the sense that whatever value
you set it to became a sort of "maximum bounce" height. However, it turns out that this
approach isn't so nice when dealing with large gaps between the values of two keyframes,
as the elastic easing equations expect that "amplitude > |change|" (where change is the
difference in values from key1 to key2).

Now, the "amplitude" value we pass to the easing functions are "|change| + amplitude".
This is easier to control, as now, as soon as you start changing that value, there are
immediately visible effects.

5 years agoCode cleanup: use bool insted of int/short in MCE
Sergey Sharybin [Mon, 31 Mar 2014 09:31:28 +0000 (15:31 +0600)]
Code cleanup: use bool insted of int/short in MCE

5 years agoCode cleanup: use bool instead of short in motrack
Sergey Sharybin [Mon, 31 Mar 2014 09:24:23 +0000 (15:24 +0600)]
Code cleanup: use bool instead of short in motrack

5 years agoCode cleanup: use false/true/bool for masking
Sergey Sharybin [Mon, 31 Mar 2014 09:23:27 +0000 (15:23 +0600)]
Code cleanup: use false/true/bool for masking

5 years agoMasking: fix for initialdeather point not being offset to the mouse position
Sergey Sharybin [Mon, 31 Mar 2014 08:59:53 +0000 (14:59 +0600)]
Masking: fix for initialdeather point not being offset to the mouse position

5 years agoMaksing: fix issue when it's not possible to drag right handle of aligned handles
Sergey Sharybin [Mon, 31 Mar 2014 08:46:30 +0000 (14:46 +0600)]
Maksing: fix issue when it's not possible to drag right handle of aligned handles

5 years agoFix bug in image texture UI: "Use Alpha" checkbox doesn't appear if file format is...
IRIE Shinsuke [Mon, 31 Mar 2014 05:20:55 +0000 (14:20 +0900)]
Fix bug in image texture UI: "Use Alpha" checkbox doesn't appear if file format is BMP.

5 years agoAdd Simple randomize vertex tool
Campbell Barton [Mon, 31 Mar 2014 03:56:43 +0000 (14:56 +1100)]
Add Simple randomize vertex tool

D432 from Walid Shouman with normal & uniform options added.

5 years agoAdd normal option to ED_transverts
Campbell Barton [Mon, 31 Mar 2014 03:55:55 +0000 (14:55 +1100)]
Add normal option to ED_transverts

5 years agoTweak slerp assert to be less picky
Campbell Barton [Mon, 31 Mar 2014 03:55:12 +0000 (14:55 +1100)]
Tweak slerp assert to be less picky

5 years agoPy API: Vector.slerp(). also added interp_v3_v3v3_slerp(_safe) functions
Campbell Barton [Mon, 31 Mar 2014 02:18:23 +0000 (13:18 +1100)]
Py API: Vector.slerp(). also added interp_v3_v3v3_slerp(_safe) functions

5 years agoFix for error in normalize_vn_vn(), add len_squared_vn
Campbell Barton [Mon, 31 Mar 2014 00:17:46 +0000 (11:17 +1100)]
Fix for error in normalize_vn_vn(), add len_squared_vn

5 years agoCycles: Deformation Motionblur works on GPU, so remove the checks in the UI.
Thomas Dinges [Mon, 31 Mar 2014 00:18:29 +0000 (02:18 +0200)]
Cycles: Deformation Motionblur works on GPU, so remove the checks in the UI.

5 years agoCode cleanup: remove unused members of TransVert
Campbell Barton [Sun, 30 Mar 2014 22:57:34 +0000 (09:57 +1100)]
Code cleanup: remove unused members of TransVert

5 years agoRefactor: Add generic poll ED_transverts_poll
Campbell Barton [Sun, 30 Mar 2014 21:23:40 +0000 (08:23 +1100)]
Refactor: Add generic poll ED_transverts_poll

5 years agoFix T39490: BGE: Text to Mesh, then MouseOver does not work
Mitchell Stokes [Sun, 30 Mar 2014 20:55:10 +0000 (13:55 -0700)]
Fix T39490: BGE: Text to Mesh, then MouseOver does not work

Non-mesh objects default to no collisions. lordloki provided a
patch that sets the collision properties for a mesh converted from
a curve/meta/surf/text to the default collision properties for
a mesh.

5 years agoStyle cleanup
Campbell Barton [Sun, 30 Mar 2014 18:45:28 +0000 (05:45 +1100)]
Style cleanup

5 years agoFix for missing break statements
Campbell Barton [Sun, 30 Mar 2014 18:44:32 +0000 (05:44 +1100)]
Fix for missing break statements

5 years agoOSX: Remove the apple/omp workaround for now, to better judge compiler differences
Jens Verwiebe [Sun, 30 Mar 2014 15:38:33 +0000 (17:38 +0200)]
OSX: Remove the apple/omp workaround for now, to better judge compiler differences

5 years agoAnd another compile fix for M_PI and msvc2008...
Thomas Dinges [Sun, 30 Mar 2014 13:36:09 +0000 (15:36 +0200)]
And another compile fix for M_PI and msvc2008...

5 years agoCorrect own recent changes broke release builds
Campbell Barton [Sun, 30 Mar 2014 09:35:59 +0000 (20:35 +1100)]
Correct own recent changes broke release builds

5 years agoDoxy comment for main()
Campbell Barton [Sun, 30 Mar 2014 09:14:57 +0000 (20:14 +1100)]
Doxy comment for main()

5 years agoCode cleanup: warnings (clang)
Campbell Barton [Sun, 30 Mar 2014 08:37:43 +0000 (19:37 +1100)]
Code cleanup: warnings (clang)

5 years agoFix for uninitialized var use
Campbell Barton [Sun, 30 Mar 2014 08:36:51 +0000 (19:36 +1100)]
Fix for uninitialized var use

5 years agoEnable GCC pedantic warnings with strict flags,
Campbell Barton [Sun, 30 Mar 2014 04:02:24 +0000 (15:02 +1100)]
Enable GCC pedantic warnings with strict flags,

also modify MIN/MAX macros to prevent shadowing.

5 years agoCode cleanup: BKE_nurbList_handles_set used some strange logic
Campbell Barton [Sun, 30 Mar 2014 03:04:24 +0000 (14:04 +1100)]
Code cleanup: BKE_nurbList_handles_set used some strange logic

5 years agocorrect recent commit
Campbell Barton [Sun, 30 Mar 2014 02:22:01 +0000 (13:22 +1100)]
correct recent commit

5 years agoCode cleanup: use strict flags for BLI_rand
Campbell Barton [Sun, 30 Mar 2014 02:12:33 +0000 (13:12 +1100)]
Code cleanup: use strict flags for BLI_rand

5 years agoBLI_rand: Add BLI_rng_get_float_unit_v3, was static rayshade func
Campbell Barton [Sun, 30 Mar 2014 02:03:57 +0000 (13:03 +1100)]
BLI_rand: Add BLI_rng_get_float_unit_v3, was static rayshade func

5 years agoConvenience macro for print_ funcs, saves passing id each time
Campbell Barton [Sun, 30 Mar 2014 02:03:30 +0000 (13:03 +1100)]
Convenience macro for print_ funcs, saves passing id each time

5 years agofix scons ffmpeg libraries for mingw32
Antony Riakiotakis [Sat, 29 Mar 2014 23:34:55 +0000 (01:34 +0200)]
fix scons ffmpeg libraries for mingw32

5 years agoCode cleanup: reflect_v3_v3v3 made redundant copies
Campbell Barton [Sun, 30 Mar 2014 01:23:19 +0000 (12:23 +1100)]
Code cleanup: reflect_v3_v3v3 made redundant copies

5 years agoCorrection for poly_to_tri_count (used over-complicated method)
Campbell Barton [Sun, 30 Mar 2014 01:00:11 +0000 (12:00 +1100)]
Correction for poly_to_tri_count (used over-complicated method)

5 years agoFix mingw32 compilation
Antony Riakiotakis [Sat, 29 Mar 2014 22:51:30 +0000 (00:51 +0200)]
Fix mingw32 compilation

5 years agoCode cleanup: de-duplicate cotangent weight function & add arg sizes
Campbell Barton [Sun, 30 Mar 2014 00:08:33 +0000 (11:08 +1100)]
Code cleanup: de-duplicate cotangent weight function & add arg sizes

5 years agoCode cleanup: kdopbvh, move minmax init into function
Campbell Barton [Sat, 29 Mar 2014 23:33:01 +0000 (10:33 +1100)]
Code cleanup: kdopbvh, move minmax init into function

5 years agoSupport #ifndef WITH_SMOKE again
Campbell Barton [Sat, 29 Mar 2014 22:31:28 +0000 (09:31 +1100)]
Support #ifndef WITH_SMOKE again

5 years agoFix MinGW64 compilation until we update the libraries.
Antony Riakiotakis [Sat, 29 Mar 2014 20:12:52 +0000 (22:12 +0200)]
Fix MinGW64 compilation until we update the libraries.

5 years agoCycles UI: Do not grey out Object Motion Blur buttons, when we use CPU fallback ...
Thomas Dinges [Sat, 29 Mar 2014 20:58:34 +0000 (21:58 +0100)]
Cycles UI: Do not grey out Object Motion Blur buttons, when we use CPU fallback (User Preferences set to None).

5 years agoChange dyntopo detail size calculation slightly so the result is close
Antony Riakiotakis [Sat, 29 Mar 2014 16:16:36 +0000 (18:16 +0200)]
Change dyntopo detail size calculation slightly so the result is close
to the radius of the widget when setting the detail.

5 years agoFix scons CUDA build and compile error with more strict compilers.
Brecht Van Lommel [Sat, 29 Mar 2014 14:56:29 +0000 (15:56 +0100)]
Fix scons CUDA build and compile error with more strict compilers.

5 years agoCycles volume: change heterogeneous volume sampling in branched path first hit.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:50 +0000 (13:03 +0100)]
Cycles volume: change heterogeneous volume sampling in branched path first hit.

This now uses decoupled ray marching, and removes the probalistic scattering.
What this means is that each AA sample will be slower but contain less noise,
hopefully giving less render time to reach the same noise levels.

For those following along, there's still a bunch of volume sampling improvements
to do: all-light sampling, multiple importance sampling, transmittance threshold,
better indirect light handling, multiple scatter approximation.

5 years agoCycles code internals: add initial implementation of decoupled ray marching.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:50 +0000 (13:03 +0100)]
Cycles code internals: add initial implementation of decoupled ray marching.

This basically records all volumes steps, which can then later be used multiple
time to take scattering samples, without having to step through the volume
again. From the paper:

"Importance Sampling Techniques for Path Tracing in Participating Media"

This works only on the CPU, due to usage of malloc/free.

5 years agoCycles code refactor: minor refactoring and comments for volume code.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:49 +0000 (13:03 +0100)]
Cycles code refactor: minor refactoring and comments for volume code.

5 years agoCycles volume: change homogeneous volume sampling in branched path first hit.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:49 +0000 (13:03 +0100)]
Cycles volume: change homogeneous volume sampling in branched path first hit.

Similar to surfaces, this will now always scatter rather than probabilistically
scattering or not depending on the transmittance.

This also makes calculation of branched path throughput non-probalistic, which
makes thing slower too. That's to be solved by decoupled ray marching later.

5 years agoCycles code refactor: shuffle homogeneous volume code to factor out hit/miss decision.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:49 +0000 (13:03 +0100)]
Cycles code refactor: shuffle homogeneous volume code to factor out hit/miss decision.

This removes a few optimizations to avoid exp() calls and division, they will be
added back later, at the moment it's more important to make the code easier to
understand and refactor.

5 years agoCycles code refactor: move some more volume code into separate functions.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:49 +0000 (13:03 +0100)]
Cycles code refactor: move some more volume code into separate functions.

5 years agoCycles volumes: don't average coefficients over volume step.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:49 +0000 (13:03 +0100)]
Cycles volumes: don't average coefficients over volume step.

Rather use random point in each step instead of giving the steps random sizes.
Gives a bit more accurate results with large step sizes, but also convenient
convention for later changes.

5 years agoFix cycles error for heterogenous volumes, causing double step size to be used.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:49 +0000 (13:03 +0100)]
Fix cycles error for heterogenous volumes, causing double step size to be used.

This gives longer render times due to smaller step size, double it to get
something more like the previous behavior.

5 years agoCycles code refactor: move some volume code to separate functions.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:48 +0000 (13:03 +0100)]
Cycles code refactor: move some volume code to separate functions.

5 years agoCycles: add "density", "flame" and "color" attributes for smoke domains.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:48 +0000 (13:03 +0100)]
Cycles: add "density", "flame" and "color" attributes for smoke domains.

These can currently be accessed by adding an Attribute node and specifying one
of those three names. A Smoke/Fire node should be added at some point to make
this more convenient.

These values might change still before the release, in particular for flame the
meaning seems unclear, it's just values in the 0..1 range. This is useful for
color ramps, but it might be good if this was also available as temperature in
kelvin so it can be plugged into the blackbody node. But I couldn't figure out
from the smoke code if or how this corresponds to a physical unit.

Here's a (quite poor) example file for a fire + smoke setup:
http://www.pasteall.org/blend/27990

5 years agoCycles code internals: add support for mesh voxel grid attributes.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:48 +0000 (13:03 +0100)]
Cycles code internals: add support for mesh voxel grid attributes.

These are internally stored as a 3D image textures, but accessible like e.g.
UV coordinates though the attribute node and getattribute().

This is convenient for rendering e.g. smoke objects where data like density is
really a property of the mesh, and it avoids having to specify the smoke object
in a texture node, instead the material will work with any smoke domain.

5 years agoCycles code refactor: move more code to geom folder, add some comments.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:48 +0000 (13:03 +0100)]
Cycles code refactor: move more code to geom folder, add some comments.

5 years agoFix: cycles volume emission incorrectly enabling surface importance sampling.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:48 +0000 (13:03 +0100)]
Fix: cycles volume emission incorrectly enabling surface importance sampling.

5 years agoCycles code internals: add CPU kernel support for 3D image textures.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:48 +0000 (13:03 +0100)]
Cycles code internals: add CPU kernel support for 3D image textures.

5 years agoRNA/Smoke: add access to high resolution density grid, and flame and color grids.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:47 +0000 (13:03 +0100)]
RNA/Smoke: add access to high resolution density grid, and flame and color grids.

5 years agoCycles code refactor: replace magic ~0 values in the code with defines.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:47 +0000 (13:03 +0100)]
Cycles code refactor: replace magic ~0 values in the code with defines.

5 years agoCycles: add per object options to disable motion blur and set deformation motion...
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:47 +0000 (13:03 +0100)]
Cycles: add per object options to disable motion blur and set deformation motion steps.

Notes:

* The motion steps only affect deformation motion blur.
* The actual number of steps is 2^(steps - 1). This avoids having to sample at
  many different times for object with more/fewer steps, now the times overlap.
* Deformation motion blur is enabled by default in existing files that have
  motion blur enabled. If the object is not deforming, this will be detected at
  export time, so raytracing performance will not be affected.

Part of the code is from the summer of code project by Gavin Howard.

5 years agoCycles: add support for curve deformation motion blur.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:47 +0000 (13:03 +0100)]
Cycles: add support for curve deformation motion blur.

5 years agoCycles: add support for mesh deformation motion blur.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:47 +0000 (13:03 +0100)]
Cycles: add support for mesh deformation motion blur.

5 years agoCycles code refactor: add motion sampled normals attribute.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:46 +0000 (13:03 +0100)]
Cycles code refactor: add motion sampled normals attribute.

5 years agoCycles code refactor: improve vertex motion attribute storage and export.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:46 +0000 (13:03 +0100)]
Cycles code refactor: improve vertex motion attribute storage and export.

This now supports multiple steps and subframe sampling of motion.

There is one difference for object and camera transform motion blur. It still
only supports two steps there, but the transforms are now sampled at subframe
times instead of the previous and next frame and then interpolated/extrapolated.
This will give different render results in some cases but it's more accurate.

Part of the code is from the summer of code project by Gavin Howard, but it has
been significantly rewritten and extended.

5 years agoCycles code refactor: change curve key to float4 for easier storage as attribute.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:46 +0000 (13:03 +0100)]
Cycles code refactor: change curve key to float4 for easier storage as attribute.

5 years agoCycles code refactor: changes to make adding new primitive types easier.
Brecht Van Lommel [Sat, 29 Mar 2014 12:03:46 +0000 (13:03 +0100)]
Cycles code refactor: changes to make adding new primitive types easier.