109cbdf2e1
Cleanup: use BLI_kdtree_3d prefix
...
Use prefix now there isn't only the 3d version.
2019-03-20 00:48:51 +11:00
168d3fd528
Cleanup: file rename lamp -> light
2019-02-27 12:36:32 +11:00
1079742db9
Cleanup: rename lamp -> light
2019-02-27 12:26:49 +11:00
3051e2f4ae
DNA: rename Lamp -> Light
...
- BKE_lamp -> BKE_light
- Main.lamp -> light
2019-02-27 11:03:16 +11:00
cc10d86535
DNA: rename Object.size -> scale
...
Resolves a common cause of confusion.
2019-02-18 15:43:55 +11:00
de13d0a80c
doxygen: add newline after \file
...
While \file doesn't need an argument, it can't have another doxy
command after it.
2019-02-18 08:22:12 +11:00
6e40e3489f
Add global control over disabling high-resolution smoke draw
...
Can be found in the viewport's simplify panel, allows to easily
disable high-res display for all the smokes in the scene.
2019-02-15 17:55:24 +01:00
14c00cda39
Cleanup: More obvious name for the flag
...
Not sure what BIG is, it is HIGH RESOLUTION.
2019-02-15 17:29:01 +01:00
f15d810b1f
Cleanup: Naming, BKE prefix
...
Done for smoke functions.
Smoke modifier functions seems an oddballs here,
but probably also to be renamed.
2019-02-15 17:29:01 +01:00
eef4077f18
Cleanup: remove redundant doxygen \file argument
...
Move \ingroup onto same line to be more compact and
make it clear the file is in the group.
2019-02-06 15:45:22 +11:00
65ec7ec524
Cleanup: remove redundant, invalid info from headers
...
BF-admins agree to remove header information that isn't useful,
to reduce noise.
- BEGIN/END license blocks
Developers should add non license comments as separate comment blocks.
No need for separator text.
- Contributors
This is often invalid, outdated or misleading
especially when splitting files.
It's more useful to git-blame to find out who has developed the code.
See P901 for script to perform these edits.
2019-02-02 01:36:28 +11:00
1e4aab36c2
Cleanup: remove redundant BKE/BLI/BIF headers
2019-01-26 21:20:25 +11:00
6d58339973
Fix smoke clipping being ignored by Cycles and not being editable after baking.
...
The value worked in 2.7, but not with copy-on-write in 2.8.
2019-01-24 19:47:01 +01:00
3891ad8e03
Fix T58492: smoke flow jitters around flow source when using adaptive domain.
...
This is more like a band-aid than a real fix actually, real fix would be
to understand why rendering smoke requires auto texspace to be ON
(afaict, this was not the case in 2.7x)...
But I've already spent way too much time on this issue, at least now we
get better situation than before (i.e. smoke with adaptive domain works
well even when orig domain mesh has autospace flag disabled).
2019-01-22 21:52:15 +01:00
482c4d099a
Cleanup: remove all BLI_utiledefines' ugly vectorial macros.
...
Not only were those often making doublons with already existing
BLI_math's stuff, but they were also used to hide implicit type
conversions...
As usual this adds some more exotic inlined vector functions (one of
the rare cases where I really miss C++ and its templates... ;) ).
2019-01-20 16:27:06 +01:00
e305560f13
Cleanup: add trailing commas to structs
...
Needed for clang formatting to workaround bug/limit, see: T53211
2019-01-07 00:34:48 +11:00
9200dc0eb1
Cleanup: preprocessor indentation
2019-01-03 15:52:07 +11:00
37c2382a49
Merge branch 'master' into blender2.8
2018-12-18 15:10:35 +01:00
d542e55b09
Fix T55105: Smoke Emission from particles was ignoring lattice deformer
...
on the particles
2018-12-18 14:58:04 +01:00
2e392a0fdc
Merge branch 'master' into blender2.8
2018-12-02 14:16:09 +11:00
c00e1f68e9
Cleanup: BKE_effect.h naming
2018-12-02 14:14:51 +11:00
55e719ec35
Merge branch 'master' into blender2.8
2018-11-14 17:21:34 +11:00
d7f55c4ff5
Cleanup: comment block tabs
2018-11-14 17:10:56 +11:00
4b2110fc86
Cleanup: Remove 'BKE_library.h' include from 'BKE_main.h'
...
That kind of implicit includes should really only be done when totally,
absolutely necessary, and ideally only with rather simple 'second-level'
headers.
Otherwise not being explicit with includes always end up biting in
unexpected ways...
2018-11-07 20:58:53 +01:00
84ad9b102e
Workbench: Add cubic filtering for smoke simulation
...
The option is per domain and only affects the solid / xray / wireframe view.
Eevee is not yet supported.
2018-11-07 13:25:28 +01:00
41216d5ad4
Cleanup: Remove more #if 0 blocks
...
Continuation of https://developer.blender.org/D3802
Reviewers: brecht
Differential Revision: https://developer.blender.org/D3808
2018-10-18 15:43:06 +02:00
9cf01d35be
Workbench: Smoke: Add support for Color Mappping for smoke debugging
2018-10-09 12:12:38 +02:00
eea22dd5ef
Workbench: Smoke: Fix display
...
Includes the following fixes
- Fix smoke texture creation: data was interpreted as Byte instead of Floats.
- Fix Velocity texture not being free after draw: also was causing crashes.
- Fix display_thickness not being copied during COW.
- Fix Blending and general volume rendering algorithm.
- Add Volume Shadowing support.
2018-10-08 17:20:09 +02:00
342e73f90f
Spelling fixes in comments and descriptions (2.8 changes), patch by luzpaz.
...
Differential Revision: https://developer.blender.org/D3719
2018-09-24 18:48:29 +02:00
253dce07d7
Merge branch 'master' into blender2.8
2018-09-24 17:42:52 +02:00
0cff044d84
Spelling fixes in comments and descriptions, patch by luzpaz.
...
Differential Revision: https://developer.blender.org/D3719
2018-09-24 17:28:40 +02:00
4494be513a
Fix smoke to render in Cycles again.
...
Viewport caching seems still broken, though baking works.
2018-09-21 14:15:27 +02:00
cfb7565cd5
Cleanup: convert smoke modifier from DerivedMesh to Mesh.
2018-09-21 13:56:22 +02:00
0ddf3e110e
Cleanup: comment blocks
2018-09-02 18:51:31 +10:00
ae57383648
Cleanup: comment blocks
2018-09-02 18:28:27 +10:00
a99dcab148
Depsgraph: cache collision relations, for performance and stability.
...
Same reasoning as effector relations in earlier commit.
2018-06-25 13:35:41 +02:00
cc4dc2dce2
Depsgraph: cache effector relations, for performance and stability.
...
To find all effectors in the scene, we need to loop over all objects.
Doing this during depsgraph evaluation caused crashes because not all
objects are guaranteed to be evaluated yet.
To fix this, we now cache the relations as part of the dependency graph
build. As a bonus this also makes evaluation faster for big scenes,
since looping over all objects for each particle system is slow.
Fixes T55156.
2018-06-22 17:57:22 +02:00
06a1a66a9b
Merge branch 'master' into blender2.8
2018-06-17 17:10:19 +02:00
6fc8a74886
Cleanup: trailing space for blenkernel
2018-06-17 17:05:51 +02:00
160cb9a284
Merge branch 'master' into blender2.8
...
Conflicts:
intern/cycles/blender/blender_object.cpp
source/blender/alembic/intern/abc_exporter.cc
source/blender/alembic/intern/abc_mball.cc
source/blender/alembic/intern/abc_mball.h
source/blender/blenkernel/BKE_anim.h
source/blender/blenkernel/BKE_displist.h
source/blender/blenkernel/BKE_dynamicpaint.h
source/blender/blenkernel/BKE_group.h
source/blender/blenkernel/BKE_mball.h
source/blender/blenkernel/BKE_mball_tessellate.h
source/blender/blenkernel/BKE_object.h
source/blender/blenkernel/BKE_scene.h
source/blender/blenkernel/intern/anim.c
source/blender/blenkernel/intern/depsgraph.c
source/blender/blenkernel/intern/displist.c
source/blender/blenkernel/intern/dynamicpaint.c
source/blender/blenkernel/intern/group.c
source/blender/blenkernel/intern/mball.c
source/blender/blenkernel/intern/mball_tessellate.c
source/blender/blenkernel/intern/mesh_convert.c
source/blender/blenkernel/intern/object.c
source/blender/blenkernel/intern/object_dupli.c
source/blender/blenkernel/intern/object_update.c
source/blender/blenkernel/intern/pointcache.c
source/blender/blenkernel/intern/scene.c
source/blender/blenkernel/intern/smoke.c
source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
source/blender/depsgraph/intern/builder/deg_builder_relations.cc
source/blender/editors/include/ED_object.h
source/blender/editors/object/object_add.c
source/blender/editors/object/object_edit.c
source/blender/editors/object/object_modifier.c
source/blender/editors/physics/dynamicpaint_ops.c
source/blender/editors/sculpt_paint/paint_vertex.c
source/blender/editors/sculpt_paint/sculpt_uv.c
source/blender/editors/space_view3d/drawobject.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/editors/transform/transform_conversions.c
source/blender/editors/transform/transform_snap_object.c
source/blender/editors/util/ed_util.c
source/blender/gpu/intern/gpu_material.c
source/blender/makesrna/intern/rna_meta.c
source/blender/makesrna/intern/rna_object_api.c
source/blender/modifiers/intern/MOD_dynamicpaint.c
source/blenderplayer/bad_level_call_stubs/stubs.c
2018-06-11 14:39:38 +02:00
d0956e9cb3
Cleanup: Moar G.main removal of Hell.
...
This commit actually adds some G.main... but at much, much higher level
than the ones it removes, so should still be better ;)
2018-06-11 12:15:14 +02:00
9b4e56c091
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/blenkernel/BKE_camera.h
source/blender/blenkernel/BKE_dynamicpaint.h
source/blender/blenkernel/BKE_object.h
source/blender/blenkernel/intern/camera.c
source/blender/blenkernel/intern/dynamicpaint.c
source/blender/blenkernel/intern/object.c
source/blender/blenkernel/intern/smoke.c
source/blender/editors/object/object_transform.c
source/blender/editors/physics/dynamicpaint_ops.c
source/blender/editors/space_view3d/view3d_edit.c
source/blender/editors/space_view3d/view3d_view.c
source/blender/modifiers/intern/MOD_dynamicpaint.c
source/blenderplayer/bad_level_call_stubs/stubs.c
2018-05-31 12:57:24 +02:00
28369f725c
Cleanup: remove G.main from BKE object
...
Had to add some G.main to modifiers, but in 2.8 we do not need that
anymore, so it's not that bad! ;)
2018-05-31 12:27:47 +02:00
53a56b7b6c
Merge branch 'master' into blender2.8
2018-05-08 15:20:18 +02:00
3740f7593d
Cleanup: Nuke empty dummy wrappers around modifier_copyData_generic().
...
This also changes signature of modifier copy callback, first (source)
parameter is now a const, which is saner anyway!
2018-05-08 15:04:10 +02:00
0a79de526d
Merge branch 'master' into blender2.8
2018-05-04 10:12:47 -03:00
78fde19e68
BKE: Smoke: Fix error with implicit declaration of function due recent changes.
2018-05-04 10:11:30 -03:00
34ab90f546
Depsgraph: remove EvaluationContext, pass Depsgraph instead.
...
The depsgraph was always created within a fixed evaluation context. Passing
both risks the depsgraph and evaluation context not matching, and it
complicates the Python API where we'd have to expose both which is not so
easy to understand.
This also removes the global evaluation context in main, which assumed there
to be a single active scene and view layer.
Differential Revision: https://developer.blender.org/D3152
2018-04-16 19:55:33 +02:00
9a11aeb300
Merge branch 'master' into blender2.8
2018-04-16 17:24:20 +02:00
85de548e03
Cleanup: indentation
2018-04-16 17:08:27 +02:00