3a0593cc3d
code cleanup: dont use function calls like dot_v3v3, pow and sqrt within macros which results in calling the function multiple times needlessly.
...
also added some comments.
2012-07-06 22:48:28 +00:00
f5f25b81e8
style cleanup:
...
also fix for building ghost test and fix double free in one of the tests
2012-06-17 09:58:26 +00:00
eedaaee072
fix for building without smoke.
2012-06-06 05:37:38 +00:00
3ea554e0a2
Smoke Bugfix: Velocity of moving objects was too high after scaling patch.
...
Spoted by MiikaH.
2012-06-01 15:49:39 +00:00
ee854f581a
Smoke: Fix messed up shadow display with OpenMP. This needs fixing. For now disable openmp for that function. Shadow calculation would be better raytraced on GPU or using shaders for the future.
...
Part of my Blender Smoke Development Phase III.
(accidently commited this to smoke2 branch first)
2012-05-28 14:31:08 +00:00
1e13168183
Smoke:
...
a) Another boundary fix. Resulted in smoke getting "sucked" back into the domain
b) Disabling substeps (internal thing). Fixes arbitrary explosions/instabilities.
Part of my Blender Smoke Development.
2012-05-27 18:45:16 +00:00
c4bbc5abfc
Fixed smoke 3D-view issues: Preview became invisible from certain angles if domain size was < 1.0 and density+shading strength changed depended on domain size.
2012-05-25 09:40:56 +00:00
f883d12e0c
Smoke: Start fixing scaling issues which happen with non cube-shaped domains.
...
Detail: Smoke solver and Blender side of smoke now share the same cell length.
First reported by the Sintel artists long ago, again reported by MiikaH.
Part of my Smoke Development Project Phase III.
2012-05-24 23:50:20 +00:00
8042c52fb6
Smoke: Fix wrong maximum timestep, resulting in exploding/unstable fluids.
...
Part of my Smoke Development project.
In conjunction with MiikaH and his gSoC project.
2012-05-24 18:22:36 +00:00
be53fde9cd
code cleanup:
...
- remove duplicate includes
- blender builds with -Werror in C++ for fluids/smoke
2012-05-21 06:33:45 +00:00
7a95d4333a
Fix reseting of particle lifetime and unborn feature when adding smoke - reported by blendernation
2012-05-08 11:39:32 +00:00
343edf2722
style cleanup: function calls & whitespace.
2012-04-29 17:11:40 +00:00
e701f9b670
style cleanup: whitespace / commas
2012-04-29 15:47:02 +00:00
3d1349609c
- Tag unused variables
...
- Use (void) instead () for function declarations without arguments
2012-04-29 09:34:51 +00:00
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
b4a0152e76
code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.)
2012-04-11 08:15:13 +00:00
f349aeacf1
Smoke: Use better standards for inflow
...
a) Set particle system for inflow to " show unborn"
b) Set particle system for inflow to lifetime = 1
2012-04-06 12:50:46 +00:00
126c9d4caa
use cmake WITH_MOD_ * to exclude include paths which are not used.
2012-03-27 00:17:57 +00:00
69e6894b15
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:18:31 +00:00
d74ab9d598
Smoke bugfix: Collision objects were completely broken in some cases since no tessfaces were generated. (Thanks to Campbell for giving me the solution)
2012-03-20 20:32:17 +00:00
4f19c1a995
spelling cleanup
2012-03-18 07:38:51 +00:00
31d2ee9bf7
style cleanup, brackets in else/if, some indentation.
2012-03-06 18:40:15 +00:00
ea13ec1699
Spelling Cleanup
2012-03-01 12:20:18 +00:00
d8a70df8cc
Smoke
...
------
New: Child particles are used as emitter.
Based on the patch #30013 by Kai Kostack. Thank you!
Please do test this code!
2012-02-19 20:05:01 +00:00
24f83c7e3e
minor edits to sync up with trunk, remove crash save handler, this can be added later if we need but isnt really apart of bmesh specifically.
2012-02-17 21:22:18 +00:00
fac771beca
missed these last commit
2012-01-29 22:32:00 +00:00
4af4863baf
svn merge ^/trunk/blender -r43639:43664
2012-01-24 16:18:20 +00:00
d7e30369f8
commented smoke collision derived mesh,
...
was storing its own copy of the collision mesh but never using it.
2012-01-24 01:21:43 +00:00
7508540c53
svn merge -r41575:41602 ^/trunk/blender
2011-11-07 07:01:24 +00:00
d8717d2628
more macro --> bli math lib replacements.
2011-11-06 15:39:20 +00:00
9be43762bc
svn merge -r41431:41453 ^/trunk/blender
2011-11-01 23:24:51 +00:00
d7de4d28dd
quiet some warnings.
2011-11-01 22:51:10 +00:00
15e6d6cd75
svn merge ^/trunk/blender -r41226:41227 .
2011-10-24 12:43:08 +00:00
77a7ec7c61
svn merge ^/trunk/blender -r41150:41175
2011-10-24 05:00:53 +00:00
0503a4f7a6
svn merge ^/trunk/blender -r41100:41150
2011-10-24 04:18:28 +00:00
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
2d8189cec0
- minor edits to font drawing/utf8, was needlessly casting int/unsigned int.
...
- also ifdef'd out more smoke function when the modifiers disabled.
2011-10-21 00:48:02 +00:00
8d6a554d75
- add BLI_string_utf8.h for unicode functions.
...
- move font.c unicode functions into string_utf8.c and rename to fit with other BLI_string funcs.
2011-10-20 09:47:05 +00:00
4e118bb22f
svn merge ^/trunk/blender -r40890:40950
2011-10-14 01:35:20 +00:00
bc40f11093
header cleanup (no functional changes)
2011-10-10 09:38:02 +00:00
ac2dd40991
svn merge -r38300:38400 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-07-26 03:14:16 +00:00
1fd33b6e77
cmake option to build without smoke sim: WITH_MOD_SMOKE
2011-07-13 18:40:21 +00:00
5a2a3d7d82
more syncing with trunk, also cleared many warnings with gcc4.6
2011-05-09 04:06:48 +00:00
6ef77cf95a
=bmesh= merge from trunk at r36529
2011-05-08 23:43:18 +00:00
f9f771cd01
converted more mixed tab/space indentations to tabs. only whitespace changes.
2011-04-21 15:53:30 +00:00
c98148a963
=bmesh= merge from trunk at r36153
2011-04-15 01:19:13 +00:00
Nathan Letwory
0ff06e21cd
doxygen: blender/blenkernel tagged.
2011-02-27 20:40:57 +00:00
f01261d040
merge with/from trunk at r35190
2011-02-27 06:19:40 +00:00
Nathan Letwory
5b607701a7
doxygen: prevent GPL license block from being parsed as doxygen comment.
2011-02-23 10:52:22 +00:00
8b7482892b
made most variables which are only used in a single file and not defined in header static for blenlib, blenkernel and editors.
2011-02-14 17:55:27 +00:00