tornavis/source/blender/compositor/nodes
Bastien Montagne 46eef60d93 Cleanup: Internal degrees removal.
This patch changes most of the reamining degrees usage in internal code into radians.
I let a few which I know off asside, for reasons explained below - and I'm not sure to have found out all of them.

WARNING: this introduces forward incompatibility, which means files saved from this version won't open 100% correctly
         in previous versions (a few angle properties would use radians values as degrees...).

Details:
- Data:
-- Lamp.spotsize: Game engine exposed this setting in degrees, to not break the API here I kept it as such
                  (using getter/setter functions), still using radians internally.
-- Mesh.smoothresh: Didn't touch to this one, as we will hopefully replace it completely by loop normals currently in dev.

- Modifiers:
-- EdgeSplitModifierData.split_angle, BevelModifierData.bevel_angle: Done.

- Postprocessing:
-- WipeVars.angle (sequencer's effect), NodeBokehImage.angle, NodeBoxMask.rotation, NodeEllipseMask.rotation: Done.

- BGE:
-- bConstraintActuator: Orientation type done (the minloc[0] & maxloc[0] cases). Did not touch to 'limit location' type,
                        it can also limit rotation, but it exposes through RNA the same limit_min/limit_max, which hence
                        can be either distance or angle values, depending on the mode. Will leave this to BGE team.
-- bSoundActuator.cone_outer_angle_3d, bSoundActuator.cone_inner_angle_3d: Done (note I kept degrees in BGE itself,
                                                                           as it seems this is the expected value here...).
-- bRadarSensor.angle: Done.

Reviewers: brecht, campbellbarton, sergey, gaiaclary, dfelinto, moguri, jbakker, lukastoenne, howardt

Reviewed By: brecht, campbellbarton, sergey, gaiaclary, moguri, jbakker, lukastoenne, howardt
Thanks to all!

Differential Revision: http://developer.blender.org/D59
2013-12-03 20:35:45 +01:00
..
COM_AlphaOverNode.cpp Merge some operations into a single file 2013-09-05 09:39:38 +00:00
COM_AlphaOverNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_BilateralBlurNode.cpp Code cleanup: remove some more unused includes of DNA_scene_types 2012-08-01 14:51:12 +00:00
COM_BilateralBlurNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_BlurNode.cpp Applied patch [#34178] tile rendering for fast gaussian blur 2013-10-19 17:45:58 +00:00
COM_BlurNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_BokehBlurNode.cpp Merge of the PyNodes branch (aka "custom nodes") into trunk. 2013-03-18 16:34:57 +00:00
COM_BokehBlurNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_BokehImageNode.cpp Color Management, Stage 2: Switch color pipeline to use OpenColorIO 2012-09-15 10:05:07 +00:00
COM_BokehImageNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_BoxMaskNode.cpp Box and Ellipse mask nodes will now output shape 2013-04-02 17:56:41 +00:00
COM_BoxMaskNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_BrightnessNode.cpp Code cleanup: remove some more unused includes of DNA_scene_types 2012-08-01 14:51:12 +00:00
COM_BrightnessNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_ChannelMatteNode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_ChannelMatteNode.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
COM_ChromaMatteNode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_ChromaMatteNode.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
COM_ColorBalanceNode.cpp Fix #37333: Bad default value in Color Balance. Use independent offset/power/slope variables for the CDL mode in color balance node. This avoids stupid default values in particular for offset, which would be 1 when just using the lift value for it. 2013-11-06 12:44:51 +00:00
COM_ColorBalanceNode.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
COM_ColorCorrectionNode.cpp Code cleanup: remove some more unused includes of DNA_scene_types 2012-08-01 14:51:12 +00:00
COM_ColorCorrectionNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_ColorCurveNode.cpp Merge of the PyNodes branch (aka "custom nodes") into trunk. 2013-03-18 16:34:57 +00:00
COM_ColorCurveNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_ColorMatteNode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_ColorMatteNode.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
COM_ColorNode.cpp Merge of the PyNodes branch (aka "custom nodes") into trunk. 2013-03-18 16:34:57 +00:00
COM_ColorNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_ColorRampNode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_ColorRampNode.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
COM_ColorSpillNode.cpp style cleanup: more nodes 2012-06-15 17:57:39 +00:00
COM_ColorSpillNode.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
COM_ColorToBWNode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_ColorToBWNode.h Spellfixes: colour -> color 2012-07-04 12:19:50 +00:00
COM_CombineHSVANode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_CombineHSVANode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_CombineRGBANode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_CombineRGBANode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_CombineYCCANode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_CombineYCCANode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_CombineYUVANode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_CombineYUVANode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_CompositorNode.cpp Enable previews for inactive compo output and viewer nodes. 2013-03-22 10:10:21 +00:00
COM_CompositorNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_ConvertAlphaNode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_ConvertAlphaNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_CropNode.cpp style cleanup: trailing tabs & expand some non prefix tabs into spaces. 2012-10-21 05:46:41 +00:00
COM_CropNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_DefocusNode.cpp Cleanup: Internal degrees removal. 2013-12-03 20:35:45 +01:00
COM_DefocusNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_DespeckleNode.cpp code cleanup: spelling 2013-10-31 14:10:01 +00:00
COM_DespeckleNode.h despeckle composite node 2012-08-23 06:48:01 +00:00
COM_DifferenceMatteNode.cpp Color Management, Stage 2: Switch color pipeline to use OpenColorIO 2012-09-15 10:05:07 +00:00
COM_DifferenceMatteNode.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
COM_DilateErodeNode.cpp code cleanup: remove redundant casts. quiet some qualifier warnings. 2012-10-14 07:40:16 +00:00
COM_DilateErodeNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_DirectionalBlurNode.cpp Code cleanup: remove some more unused includes of DNA_scene_types 2012-08-01 14:51:12 +00:00
COM_DirectionalBlurNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_DisplaceNode.cpp style cleanup: more nodes 2012-06-15 17:57:39 +00:00
COM_DisplaceNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_DistanceMatteNode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_DistanceMatteNode.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
COM_DoubleEdgeMaskNode.cpp Code cleanup: remove some more unused includes of DNA_scene_types 2012-08-01 14:51:12 +00:00
COM_DoubleEdgeMaskNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_EllipseMaskNode.cpp Box and Ellipse mask nodes will now output shape 2013-04-02 17:56:41 +00:00
COM_EllipseMaskNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_FilterNode.cpp Merge some operations into a single file 2013-09-05 09:39:38 +00:00
COM_FilterNode.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
COM_FlipNode.cpp style cleanup: more nodes 2012-06-15 17:57:39 +00:00
COM_FlipNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_GammaNode.cpp Code cleanup: remove some more unused includes of DNA_scene_types 2012-08-01 14:51:12 +00:00
COM_GammaNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_GlareNode.cpp Merge some operations into a single file 2013-09-05 09:39:38 +00:00
COM_GlareNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_GroupNode.cpp code cleanup: case & brace placement 2013-07-19 10:40:43 +00:00
COM_GroupNode.h Fix for #35291, Deleting 'Group Output' node in compositor causes Segfault. A group without an output node in compositor would leave the original Node instance in the graph with outgoing connections. This causes trouble because the Node is expected to be a NodeOperation. Now group nodes always get disconnected and if no output node is present will use the default group output values (which is slightly less confusing than using input values from connected nodes). 2013-05-10 12:19:42 +00:00
COM_HueSaturationValueCorrectNode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_HueSaturationValueCorrectNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_HueSaturationValueNode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_HueSaturationValueNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_IDMaskNode.cpp Code cleanup: remove some more unused includes of DNA_scene_types 2012-08-01 14:51:12 +00:00
COM_IDMaskNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_ImageNode.cpp Fix #37221: Multilayer EXR inputs generate pink frame/last displayed frame when using an image sequence offset 2013-10-28 12:16:17 +00:00
COM_ImageNode.h Fix #36755, EXR Layers are not fully updated on scene load or image refresh. 2013-09-19 08:21:55 +00:00
COM_InpaintNode.cpp inpaint node from tomato branch by Peter Schlaile 2012-08-06 13:45:11 +00:00
COM_InpaintNode.h inpaint node from tomato branch by Peter Schlaile 2012-08-06 13:45:11 +00:00
COM_InvertNode.cpp Code cleanup: remove some more unused includes of DNA_scene_types 2012-08-01 14:51:12 +00:00
COM_InvertNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_KeyingNode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_KeyingNode.h Keying screen: small fixes and improvements from tomato 2012-07-10 14:53:36 +00:00
COM_KeyingScreenNode.cpp Highlight nodes that are being processed 2012-07-04 10:01:45 +00:00
COM_KeyingScreenNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_LensDistortionNode.cpp Merge of the PyNodes branch (aka "custom nodes") into trunk. 2013-03-18 16:34:57 +00:00
COM_LensDistortionNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_LuminanceMatteNode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_LuminanceMatteNode.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
COM_MapRangeNode.cpp Map Range Node (tiles) 2012-11-14 19:53:46 +00:00
COM_MapRangeNode.h Map Range Node (tiles) 2012-11-14 19:53:46 +00:00
COM_MapUVNode.cpp style cleanup: more nodes 2012-06-15 17:57:39 +00:00
COM_MapUVNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_MapValueNode.cpp Spellfixes: colour -> color 2012-07-04 12:19:50 +00:00
COM_MapValueNode.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
COM_MaskNode.cpp mask motion blur shutter option 2012-07-27 10:20:36 +00:00
COM_MaskNode.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
COM_MathNode.cpp Math Node: 2013-05-20 14:38:47 +00:00
COM_MathNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_MixNode.cpp Merge some operations into a single file 2013-09-05 09:39:38 +00:00
COM_MixNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_MovieClipNode.cpp Added alpha output to movie clip compositor node 2013-03-19 07:46:32 +00:00
COM_MovieClipNode.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
COM_MovieDistortionNode.cpp style cleanup: more nodes 2012-06-15 17:57:39 +00:00
COM_MovieDistortionNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_MuteNode.cpp Fix for debug assert failure with Reroute nodes in compositor. After redirecting links from the reroute output the input must be completely unlinked, otherwise the debug_check_node_connections will complain (this is a sanity check that ensures all the original Nodes have been fully reconnected to Operations). 2012-11-21 09:32:40 +00:00
COM_MuteNode.h Fixed own regression introduced in recent compositor commit 2012-07-30 16:39:39 +00:00
COM_NormalNode.cpp Merge of the PyNodes branch (aka "custom nodes") into trunk. 2013-03-18 16:34:57 +00:00
COM_NormalNode.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
COM_NormalizeNode.cpp style cleanup: more nodes 2012-06-15 17:57:39 +00:00
COM_NormalizeNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_OutputFileNode.cpp Fix for OutputFile node, this would crash with unconnected sockets in MultiEXR mode, because it matches sockets and EXR layers by index and was skipping unconnected sockets. Simply create EXR layer info 2013-09-19 08:21:53 +00:00
COM_OutputFileNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_PixelateNode.cpp style cleanup 2013-01-09 03:30:15 +00:00
COM_PixelateNode.h Adding a pixelate node. 2012-10-24 08:36:10 +00:00
COM_PlaneTrackDeformNode.cpp Merge plane track feature from tomato branch 2013-08-16 09:46:30 +00:00
COM_PlaneTrackDeformNode.h Merge plane track feature from tomato branch 2013-08-16 09:46:30 +00:00
COM_RenderLayersNode.cpp Merge some operations into a single file 2013-09-05 09:39:38 +00:00
COM_RenderLayersNode.h Merge some operations into a single file 2013-09-05 09:39:38 +00:00
COM_RotateNode.cpp cleanup pixel sampler code (pixel interpolations in compositor) 2012-08-28 10:41:37 +00:00
COM_RotateNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_ScaleNode.cpp style cleanup 2013-01-15 23:45:41 +00:00
COM_ScaleNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_SeparateHSVANode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_SeparateHSVANode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_SeparateRGBANode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_SeparateRGBANode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_SeparateYCCANode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_SeparateYCCANode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_SeparateYUVANode.cpp Compositor cleanup: Merge conversion operations into a single file (see also r59820). 2013-09-05 13:32:14 +00:00
COM_SeparateYUVANode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_SetAlphaNode.cpp fix for [#34133] Creation of an RGBA buffer from an RGB color and an alpha channel not possible. 2013-02-07 07:24:22 +00:00
COM_SetAlphaNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_SocketProxyNode.cpp Merge of the PyNodes branch (aka "custom nodes") into trunk. 2013-03-18 16:34:57 +00:00
COM_SocketProxyNode.h fix for struct definition building with msvc2008 and some style cleanup. 2013-03-24 01:19:55 +00:00
COM_SplitViewerNode.cpp Fix #36692: crash with split viewer compositing node and rendering. Only one viewer 2013-09-09 18:00:25 +00:00
COM_SplitViewerNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_Stabilize2dNode.cpp Solved issue with distorted compositor results in some cases 2012-11-10 19:11:25 +00:00
COM_Stabilize2dNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_SwitchNode.cpp style cleanup: more nodes 2012-06-15 17:57:39 +00:00
COM_SwitchNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_TextureNode.cpp Fix #36058: Displace Modifier errors using a baked Image and displace baking inconsistency between 2.67/2.68RC and previous versions 2013-07-15 14:47:58 +00:00
COM_TextureNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_TimeNode.cpp fix [#32374] Curve compositor UI drawing glitch 2012-08-21 15:14:29 +00:00
COM_TimeNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_TonemapNode.cpp Code cleanup: remove some more unused includes of DNA_scene_types 2012-08-01 14:51:12 +00:00
COM_TonemapNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_TrackPositionNode.cpp Track Position node now could output absolute position of track at a given frame 2013-06-12 14:28:36 +00:00
COM_TrackPositionNode.h Synchronize style cleanup changes made in tomato branch 2012-07-10 13:41:21 +00:00
COM_TransformNode.cpp cleanup pixel sampler code (pixel interpolations in compositor) 2012-08-28 10:41:37 +00:00
COM_TransformNode.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
COM_TranslateNode.cpp Fix #36113, Translate's wrapping has 1 pixel gap in X and Y after scale node. 2013-09-05 10:45:21 +00:00
COM_TranslateNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_ValueNode.cpp Merge of the PyNodes branch (aka "custom nodes") into trunk. 2013-03-18 16:34:57 +00:00
COM_ValueNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_VectorBlurNode.cpp Highlight nodes that are being processed 2012-07-04 10:01:45 +00:00
COM_VectorBlurNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_VectorCurveNode.cpp Code cleanup: remove some more unused includes of DNA_scene_types 2012-08-01 14:51:12 +00:00
COM_VectorCurveNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_ViewLevelsNode.cpp Fix #32905: Crash with Levels node when no input is connected. 2012-10-18 10:27:09 +00:00
COM_ViewLevelsNode.h stule cleanup: node headers 2012-06-13 23:31:47 +00:00
COM_ViewerNode.cpp Fix for #35349, multiple viewers nodes crashing during render. The condition for activating viewer nodes was completely overridden during renders. Changed this so viewer nodes are active only if both of these are true: 2013-05-14 10:42:30 +00:00
COM_ViewerNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00
COM_ZCombineNode.cpp Merge some operations into a single file 2013-09-05 09:39:38 +00:00
COM_ZCombineNode.h rename remaining class members with m_ prefix. 2012-06-26 07:09:49 +00:00