cortex-vfx:mainlinemirror.git
8 years agoTagged Cortex 5.0.0a4 5.0.0a4
lucio.imageengine [Thu, 8 Apr 2010 21:52:24 +0000 (21:52 +0000)]
Tagged Cortex 5.0.0a4

git-svn-id: http://cortex-vfx.googlecode.com/svn/tags/5.0.0a4@3179 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding comment.
lucio.imageengine [Thu, 8 Apr 2010 21:41:56 +0000 (21:41 +0000)]
Adding comment.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3178 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAvoiding call to Slo_SetShader if the filename extension is not 'sdl' to prevent...
lucio.imageengine [Thu, 8 Apr 2010 21:19:51 +0000 (21:19 +0000)]
Avoiding call to Slo_SetShader if the filename extension is not 'sdl' to prevent seg faults.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3177 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoDisabling the color vector once i'm done with it.
lucio.imageengine [Thu, 8 Apr 2010 00:18:37 +0000 (00:18 +0000)]
Disabling the color vector once i'm done with it.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3175 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoadding # as exception character
andrewk.imageengine [Thu, 8 Apr 2010 00:02:34 +0000 (00:02 +0000)]
adding # as exception character

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3174 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoEnabling per-vertex color in CurvesPrimitive.
lucio.imageengine [Wed, 7 Apr 2010 23:10:28 +0000 (23:10 +0000)]
Enabling per-vertex color in CurvesPrimitive.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3173 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoOptimizing vertex attribute setup on Primitive by precomputing the map from shader...
lucio.imageengine [Wed, 7 Apr 2010 22:09:28 +0000 (22:09 +0000)]
Optimizing vertex attribute setup on Primitive by precomputing the map from shader attribute ids to float/int arrays.
Optimizing CurvesPrimitive render by using the 'first' parameter in the glDrawArrays.
Also, calling setVertexAttributes() so shaders rendering curves can get custom prim vars.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3172 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdded a ClassVectorParameter along with tests.
john.imageengine [Wed, 7 Apr 2010 20:48:22 +0000 (20:48 +0000)]
Added a ClassVectorParameter along with tests.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3171 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding correct runTimeTyped registration.
john.imageengine [Wed, 7 Apr 2010 20:47:19 +0000 (20:47 +0000)]
Adding correct runTimeTyped registration.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3170 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdded a maya ui implementation for the ClassParameter. This necessitated a refactorin...
john.imageengine [Tue, 6 Apr 2010 22:32:54 +0000 (22:32 +0000)]
Added a maya ui implementation for the ClassParameter. This necessitated a refactoring of the CompoundParameter ui to allow subclassing and to allow reconstruction of the ui if the child parameters change.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3169 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoCan now specify which button is used to open the menu when creating a popup menu...
john.imageengine [Tue, 6 Apr 2010 22:15:02 +0000 (22:15 +0000)]
Can now specify which button is used to open the menu when creating a popup menu with IECoreMaya.createMenu.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3168 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoPrivatising some member variables, and simplifying the code for their creation.
john.imageengine [Tue, 6 Apr 2010 22:13:46 +0000 (22:13 +0000)]
Privatising some member variables, and simplifying the code for their creation.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3167 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoeliminating empty groups during eliminateObject.
lucio.imageengine [Tue, 6 Apr 2010 21:42:40 +0000 (21:42 +0000)]
eliminating empty groups during eliminateObject.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3166 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoBinding IECoreGL.Primitive with StateComponents.
lucio.imageengine [Tue, 6 Apr 2010 20:59:14 +0000 (20:59 +0000)]
Binding IECoreGL.Primitive with StateComponents.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3165 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoBug fix on removeObject command. Replacing logic OR by bit operation OR to enforce...
lucio.imageengine [Tue, 6 Apr 2010 17:46:34 +0000 (17:46 +0000)]
Bug fix on removeObject command. Replacing logic OR by bit operation OR to enforce executing the two sides of the operation.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3164 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding test case showing problem on the renderer removeObject command
lucio.imageengine [Tue, 6 Apr 2010 16:47:30 +0000 (16:47 +0000)]
Adding test case showing problem on the renderer removeObject command

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3163 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoSimplified constructor to always use a frameLayout for self._layout. Corrected docume...
john.imageengine [Tue, 6 Apr 2010 00:07:04 +0000 (00:07 +0000)]
Simplified constructor to always use a frameLayout for self._layout. Corrected documentation for withCompoundFrame now I've figured out what it really does.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3160 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoExtended todo.
john.imageengine [Mon, 5 Apr 2010 23:22:17 +0000 (23:22 +0000)]
Extended todo.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3159 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoDocumented the keyword arguments for CompoundParameterUI that I understand and which...
john.imageengine [Mon, 5 Apr 2010 23:04:37 +0000 (23:04 +0000)]
Documented the keyword arguments for CompoundParameterUI that I understand and which work. Added a todo to figure out a situation where the draggable keyword does something useful and document it. Removed the code that would shortcut the constructor based on visibility flags - I can't find a place where this is useful and I don't think the behaviour is desirable in the first place - it gives us an object for which the _layout member is unitialised, and it certainly won't work if we get round to deriving ParameterUI from UIElement.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3158 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdded missing file.
john.imageengine [Mon, 5 Apr 2010 22:14:01 +0000 (22:14 +0000)]
Added missing file.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3157 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoSplitting CompoundParameterUI into its own file to work on it further.
john.imageengine [Mon, 5 Apr 2010 21:53:47 +0000 (21:53 +0000)]
Splitting CompoundParameterUI into its own file to work on it further.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3156 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding windowing filter for SH.
lucio.imageengine [Mon, 5 Apr 2010 21:52:33 +0000 (21:52 +0000)]
Adding windowing filter for SH.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3155 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding rotatedKernel function for fast sh kernel rotations.
lucio.imageengine [Mon, 5 Apr 2010 19:57:56 +0000 (19:57 +0000)]
Adding rotatedKernel function for fast sh kernel rotations.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3154 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdded a todo.
john.imageengine [Mon, 5 Apr 2010 19:49:12 +0000 (19:49 +0000)]
Added a todo.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3153 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoMade a bunch of methods private.
john.imageengine [Mon, 5 Apr 2010 19:38:01 +0000 (19:38 +0000)]
Made a bunch of methods private.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3152 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoRemoving unused member function.
john.imageengine [Mon, 5 Apr 2010 19:14:25 +0000 (19:14 +0000)]
Removing unused member function.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3151 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoint > float
tom.imageengine [Mon, 5 Apr 2010 19:04:59 +0000 (19:04 +0000)]
int > float

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3150 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoRemoving function which does nothing and appears never to be called.
john.imageengine [Mon, 5 Apr 2010 18:59:55 +0000 (18:59 +0000)]
Removing function which does nothing and appears never to be called.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3149 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFixing function name.
lucio.imageengine [Mon, 5 Apr 2010 18:50:52 +0000 (18:50 +0000)]
Fixing function name.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3148 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoRemoving premature commit.
john.imageengine [Mon, 5 Apr 2010 18:41:42 +0000 (18:41 +0000)]
Removing premature commit.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3147 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoRemoving deprecated method.
john.imageengine [Mon, 5 Apr 2010 18:08:32 +0000 (18:08 +0000)]
Removing deprecated method.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3146 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoNew workaround for behaviour where maya transforms a generic attribute with one accep...
john.imageengine [Mon, 5 Apr 2010 17:50:52 +0000 (17:50 +0000)]
New workaround for behaviour where maya transforms a generic attribute with one accepted datatype into a typed attribute when a file is saved and loaded. The old workaround involved gettignt the value from the typed attribute, deleting the typed attribute, creating a new generic attribute and then setting the value back. This triggered another maya bug whereby MPxData held in a plug is leaked when the plug is removed from the node - this was causing the plugin load/unload test to fail as datatyped were still in use. The new workaround instead always adds a second accepted datatype to the generic attribute, with safeguards preventing data of that type from ever being used.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3145 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoGrouping color transformation functions into ColorAlgo.h like CoreRI. And eliminating...
lucio.imageengine [Mon, 5 Apr 2010 17:24:11 +0000 (17:24 +0000)]
Grouping color transformation functions into ColorAlgo.h like CoreRI. And eliminating prefix "ie" from the other headers.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3144 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoBug fix: Creating an incomplete State when starting a new procedural.
lucio.imageengine [Mon, 5 Apr 2010 16:55:29 +0000 (16:55 +0000)]
Bug fix: Creating an incomplete State when starting a new procedural.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3143 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoRemoved dead registrations, which are handled more specifically by the StringVectorPa...
john.imageengine [Fri, 2 Apr 2010 01:01:46 +0000 (01:01 +0000)]
Removed dead registrations, which are handled more specifically by the StringVectorParameterHandler and StringParameterHandlers.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3142 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoremoving the "safe" functions from Group and providing access to the group mutex...
lucio.imageengine [Fri, 2 Apr 2010 00:41:55 +0000 (00:41 +0000)]
removing the "safe" functions from Group and providing access to the group mutex instead.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3141 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding cortex variation for Nuke.
lucio.imageengine [Thu, 1 Apr 2010 22:47:33 +0000 (22:47 +0000)]
Adding cortex variation for Nuke.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3140 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdded support for ClassParameters in IECoreMaya.
john.imageengine [Thu, 1 Apr 2010 18:50:08 +0000 (18:50 +0000)]
Added support for ClassParameters in IECoreMaya.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3139 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFixed typo.
john.imageengine [Thu, 1 Apr 2010 00:26:08 +0000 (00:26 +0000)]
Fixed typo.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3138 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFixing infinite loops caused by calling the static set* methods instead of the the...
john.imageengine [Thu, 1 Apr 2010 00:03:16 +0000 (00:03 +0000)]
Fixing infinite loops caused by calling the static set* methods instead of the the doSet* methods.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3137 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoOptimizing access to global name map and not locking when just using the iterator...
lucio.imageengine [Wed, 31 Mar 2010 23:59:12 +0000 (23:59 +0000)]
Optimizing access to global name map and not locking when just using the iterator stored on the NameStateComponent instance.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3136 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoReverting last change and using read-write mutex instead.
lucio.imageengine [Wed, 31 Mar 2010 22:48:30 +0000 (22:48 +0000)]
Reverting last change and using read-write mutex instead.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3135 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoYear fix.
lucio.imageengine [Wed, 31 Mar 2010 22:24:22 +0000 (22:24 +0000)]
Year fix.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3134 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoMultithreaded NameStateComponent.
lucio.imageengine [Wed, 31 Mar 2010 22:22:41 +0000 (22:22 +0000)]
Multithreaded NameStateComponent.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3133 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdded a comment.
john.imageengine [Wed, 31 Mar 2010 22:21:33 +0000 (22:21 +0000)]
Added a comment.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3132 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoPreventing unecessary postLoad() calls after the first one has occurred.
john.imageengine [Wed, 31 Mar 2010 22:15:48 +0000 (22:15 +0000)]
Preventing unecessary postLoad() calls after the first one has occurred.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3131 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoParameterHandler create() and update() methods now operate on MPlugs rather than...
john.imageengine [Wed, 31 Mar 2010 22:00:04 +0000 (22:00 +0000)]
ParameterHandler create() and update() methods now operate on MPlugs rather than attributes. This allows the creation of default connections to be moved from the ParameterisedHolder to the ParameterHandler where it belongs, and allows the SplineParameterHandlers to do a better job in doUpdate(). It also paves the way for the creation of a ClassParameterHandler.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3130 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoCoaxing the raw pointer into boost-land
tom.imageengine [Wed, 31 Mar 2010 20:59:46 +0000 (20:59 +0000)]
Coaxing the raw pointer into boost-land

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3129 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoImplementing instances on IECoreGL (deferred and immediate renderers).
lucio.imageengine [Wed, 31 Mar 2010 00:56:43 +0000 (00:56 +0000)]
Implementing instances on IECoreGL (deferred and immediate renderers).

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3124 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoUpdating for latest changes on IECoreGL headers.
lucio.imageengine [Wed, 31 Mar 2010 00:01:13 +0000 (00:01 +0000)]
Updating for latest changes on IECoreGL headers.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3123 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoChanging the way recomputes RightHandedOrientationStateComponent. Takes in considerat...
lucio.imageengine [Tue, 30 Mar 2010 22:45:26 +0000 (22:45 +0000)]
Changing the way recomputes RightHandedOrientationStateComponent. Takes in consideration changes on the matrix instead.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3122 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoComputing RightHandedOrientationStateComponent from the world matrix determinant.
lucio.imageengine [Tue, 30 Mar 2010 21:57:34 +0000 (21:57 +0000)]
Computing RightHandedOrientationStateComponent from the world matrix determinant.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3121 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoImplementing world space culling.
lucio.imageengine [Tue, 30 Mar 2010 21:28:34 +0000 (21:28 +0000)]
Implementing world space culling.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3120 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoMoving specific StateComponents to Primitive and PointsPrimitive classes.
lucio.imageengine [Tue, 30 Mar 2010 19:32:29 +0000 (19:32 +0000)]
Moving specific StateComponents to Primitive and PointsPrimitive classes.
Kept some there that requires some thinking.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3119 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoRemoving todo comment. Implemented in ShaderStateComponent.
lucio.imageengine [Tue, 30 Mar 2010 18:40:34 +0000 (18:40 +0000)]
Removing todo comment. Implemented in ShaderStateComponent.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3118 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoRenaming to addProcedural for consistency.
lucio.imageengine [Tue, 30 Mar 2010 18:35:12 +0000 (18:35 +0000)]
Renaming to addProcedural for consistency.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3117 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoReturning raw pointers instead of IntrusivePtr when it's safe.
lucio.imageengine [Tue, 30 Mar 2010 18:25:24 +0000 (18:25 +0000)]
Returning raw pointers instead of IntrusivePtr when it's safe.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3116 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoImplementing set/get transform functions for deferred renderer. Now the transform...
lucio.imageengine [Tue, 30 Mar 2010 18:09:45 +0000 (18:09 +0000)]
Implementing set/get transform functions for deferred renderer. Now the transform stack contains world matrices.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3115 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoUpdating copyright year range.
lucio.imageengine [Tue, 30 Mar 2010 18:08:35 +0000 (18:08 +0000)]
Updating copyright year range.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3114 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFixing set/get attribute before worldBegin.
lucio.imageengine [Tue, 30 Mar 2010 00:58:27 +0000 (00:58 +0000)]
Fixing set/get attribute before worldBegin.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3113 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoImplementing get/set transform on the immediate GL renderer.
lucio.imageengine [Tue, 30 Mar 2010 00:32:40 +0000 (00:32 +0000)]
Implementing get/set transform on the immediate GL renderer.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3112 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding culling on object space (todo: implement other spaces)
lucio.imageengine [Mon, 29 Mar 2010 22:54:12 +0000 (22:54 +0000)]
Adding culling on object space (todo: implement other spaces)
Adding missing bound() function on base Renderer class.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3111 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoMatching camera behavior to IECore::Camera.
lucio.imageengine [Mon, 29 Mar 2010 17:34:40 +0000 (17:34 +0000)]
Matching camera behavior to IECore::Camera.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3110 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoRenaming glsl headers and some functions, adding "ie" prefix.
lucio.imageengine [Mon, 29 Mar 2010 17:01:26 +0000 (17:01 +0000)]
Renaming glsl headers and some functions, adding "ie" prefix.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3109 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoPrevents exception with empty paths.
tom.imageengine [Fri, 26 Mar 2010 22:41:06 +0000 (22:41 +0000)]
Prevents exception with empty paths.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3108 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding test case that breaks IECoreMaya.
lucio.imageengine [Fri, 26 Mar 2010 21:04:23 +0000 (21:04 +0000)]
Adding test case that breaks IECoreMaya.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3107 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding new parameter types on tests.
lucio.imageengine [Fri, 26 Mar 2010 20:51:17 +0000 (20:51 +0000)]
Adding new parameter types on tests.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3106 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding explicit thread-safe functions to modify Group's children. And adding scope...
lucio.imageengine [Fri, 26 Mar 2010 19:11:09 +0000 (19:11 +0000)]
Adding explicit thread-safe functions to modify Group's children. And adding scope object that allows thread-safe access to the non-safe methods, including children().
Using the safe functions on the deferred render and on the python bound methods.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3105 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding test for multithreaded render of ParameterisedProcedural and fixing dead-lock...
lucio.imageengine [Thu, 25 Mar 2010 22:43:14 +0000 (22:43 +0000)]
Adding test for multithreaded render of ParameterisedProcedural and fixing dead-lock problem.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3104 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoImplemented multi-threaded procedural rendering on the DeferredRenderer.
lucio.imageengine [Thu, 25 Mar 2010 21:34:32 +0000 (21:34 +0000)]
Implemented multi-threaded procedural rendering on the DeferredRenderer.
Group is now thread-safe (except for children() function).

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3103 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdds the Preset UI to the Class section of the AE for Parameterised/Op/Procedurals
tom.imageengine [Thu, 25 Mar 2010 00:18:12 +0000 (00:18 +0000)]
Adds the Preset UI to the Class section of the AE for Parameterised/Op/Procedurals

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3102 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFixed bug in Group which would cause memoryUsage() to crash when no transform had...
john.imageengine [Thu, 25 Mar 2010 00:07:48 +0000 (00:07 +0000)]
Fixed bug in Group which would cause memoryUsage() to crash when no transform had been specified.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3101 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFix for registration of ClassParameter with IECore.RunTimeTyped.
john.imageengine [Wed, 24 Mar 2010 23:44:53 +0000 (23:44 +0000)]
Fix for registration of ClassParameter with IECore.RunTimeTyped.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3100 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdded a ClassParameter class along with tests. This allows a Parameter to be used...
john.imageengine [Wed, 24 Mar 2010 23:05:40 +0000 (23:05 +0000)]
Added a ClassParameter class along with tests. This allows a Parameter to be used to store a class which is loaded with the ClassLoader, and paves the way for some more interesting dynamic Parameterised objects which can be changed interactively by users. IECoreMaya::ClassParameterHandler to follow.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3099 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoDeleted IECoreMaya::Parameter class, moving it's functionality into IECoreMaya::Param...
john.imageengine [Wed, 24 Mar 2010 22:37:51 +0000 (22:37 +0000)]
Deleted IECoreMaya::Parameter class, moving it's functionality into IECoreMaya::ParameterHandler where it belongs. Protected ParameterHandler factory functions to enforce the expected usage case (just using those static methods) rather than allow direct access to the ParameterHandler derived classes which have no useful public methods anyway.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3096 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agotypo
tom.imageengine [Wed, 24 Mar 2010 22:04:45 +0000 (22:04 +0000)]
typo

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3095 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding a UI to save and load presets from/to a ParameterisedHolder instance.
tom.imageengine [Wed, 24 Mar 2010 22:01:50 +0000 (22:01 +0000)]
Adding a UI to save and load presets from/to a ParameterisedHolder instance.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3094 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoMaking sure that we don't pass a unicode string to the binding, which fails.
tom.imageengine [Wed, 24 Mar 2010 21:58:31 +0000 (21:58 +0000)]
Making sure that we don't pass a unicode string to the binding, which fails.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3093 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFixed bug which caused incorrect reconnection of plugs representing parameters when...
john.imageengine [Wed, 24 Mar 2010 19:20:47 +0000 (19:20 +0000)]
Fixed bug which caused incorrect reconnection of plugs representing parameters when the attribute had to be recreated for some reason. We were storing connections as networked plugs which were invalidated by dg operations.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3092 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoPresets are now returned without the className as a prefix. Added missing imports.
tom.imageengine [Wed, 24 Mar 2010 18:22:35 +0000 (18:22 +0000)]
Presets are now returned without the className as a prefix. Added missing imports.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3091 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoRefactored ParameterisedHolder so the code to create or update a single parameter...
john.imageengine [Wed, 24 Mar 2010 16:26:30 +0000 (16:26 +0000)]
Refactored ParameterisedHolder so the code to create or update a single parameter is in a function of its own. Used this to replace duplicate code in the OpHolder. Added a couple of new tests.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3090 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoRemoving usage of ClassData.
john.imageengine [Wed, 24 Mar 2010 00:45:01 +0000 (00:45 +0000)]
Removing usage of ClassData.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3089 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoRemoving usage of ClassData for dirty parameter storage, and using a proper member...
john.imageengine [Wed, 24 Mar 2010 00:40:49 +0000 (00:40 +0000)]
Removing usage of ClassData for dirty parameter storage, and using a proper member variable.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3088 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoMade a static string to hold the prefix for attribute names.
john.imageengine [Wed, 24 Mar 2010 00:33:00 +0000 (00:33 +0000)]
Made a static string to hold the prefix for attribute names.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3087 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoRemoving support for dynamic parameters in IECoreMaya. The mechanism is clunky and...
john.imageengine [Wed, 24 Mar 2010 00:15:37 +0000 (00:15 +0000)]
Removing support for dynamic parameters in IECoreMaya. The mechanism is clunky and we never used them once, plus we haven't got an acceptable solution for serialising them for RIB output. Parameters should never have been derived from Object anyway, and they are now back happily derived from RunTimeTyped.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3086 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agorenaming customAttribute to userAttribute.
lucio.imageengine [Tue, 23 Mar 2010 21:30:48 +0000 (21:30 +0000)]
renaming customAttribute to userAttribute.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3085 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoMoving procedural call to RendererImplementation and allowing for multi-threaded...
lucio.imageengine [Tue, 23 Mar 2010 20:21:12 +0000 (20:21 +0000)]
Moving procedural call to RendererImplementation and allowing for multi-threaded procedural rendering.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3084 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoRemoving userAttributes from Renderer and adding customAttributes to State.
lucio.imageengine [Tue, 23 Mar 2010 20:14:03 +0000 (20:14 +0000)]
Removing userAttributes from Renderer and adding customAttributes to State.
Now RendererImplementation classes provide access functions to customAttributes from the current state.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3083 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoPostLoadCallback now attempts to only emit one callback once all scene loading is...
john.imageengine [Tue, 23 Mar 2010 19:21:10 +0000 (19:21 +0000)]
PostLoadCallback now attempts to only emit one callback once all scene loading is complete, rather than a whole load for each and every referenced file within the scene.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3082 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoCalling scene.render() method on tests to make sure they don't raise exceptions.
lucio.imageengine [Tue, 23 Mar 2010 00:16:26 +0000 (00:16 +0000)]
Calling scene.render() method on tests to make sure they don't raise exceptions.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3081 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoDeferring shader creation and manipulation and texture creation from the Renderer...
lucio.imageengine [Tue, 23 Mar 2010 00:04:56 +0000 (00:04 +0000)]
Deferring shader creation and manipulation and texture creation from the Renderer up to the shader's bind() method. As a consequence ShaderStateComponent is very different and ShaderLoader turned into ShaderManager. Also the Primitive object hold the uniform prim vars themselves as opposed to the ShaderStateComponent. The new test case proves that it is now possible to generate multiple deferred renders in parallel.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3080 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoRemoving 2 ops from nuke that require factorials
lucio.imageengine@gmail.com [Sat, 20 Mar 2010 00:18:34 +0000 (00:18 +0000)]
Removing 2 ops from nuke that require factorials

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3078 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoUpdated IDX reader (still a little in-progress) now preserves point information etc...
tom.imageengine [Fri, 19 Mar 2010 01:59:28 +0000 (01:59 +0000)]
Updated IDX reader (still a little in-progress) now preserves point information etc, and splits points by station.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3077 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoDistinguishing error message from the other more usfeful one.
john.imageengine [Fri, 19 Mar 2010 00:27:09 +0000 (00:27 +0000)]
Distinguishing error message from the other more usfeful one.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3076 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdded RunTimeTyped registrations for test ops.
john.imageengine [Thu, 18 Mar 2010 23:07:39 +0000 (23:07 +0000)]
Added RunTimeTyped registrations for test ops.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3075 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding correct overrides for RunTimeTyped methods.
john.imageengine [Thu, 18 Mar 2010 22:48:39 +0000 (22:48 +0000)]
Adding correct overrides for RunTimeTyped methods.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3074 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoEliminating mask() from Texture classes.
lucio.imageengine [Thu, 18 Mar 2010 20:43:53 +0000 (20:43 +0000)]
Eliminating mask() from Texture classes.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3073 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoUpdating comments on parse() function.
lucio.imageengine [Thu, 18 Mar 2010 20:43:33 +0000 (20:43 +0000)]
Updating comments on parse() function.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3072 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoRemoved unused method, added correct forwarding overrides for RunTimeTyped methods...
john.imageengine [Thu, 18 Mar 2010 18:39:45 +0000 (18:39 +0000)]
Removed unused method, added correct forwarding overrides for RunTimeTyped methods. Reordered so public is before protected.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3071 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdded basic documentation.
john.imageengine [Thu, 18 Mar 2010 00:08:12 +0000 (00:08 +0000)]
Added basic documentation.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3070 07b78fde-9e1a-0410-98de-79dcf2039bee