Commit Graph

39494 Commits

Author SHA1 Message Date
Campbell Barton
e22aa7bc38 style cleanup 2012-06-13 14:33:50 +00:00
Thomas Dinges
342fb0a19e Cycles:
* UI Tooltip fix.
2012-06-13 14:18:42 +00:00
Campbell Barton
99f7c06d7e added mask tool to recalculate handles (Ctrl+N) 2012-06-13 14:09:20 +00:00
Campbell Barton
3dd02efe2c fix for incorrectly checking for break in r47826 2012-06-13 14:01:28 +00:00
Campbell Barton
29165fc373 style cleanup 2012-06-13 13:59:46 +00:00
Campbell Barton
2e72720718 apply offset to the camera view - this works exactly like camera shift (transforms X/Y in the same space). 2012-06-13 13:23:48 +00:00
Campbell Barton
91781c76c4 framing options for camera background image: stretch/fit/crop 2012-06-13 12:58:01 +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
Brecht Van Lommel
4ba456d175 Cycles: first step for implementation of non-progressive sampler that handles
direct and indirect lighting differently. Rather than picking one light for each
point on the path, it now loops over all lights for direct lighting. For indirect
lighting it still picks a random light each time.

It gives control over the number of AA samples, and the number of Diffuse, Glossy,
Transmission, AO, Mesh Light, Background and Lamp samples for each AA sample.

This helps tuning render performance/noise and tends to give less noise for renders
dominated by direct lighting.

This sampling mode only works on the CPU, and still needs proper tile rendering
to show progress (will follow tommorrow or so), because each AA sample can be quite
slow now and so the delay between each update wil be too long.
2012-06-13 11:44:48 +00:00
Campbell Barton
dcda234a3d update themes for new colors, patch by Brendon Murphy 2012-06-13 11:40:49 +00:00
Brecht Van Lommel
74a85df0c1 Fix cycles crash when viewport camera border goes out of view. 2012-06-13 11:25:36 +00:00
Brecht Van Lommel
5e2a9a261b Fix cycles object_flag array being allocated too big. 2012-06-13 11:25:22 +00:00
Campbell Barton
902014555a always use bicubic sampler for the scale node with the new compositor since it worked like this in the old compositor.
this ignores the sampler passed and could be done in a nicer way so left this as an ifdef so it can be easily redone.
2012-06-13 10:35:41 +00:00
Campbell Barton
6fa1af2a21 style cleanup: scale node 2012-06-13 10:03:39 +00:00
Campbell Barton
c83d37ccc0 mango request
- highlight active mask layers.
- remove keyframes when all layer data is removed.
2012-06-13 08:35:50 +00:00
Campbell Barton
4cf66322f3 tint non-active mask layers grey 2012-06-13 08:20:43 +00:00
Lukas Toenne
f73d5f2c44 Fix #31780, cycles nested group rendering broken. Was using the dupli object 'index' member to identify dupli objects, but this is not unique and in fact just 0 in most cases. Needs to use a simple dupli list counter instead. 2012-06-13 08:10:59 +00:00
Campbell Barton
1a625d1416 code cleanup: use const float's where possible and specify vector size. 2012-06-12 23:19:52 +00:00
Gaia Clary
b0038ae499 Collada: fixed a few loops to only loop over the list of exported objects, instead of the current scene. 2012-06-12 23:19:34 +00:00
Gaia Clary
c7cca0c842 fix code style cleanup 2012-06-12 23:01:43 +00:00
Campbell Barton
2e8a2f7668 style cleanup 2012-06-12 22:05:33 +00:00
Sergey Sharybin
46c95d37c6 Default value for frame offset should be 0 2012-06-12 21:29:15 +00:00
Gaia Clary
36ed4818e5 patch #31794 Collada: make exporter more robust, now uses BKE_object_relational_superset() 2012-06-12 21:25:29 +00:00
Sergey Sharybin
5dc0b35a01 Added frame offset slider to clip datablocks
In contrast to start_frame (which affects on where footage actually
starts to play and also affects on all data associated with a clip
such as motion tracking, reconstruction and so on) this slider only
affects on a way how frame number is mapping to a filename, without
touching any kind of tracking data.

The formula is:
  file_name = clip_file_name + frame_offset - (start_frame - 1)
2012-06-12 21:25:23 +00:00
Gaia Clary
92d9483075 patch #31794 Added new function BKE_object_relational_superset() 2012-06-12 21:23:51 +00:00
Sergey Sharybin
aace651e51 Fix camera curve in clip editor not being remapped by a clip's start frame 2012-06-12 21:07:14 +00:00
Campbell Barton
e1241030db yse BLI_math for the compositor in more places. 2012-06-12 20:04:55 +00:00
Gaia Clary
7fec7070d7 fix: Collada build warning about inconsistent usage of Camera structure/class 2012-06-12 19:37:30 +00:00
Thomas Dinges
72c668a84a Cycles:
* Add back a break, which was deleted in r47773.
2012-06-12 19:04:12 +00:00
Campbell Barton
16dededdf3 remove input socket of mask node, this wasnt used. 2012-06-12 18:36:49 +00:00
Bastien Montagne
ca6290228f Minor fix [#31798] [minor] simpledeform modifier tooltip 2012-06-12 18:35:36 +00:00
Sergey Sharybin
128b0f9788 Added Selected Only and Show Hidden flags to clip editor's curve view 2012-06-12 17:11:16 +00:00
Sergey Sharybin
d3e098bb42 Some Clip Editor interface clean-ups:
- Display track's reprojection error in dopesheet
- Make sure track is selected when clicking on dopesheet channel
- Attempt to make headers a bit cleaner without long labels which
  doesn't actually make sense.
2012-06-12 17:11:00 +00:00
Sergey Sharybin
37612200fd Added options to display only selected tracks and show hidden tracks
in motion tracking dopesheet view.

By default all channels are displaying now.
2012-06-12 17:10:47 +00:00
Sergey Sharybin
55ca0e7636 Make dopesheet settings per-tracking data
It was a bit confusing to synchronize settings used in pre-calculated
dopesheet channels which was storing in tracking data with settings
used for display which is in space data.

This was initially done by converting one flags to other and checking
if space's settings matches pre-calculated one, but that had several
issues if two different dopesheet are using different settings:

- Channels would be re-calculated on every redraw for each of spaces
- Dopesheet operators could fail due to the could be using  channels
  calculated for other space.

That was also quite nasty code checking if requested settings matches
pre-calculated one.
2012-06-12 17:10:24 +00:00
Sergey Sharybin
1719b86f74 Tracking dopesheet's scrollbat now updates to channels number nicely. 2012-06-12 14:59:36 +00:00
Joshua Leung
8489e100dc Naming + Style tweaks for newly added flag for Action Constraint
Old names used could conflict with other things too easily in future
2012-06-12 11:54:31 +00:00
Nicholas Bishop
2062ca6b6c Decrease frequency of mallocs during multires sculpt smoothing
Patch from Jason Wilkins.

Creates a pool of allocations (one for each OpenMP thread) rather than
allocating every time do_multires_smooth_brush() is called.
2012-06-12 11:22:10 +00:00
Sergey Sharybin
552887251f Masking support for motion tracks
Added option to use Grease Pencil datablock as a mask for pattern
when doing motion tracking. Option could be found in Tracking Settings
panel.

All strokes would be rasterized separately from each other and every
stroke is treating as a closed spline.

Also added option to apply a mask on track preview which is situated
just after B/B/W channel button under track preview.
2012-06-12 11:13:53 +00:00
Campbell Barton
bc6929fcdd optimize jpeg2000 loading. 2012-06-12 08:50:40 +00:00
Lukas Toenne
6c4510f681 Modification of node groups by adding/removing nodes is not possible yet. This patch extends the 'Make Group' operator and adds a new 'Separate' operator to add such functionality.
1) For inserting into existing groups:
  The 'Make Group from selected' (CTRL+g) operator shows a selection popup (like the object parenting operator), with options depending on the type of the active node (last selected):
  * "New" -> regular operator, creates new group type with all selected nodes inside.
  * "Insert" (only if active node is a group) -> adds all other selected nodes into the group.

  Currently still prohibits groups inside groups in general, though would be technically possible as long as no actual recursion occurs (group containing itself).

2) For extracting from an existing group:
  New 'Separate from group' operator (p), works similar to separating vertices/edges/faces from mesh. Two modes:
  * "Copy" makes a copy of the nodes in the parent tree, but keeps the original group intact.
  * "Move" removes selected nodes from the node group and adds them to the parent tree
2012-06-12 08:44:46 +00:00
Bastien Montagne
b36b9f15ea Few minors style and type fixes (and a nice, harmless copy/paste error! ;) ) 2012-06-12 08:32:06 +00:00
Lukas Toenne
caa59446ab Reroute node socket types update automatically from connections when possible. This prevents unnecessary conversions and breaking connections when linking incompatible types to the reroute color sockets (point in case: cycles shaders). 2012-06-12 08:28:25 +00:00
Campbell Barton
c9ddb96750 optimize jpeg2000 saving
- expand loops to avoid checks for each iteration
- use unsigned ints for looping over pixels
- use inline functions for color conversion
2012-06-12 08:10:34 +00:00
Lukas Toenne
43d1df9f47 Fix #31675 Reroute nodes aren't working for cycles.
Note that currently the reroute nodes are hardcoded to color values, which means they will not work for shader type connections (and possibly cause overhead for float and vector conversion). Looking into a solution.
2012-06-12 07:27:50 +00:00
Bastien Montagne
2127e62c9b "Fix" for [#30704] Action Constraint mapping bug
Feature request rather than a real bug: allow constrained bone to use "object" part of the linked action, in addition to "same-named bone" part.
2012-06-12 06:22:23 +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
Campbell Barton
7977078227 fix for using freed memory with mask point slide
-- This line, and those below, will be ignored--

M    source/blender/editors/mask/mask_ops.c
2012-06-11 20:58:16 +00:00
Campbell Barton
234a0d8c51 fix for crash drawing grease pencil attached to a tracking marker.
also fix for use of uninitialized variable for ED_clip_point_undistorted_pos().
2012-06-11 20:50:57 +00:00
Campbell Barton
21e4b12e7a safety check when making a node local- make sure its already in the node tree. 2012-06-11 19:12:45 +00:00