Campbell Barton
b91bc4f037
use gcc attrubutes to warn on unused return values and arguments which shouldnt be NULL.
...
also remove IDP_AppendArray's return value which wasnt the new item in the array (which is odd/misleading), but wasnt used anywhere either.
2012-07-08 06:00:27 +00:00
Jeroen Bakker
28f7bfa8df
* Added OpenCL implementation of the Defocus node
...
* Always disable two phase compositing during rendering
- At Mind -
2012-07-06 11:31:40 +00:00
Jason Wilkins
3e073f42a5
You do not need to create an object to call a static function.
2012-07-05 20:44:42 +00:00
Jeroen Bakker
4e836ab476
Moved highlight code to the workscheduler.
2012-07-05 06:34:31 +00:00
Antony Riakiotakis
3818a47e4a
Change order of inclusion to stop MinGW from complaining
2012-07-04 22:55:40 +00:00
Bastien Montagne
4d2a6a8e21
Spellfixes: colour -> color
2012-07-04 12:19:50 +00:00
Jeroen Bakker
778999cbbf
Two pass execution:
...
1. first pass only fast nodes are calculated and only to the active
viewer node
2. second pass all nodes to all outputs
Temp disabled highlights because of random crashes.
2012-07-04 11:39:28 +00:00
Jeroen Bakker
33e12a2983
Highlight nodes that are being processed
2012-07-04 10:01:45 +00:00
Jeroen Bakker
ea5e0d0212
Limit out of screen tiles to be scheduled.
2012-07-02 15:26:47 +00:00
Campbell Barton
8b865c01cd
style cleanup: comments
2012-06-30 22:49:33 +00:00
Campbell Barton
c8c743b609
code cleanup: compile with clang and quiet some warnings.
2012-06-28 12:32:06 +00:00
Campbell Barton
32478997ec
style cleanup
2012-06-27 18:29:47 +00:00
Campbell Barton
d4cfdc69ef
quiet all -Wshadow warnings in the compositor.
2012-06-26 07:32:24 +00:00
Campbell Barton
69ab13a7db
rename remaining class members with m_ prefix.
2012-06-26 07:09:49 +00:00
Campbell Barton
6a1d82490e
use m_ prefix for compositor class members (all compositor operations).
2012-06-26 01:22:05 +00:00
Campbell Barton
0ec6d28352
correct free command for an array in the compositor
2012-06-25 17:09:11 +00:00
Campbell Barton
158a70c8a3
the mutex struct seems to be different across systems, use memset rather then an initializer value.
...
also quiet warning in cycles.
2012-06-25 11:19:38 +00:00
Jens Verwiebe
23f632a49c
Fix compile after 48262 ( braces)
2012-06-25 11:13:27 +00:00
Campbell Barton
3c8a4c458b
more guardedalloc use in C++, also make compositorMutex a static var, was allocated and never freed.
2012-06-25 10:35:24 +00:00
Campbell Barton
cc0784c1b9
optionally use guarded alloc for tiles compositor, also replace allocation functions with a macro.
2012-06-25 09:14:37 +00:00
Campbell Barton
0b0ac3aa9e
remove scene from new compositor classes. only needs RenderData
2012-06-22 15:06:52 +00:00
Jeroen Bakker
874c9fc33e
* only calculate node preview that are visible (node_preview flag set &
...
node_hidden unset)
2012-06-21 18:22:43 +00:00
Jeroen Bakker
7a8d60ec7d
* make it possible to composite without an compositor node [ #31878 ]
...
Tiles Compositor: Fails without 'Compositor' output node. Regression.
2012-06-21 17:58:12 +00:00
Jeroen Bakker
d406e274e0
* fix to support for multiple OpenCL platform for the Compositor
2012-06-21 16:05:56 +00:00
Monique Dewanchand
82bad4bd6c
Refactoring of tiles opencl implementation:
...
- Moved methods from NodeOperation to OpenCLDevice
- Added check on Nvidia for local size
2012-06-20 20:05:21 +00:00
Jeroen Bakker
bbe3c2946a
* reset OpenCL innerloop size to 32.
2012-06-20 17:04:40 +00:00
Campbell Barton
a744fed46c
style cleanup
2012-06-20 16:43:48 +00:00
Sergey Sharybin
72e170d67a
Implementation of node for track position input
2012-06-19 17:29:58 +00:00
Jeroen Bakker
7f2d1c01cd
Implemented Preview of defocus to set the quality of the node to Low
...
increased the inner loop of opencl
2012-06-19 13:52:41 +00:00
Campbell Barton
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
Campbell Barton
b5b8306685
code cleanup: includes, also correct some py example typos
2012-06-16 20:20:07 +00:00
Campbell Barton
e6a43441b9
disable GaussianAlpha from attempting to get a non existing socket - and add an assert if this is attempted.
2012-06-16 19:34:38 +00:00
Campbell Barton
570cc70772
style cleanup: compositor operations
2012-06-15 18:42:03 +00:00
Campbell Barton
cde4d72848
style cleanup: more nodes
2012-06-15 17:57:39 +00:00
Campbell Barton
687b6e5447
style cleanup: remaining nodes in intern/
2012-06-15 17:41:12 +00:00
Campbell Barton
d0ebb1df57
fix for using un-initialized memory in the new compositor for the split view node.
2012-06-15 13:35:24 +00:00
Sergey Sharybin
1f19bacf8e
Kaying node from tomato branch
...
Merge keying node from tomato branch into trunk.
It was considered stable and helpful by Mango team and it'll help
studio pipeline, because nodes would stop disappearing when opening
files in current trunk.
Full information about keying nodes could be found there:
http://wiki.blender.org/index.php/User:Nazg-gul/Keying
2012-06-14 12:19:13 +00:00
Sergey Sharybin
d56e77ada5
Keying Screen node from tomato branch
...
Merge Keying Screen node developed in tomato branch into trunk.
This node is aimed to make dealing with non-even greenscreens better
by generating gradiented image which could be used a input for keyer
nodes.
Based on building voronoi diagram using motion tracking markers as
sites position and average pattern color as color for that site.
Pretty straignforward node, some documentation is there
http://wiki.blender.org/index.php/User:Nazg-gul/Keying#Screen_color
2012-06-14 12:18:42 +00:00
Jeroen Bakker
68386ef23a
resolutions were not propagated correctly.
2012-06-14 10:21:53 +00:00
Jeroen Bakker
8ebec02df6
Removed the actual data type concept as it was never used.
2012-06-14 09:41:41 +00:00
Jeroen Bakker
fac417a3ba
Fixed glares
2012-06-14 03:11:36 +00:00
Campbell Barton
bde7e6c96b
stule cleanup: node headers
2012-06-13 23:31:47 +00:00
Jeroen Bakker
be1b5f82ce
* optimized threading
...
* break out with glare node
* Added OpenCL kernels compatible with AMD still need some testing.
2012-06-13 12:34:56 +00:00
Campbell Barton
e1241030db
yse BLI_math for the compositor in more places.
2012-06-12 20:04:55 +00:00
Jeroen Bakker
ac5a735e3f
* FIX for
...
- [#31777 ] Border Crop gives black
- [#31768 ] Crash when connecting a Math node to a translate node in Tiles comp
- [#31638 ] View node in new node compo system crashes when inside a group
* make sure a very fast vignette can be made by using a EliipseMask + Fast Gaussian blur
2012-06-12 04:23:21 +00:00
Sergey Sharybin
189f16362d
Merging r47669 through r47673 from trunk into soc-2011-tomato
2012-06-10 12:33:30 +00:00
Lukas Toenne
7496a58cfb
Applied and completed a compositor patch by Brecht to use signalling and waiting in scheduling and worker threads instead of continuous loops with sleep times. This should help reduce unnecessary wait times in Tile.
2012-06-10 12:26:33 +00:00
Sergey Sharybin
f06f1878c2
Merging r47624 through r47661 from trunk into soc-2011-tomato
2012-06-10 09:44:26 +00:00
Campbell Barton
8e7d7d5ea5
code cleanup: reduce float/double promotion
2012-06-09 19:57:14 +00:00
Sergey Sharybin
26f9fe3962
Merging r47581 through r47603 from trunk into soc-2011-tomato
2012-06-08 09:36:17 +00:00