cortex-vfx:mainlinemirror.git
8 years agoTagging version 5.3.0. 5.3.0
john.imageengine [Wed, 9 Jun 2010 16:55:39 +0000 (16:55 +0000)]
Tagging version 5.3.0.

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

8 years agoFixing an issue where the .extensions attribute wouldn't be available for parameters...
tom.imageengine [Wed, 9 Jun 2010 16:28:46 +0000 (16:28 +0000)]
Fixing an issue where the .extensions attribute wouldn't be available for parameters created in c++.

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

8 years agoPrinting out the missing typeId, to make it easier to find.
tom.imageengine [Wed, 9 Jun 2010 16:27:59 +0000 (16:27 +0000)]
Printing out the missing typeId, to make it easier to find.

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

8 years agoAdding SmoothSkinningDataParameterTypeId
tom.imageengine [Wed, 9 Jun 2010 16:26:40 +0000 (16:26 +0000)]
Adding SmoothSkinningDataParameterTypeId

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

8 years agoStringParameterUI, added support for "with" statement for use with older pre 2.6...
carsten.kolve [Wed, 9 Jun 2010 06:29:30 +0000 (06:29 +0000)]
StringParameterUI, added support for "with" statement for use with older pre 2.6 versions of python

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

8 years agoAdded hooks so external code can make modifications to the menus for the ClassParamet...
john.imageengine [Tue, 8 Jun 2010 22:53:31 +0000 (22:53 +0000)]
Added hooks so external code can make modifications to the menus for the ClassParameterUI and ClassVectorParameterUI.

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

8 years agocleaned up, corrected SmoothSkinningDataTest
carsten.kolve [Tue, 8 Jun 2010 22:18:30 +0000 (22:18 +0000)]
cleaned up, corrected SmoothSkinningDataTest

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

8 years agocleanedup, fixed bug in FromMayaSkinClusterConverterTest
carsten.kolve [Tue, 8 Jun 2010 21:58:49 +0000 (21:58 +0000)]
cleanedup, fixed bug in FromMayaSkinClusterConverterTest

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

8 years agoadding attribute to toggle drawing on DrawableHolders
andrewk.imageengine [Tue, 8 Jun 2010 21:22:45 +0000 (21:22 +0000)]
adding attribute to toggle drawing on DrawableHolders

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

8 years agousing DummyDataId to fool maya into maintaining generic attributes for ObjectMFnDataP...
andrewk.imageengine [Tue, 8 Jun 2010 20:03:28 +0000 (20:03 +0000)]
using DummyDataId to fool maya into maintaining generic attributes for ObjectMFnDataParameter and adding test to show that this works

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

8 years agoadding missing type id bindings
andrewk.imageengine [Tue, 8 Jun 2010 20:01:15 +0000 (20:01 +0000)]
adding missing type id bindings

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

8 years agoParameterUI popup menu improvements. Derived classes can now add to menus by reimplem...
john.imageengine [Tue, 8 Jun 2010 17:39:38 +0000 (17:39 +0000)]
ParameterUI popup menu improvements. Derived classes can now add to menus by reimplementing _popupMenuDefinition, and menus are defined using IECore.MenuDefinition for ease of editing. Can also register external callbacks to modify the same menu from other code. Took advantage of this to add some ui niceties to the StringParameterUI based on parameter userData. Updated GenericParameterUI to deal with privatisation of ParameterUI methods which should have been private before anyway.

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

8 years agoAdding copy constructor do CacherReader and preventing mutex duplication.
lucio.imageengine [Tue, 8 Jun 2010 16:30:47 +0000 (16:30 +0000)]
Adding copy constructor do CacherReader and preventing mutex duplication.

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

8 years agoadded FromMayaSkinClusterConverter + testcases
carsten.kolve [Tue, 8 Jun 2010 07:48:25 +0000 (07:48 +0000)]
added FromMayaSkinClusterConverter + testcases

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

8 years agoadded: import of with statement for ClassParameterUI.py
carsten.kolve [Tue, 8 Jun 2010 03:09:09 +0000 (03:09 +0000)]
added: import of with statement for ClassParameterUI.py

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

8 years agoMoved the createMenu code into a Menu class, and refactored it so that it uses the...
john.imageengine [Tue, 8 Jun 2010 01:13:02 +0000 (01:13 +0000)]
Moved the createMenu code into a Menu class, and refactored it so that it uses the UIElement._createCallback stuff from the base class it now derives from. This fixes a memory leak in Maya 2009 (which was fixed by Autodesk in 2010 anyway) and also fixes another bug whereby actions performed from a callable menu command break into a whole series of undos instead of being grouped as one. Deprecated createMenu().

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

8 years agoCan now opt out of the use of interToUI when creating menu labels from IECore.MenuDef...
john.imageengine [Mon, 7 Jun 2010 22:23:50 +0000 (22:23 +0000)]
Can now opt out of the use of interToUI when creating menu labels from IECore.MenuDefinitions.

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

8 years agoremoved FromMayaSkinClusterConverter from review section, will be integrated into...
carsten.kolve [Mon, 7 Jun 2010 00:53:48 +0000 (00:53 +0000)]
removed FromMayaSkinClusterConverter from review section, will be integrated into main trunk

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

8 years agoadded SmoothSkinningDataParameter
carsten.kolve [Fri, 4 Jun 2010 02:38:42 +0000 (02:38 +0000)]
added SmoothSkinningDataParameter

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

8 years agoOptimisations for IECoreMaya::ObjectData ascii IO. Writing sped up massively (~20x...
john.imageengine [Fri, 4 Jun 2010 01:24:03 +0000 (01:24 +0000)]
Optimisations for IECoreMaya::ObjectData ascii IO. Writing sped up massively (~20x) by optimising the decToHex function to avoid the massive amount of memory allocation going on (a new string plus a bunch of insertions for every single byte). Added various hex conversion functions to support this, all taking iterators rather than dealing with strings directly. Bound these to allow for easy testing and profiling. Sped up reading of IECoreMaya::ObjectData by working around apparent inefficiencies in maya's parser - see comment in IECoreMaya/ObjectData.cpp - again the speedup is significant (50x in one test).

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

8 years agoMenu now available from both right and left clicks.
john.imageengine [Thu, 3 Jun 2010 15:49:37 +0000 (15:49 +0000)]
Menu now available from both right and left clicks.

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

8 years agoImproved error reporting for cases where parameter serialisation fails.
john.imageengine [Thu, 3 Jun 2010 15:48:34 +0000 (15:48 +0000)]
Improved error reporting for cases where parameter serialisation fails.

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

8 years agoSmoothSkinningData: changed methods influencePoses to be called influencePose (in...
carsten.kolve [Thu, 3 Jun 2010 05:24:58 +0000 (05:24 +0000)]
SmoothSkinningData: changed methods influencePoses to be called influencePose (in synch with the general naming of an M44fVector describing a number of transforms), increased m_ioversion so the change does not cause problems with older ssd, python binding now returns reference to data and not copy

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

8 years agoEnsuring current SX implementation is only enabled when a compatible version of 3Deli...
tom.imageengine [Thu, 3 Jun 2010 00:19:41 +0000 (00:19 +0000)]
Ensuring current SX implementation is only enabled when a compatible version of 3Delight is used.

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

8 years agoAdded an AE template for the curve combiner node.
john.imageengine [Wed, 2 Jun 2010 21:24:25 +0000 (21:24 +0000)]
Added an AE template for the curve combiner node.

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

8 years agoFixed typo.
john.imageengine [Wed, 2 Jun 2010 21:23:52 +0000 (21:23 +0000)]
Fixed typo.

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

8 years agoAdded a node to combine multiple geometry inputs into a cortex Group object on output.
john.imageengine [Wed, 2 Jun 2010 21:17:10 +0000 (21:17 +0000)]
Added a node to combine multiple geometry inputs into a cortex Group object on output.

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

8 years agoModifying the behaviour of the class selection menu when the parameter is flagged...
tom.imageengine [Wed, 2 Jun 2010 19:11:10 +0000 (19:11 +0000)]
Modifying the behaviour of the class selection menu when the parameter is flagged as being un-collapsible. In this case, the parameter name is now used instead of 'class', and a stronger font is used. Also fixes a bug where the menu would not update due to initialisation order.

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

8 years agoApplied misc_build_and_test.patch. Moved PointVelocityDisplaceOp from for_review...
danbethell [Wed, 2 Jun 2010 02:10:09 +0000 (02:10 +0000)]
Applied misc_build_and_test.patch. Moved PointVelocityDisplaceOp from for_review into trunk. Added typeid binding for MeshDistortionsOp so IECore tests pass.

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

8 years agoAdding parameters for output primVar names.
lucio.imageengine [Wed, 2 Jun 2010 00:21:52 +0000 (00:21 +0000)]
Adding parameters for output primVar names.
Adding test case for MeshDistortionOp.
Problem on seems detected on uv distortion. Requires some thinking.

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

8 years agoFixing asymmetry problem on uv distortion.
lucio.imageengine [Tue, 1 Jun 2010 20:29:58 +0000 (20:29 +0000)]
Fixing asymmetry problem on uv distortion.

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

8 years agoAdding MeshDistortionsOp for measuring contraction and expansion on edges.
lucio.imageengine [Tue, 1 Jun 2010 19:54:03 +0000 (19:54 +0000)]
Adding MeshDistortionsOp for measuring contraction and expansion on edges.

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

8 years agoChanging DL_VERSION.
tom.imageengine [Tue, 1 Jun 2010 18:26:04 +0000 (18:26 +0000)]
Changing DL_VERSION.

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

8 years agoBumping patch version.
tom.imageengine [Tue, 1 Jun 2010 00:21:47 +0000 (00:21 +0000)]
Bumping patch version.

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

8 years agoOn behalf of the Maya Crash Prevention Unit.
tom.imageengine [Mon, 31 May 2010 23:56:47 +0000 (23:56 +0000)]
On behalf of the Maya Crash Prevention Unit.

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

8 years agoFixed bug which could cause the collapse/expand arrow to end up with the wrong icon...
john.imageengine [Mon, 31 May 2010 23:56:11 +0000 (23:56 +0000)]
Fixed bug which could cause the collapse/expand arrow to end up with the wrong icon on it.

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

8 years agoShift clicking now expands and collapses whole hierarchies of parameter uis.
john.imageengine [Mon, 31 May 2010 17:59:31 +0000 (17:59 +0000)]
Shift clicking now expands and collapses whole hierarchies of parameter uis.

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

8 years agoCachedReader can now perform optional post-processing of loaded objects. This is...
john.imageengine [Fri, 28 May 2010 23:29:13 +0000 (23:29 +0000)]
CachedReader can now perform optional post-processing of loaded objects. This is useful as the post processing only happens once and is then cached.

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

8 years agoAdded a FaceVaryingPromotionOp, which converts mesh primitive variables to FaceVaryin...
john.imageengine [Fri, 28 May 2010 23:10:20 +0000 (23:10 +0000)]
Added a FaceVaryingPromotionOp, which converts mesh primitive variables to FaceVarying interpolation. Added a test case for the same, and a todo to replace similar code in IECoreGL::MeshPrimitive.

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

8 years agoAdded inequality operator for PrimitiveVariable. Added binding and test for both...
john.imageengine [Fri, 28 May 2010 22:50:17 +0000 (22:50 +0000)]
Added inequality operator for PrimitiveVariable. Added binding and test for both equality and inequality operators.

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

8 years agoOptimisation - not calling bound() if we're not going to use it. This adds a couple...
john.imageengine [Fri, 28 May 2010 22:37:21 +0000 (22:37 +0000)]
Optimisation - not calling bound() if we're not going to use it. This adds a couple of seconds to the framerate for our main production procedural.

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

8 years agoThis test now crashes almost every time.
lucio.imageengine [Fri, 28 May 2010 22:07:46 +0000 (22:07 +0000)]
This test now crashes almost every time.

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

8 years agoadded MeshPrimitiveSmoothSkinningOp for review
carsten.kolve [Thu, 27 May 2010 07:26:02 +0000 (07:26 +0000)]
added MeshPrimitiveSmoothSkinningOp for review

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

8 years agoGot rid of GU_ProceduralDetail - information is now based on a regular GU_Detail...
danbethell [Thu, 27 May 2010 07:17:09 +0000 (07:17 +0000)]
Got rid of GU_ProceduralDetail - information is now based on a regular GU_Detail using a GB_ATTRIB_MIXED detail attribute. Interface now lists procedurals/versions in a combo menu. Added a reload button to refresh the procedural from disk. Added some more utility methods to CoreHoudini. Added mesh support to the FromHoudiniSopConverter including primitive and vertex variables. Updated tests to exercise new functionality.

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

8 years agoAttempted to document our convention for using smart pointers vs raw pointers in...
john.imageengine [Thu, 27 May 2010 01:17:42 +0000 (01:17 +0000)]
Attempted to document our convention for using smart pointers vs raw pointers in various calling situations.

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

8 years agoAdds doRenderState to prevent copious errors in FnProceduralHolderTest.
tom.imageengine [Wed, 26 May 2010 19:57:11 +0000 (19:57 +0000)]
Adds doRenderState to prevent copious errors in FnProceduralHolderTest.

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

8 years agoBumping version to 5.2 to celebrate addition of Houdini :)
tom.imageengine [Wed, 26 May 2010 18:02:36 +0000 (18:02 +0000)]
Bumping version to 5.2 to celebrate addition of Houdini :)

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

8 years agohoudini cxx flags override (rather than append to) original cxx flags
andrewk.imageengine [Tue, 25 May 2010 23:43:01 +0000 (23:43 +0000)]
houdini cxx flags override (rather than append to) original cxx flags

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

8 years agofixing description
andrewk.imageengine [Tue, 25 May 2010 21:53:15 +0000 (21:53 +0000)]
fixing description

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

8 years agoadding IECoreHoudini build and install to the main SConstruct and setting image engin...
andrewk.imageengine [Tue, 25 May 2010 21:05:32 +0000 (21:05 +0000)]
adding IECoreHoudini build and install to the main SConstruct and setting image engine specific values in the options file

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

8 years agotaking way easier on time/memory for test.
lucio.imageengine [Tue, 25 May 2010 17:56:21 +0000 (17:56 +0000)]
taking way easier on time/memory for test.

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

8 years agoMoving todo to the binding
ivan.imageengine [Tue, 25 May 2010 17:41:13 +0000 (17:41 +0000)]
Moving todo to the binding

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

8 years agoTaking easy on the memory requirement for the test.
lucio.imageengine [Tue, 25 May 2010 17:37:36 +0000 (17:37 +0000)]
Taking easy on the memory requirement for the test.

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

8 years agoAdded todo relating to SimpleTypedData True/False tests
ivan.imageengine [Tue, 25 May 2010 16:58:40 +0000 (16:58 +0000)]
Added todo relating to SimpleTypedData True/False tests

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

8 years agoAdding test case for curious crash.
lucio.imageengine [Tue, 25 May 2010 16:50:07 +0000 (16:50 +0000)]
Adding test case for curious crash.

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

8 years agoPost-review changes. Now operates on PrimitiveParameters. Has positionVar and velocit...
danbethell [Tue, 25 May 2010 02:48:10 +0000 (02:48 +0000)]
Post-review changes. Now operates on PrimitiveParameters. Has positionVar and velocityVar string attributes for specifying which variables to act on. Optional sampleLengthVar for specifying an addition pp-sample length value. Checks now throw runtime exceptions. Misc minor code changes. Updated test to reflect new features.

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

8 years agoAdded setup and teardown methods to tests. Test procedurals get picked up automatical...
danbethell@gmail.com [Sun, 23 May 2010 07:44:17 +0000 (07:44 +0000)]
Added setup and teardown methods to tests. Test procedurals get picked up automatically (no need to set the IECORE_PROCEDURALS_PATH). Removed underscores from test method names. Added the missing SOP icons. Updated SConscript to install icons.

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

8 years agoignoring *.pyc files
andrewk.imageengine [Fri, 21 May 2010 21:48:42 +0000 (21:48 +0000)]
ignoring *.pyc files

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

8 years agoignoring *.pyc files
andrewk.imageengine [Fri, 21 May 2010 19:31:33 +0000 (19:31 +0000)]
ignoring *.pyc files

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

8 years agoone last folder name change from last night
andrewk.imageengine [Fri, 21 May 2010 18:13:12 +0000 (18:13 +0000)]
one last folder name change from last night

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

8 years agoImproved IECoreRI::Renderer::getOption support to return anything the Rx API supports...
john.imageengine [Fri, 21 May 2010 17:08:23 +0000 (17:08 +0000)]
Improved IECoreRI::Renderer::getOption support to return anything the Rx API supports in response to an "ri:something" request. Also suppressed error messages for queries for options and attributes prefixed for another renderer type. Added test cases for both these things.

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

8 years agoAdding file needed by earlier commit.
john.imageengine [Fri, 21 May 2010 17:04:12 +0000 (17:04 +0000)]
Adding file needed by earlier commit.

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

8 years agoAdded a test demonstrating the gl points primitive working, with different widths...
john.imageengine [Fri, 21 May 2010 15:44:38 +0000 (15:44 +0000)]
Added a test demonstrating the gl points primitive working, with different widths specified by attributes.

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

8 years agoAdded PointVelocityDisplaceOp for review.
danbethell [Fri, 21 May 2010 07:26:05 +0000 (07:26 +0000)]
Added PointVelocityDisplaceOp for review.

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

8 years agoignoring _IECoreHoudini.so
andrewk.imageengine [Fri, 21 May 2010 02:07:58 +0000 (02:07 +0000)]
ignoring _IECoreHoudini.so

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

8 years agoignoring *.os files
andrewk.imageengine [Fri, 21 May 2010 02:06:23 +0000 (02:06 +0000)]
ignoring *.os files

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

8 years agoignoring *.os files
andrewk.imageengine [Fri, 21 May 2010 02:05:50 +0000 (02:05 +0000)]
ignoring *.os files

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

8 years agomoving plugin to dedicated folder
andrewk.imageengine [Fri, 21 May 2010 02:02:08 +0000 (02:02 +0000)]
moving plugin to dedicated folder

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

8 years agomoving src/hda to otls folder
andrewk.imageengine [Fri, 21 May 2010 02:00:40 +0000 (02:00 +0000)]
moving src/hda to otls folder

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

8 years agoFixed bug which prevented ClassVectorParameterUI updating correctly when switching...
john.imageengine [Thu, 20 May 2010 23:19:56 +0000 (23:19 +0000)]
Fixed bug which prevented ClassVectorParameterUI updating correctly when switching between nodes with the same parameters.

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

8 years agoAdded install build target which installs the various components in the correct place...
danbethell [Thu, 20 May 2010 22:48:33 +0000 (22:48 +0000)]
Added install build target which installs the various components in the correct place under CORTEX_ROOT

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

8 years agoNot ideal, but fixes two crashing bugs caused by AE redraws during parameter changes...
tom.imageengine [Thu, 20 May 2010 18:40:27 +0000 (18:40 +0000)]
Not ideal, but fixes two crashing bugs caused by AE redraws during parameter changes on a node.

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

8 years agoLowly unlabelled classes can have headers once more.
john.imageengine [Thu, 20 May 2010 17:55:47 +0000 (17:55 +0000)]
Lowly unlabelled classes can have headers once more.

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

8 years agoMore GIL locks in the right places.
john.imageengine [Thu, 20 May 2010 17:04:53 +0000 (17:04 +0000)]
More GIL locks in the right places.

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

8 years agoNow handling the GIL in all the necessary places. Also rendering the held Parameteris...
john.imageengine [Thu, 20 May 2010 17:04:00 +0000 (17:04 +0000)]
Now handling the GIL in all the necessary places. Also rendering the held ParameterisedProcedural immediately rather than with a Renderer::procedural call. This is slightly faster, but more importantly avoids a deadlock that could occur when the draw call for the procedural holder was directly caused by a python call (e.g. currentTime). In this case maya would be holding the GIL on the same thread that did the draw. When the procedural was spawned in a separate thread this thread would then be unable to get the GIL. We couldn't simply release the GIL from the scene() method, as the GIL wasn't always held on that thread (the draw call could originate from somewhere other than python). Attempted to make ScopedGILRelease work (silently do nothing) when used from a thread without the GIL, but couldn't see a way of determining if the current thread held the GIL using the public python C api. PyThreadState_IsCurrent is the function we need but it has been deliberately not exported.

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

8 years agoImproved GIL handling using new ScopedGILLock classes. Removed very iffy warning...
john.imageengine [Thu, 20 May 2010 16:57:49 +0000 (16:57 +0000)]
Improved GIL handling using new ScopedGILLock classes. Removed very iffy warning suppression which dates back to whichever maya version used python 2.4.

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

8 years agoAdded a method to retrieve the scene from a procedural holder using FnProceduralHolde...
john.imageengine [Thu, 20 May 2010 16:54:31 +0000 (16:54 +0000)]
Added a method to retrieve the scene from a procedural holder using FnProceduralHolder. I had hoped the test for this would reproduce a deadlock we've been seeing. Instead it showed a new problem due to the fact that maya (2010) is using tbb 2.1, and that requires explicit initialisation of the task scheduler. Fixed this in DeferredRendererImplementation::addProcedural.

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

8 years agoAdded pre-header call to allow parameters to be drawn before the icon (eg: Active...
tom.imageengine [Thu, 20 May 2010 15:54:42 +0000 (15:54 +0000)]
Added pre-header call to allow parameters to be drawn before the icon (eg: Active), and moved the class version menu into the main layer menu. Re-jigged spacing a little so that the header parameter UIs are smaller, and start at the same offset, regardless of indentation of the main controls.

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

8 years agoAdded copy constructor for PrimitiveVariable which allows deep copy of data to be...
john.imageengine [Wed, 19 May 2010 01:07:01 +0000 (01:07 +0000)]
Added copy constructor for PrimitiveVariable which allows deep copy of data to be taken.

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

8 years agoFixed typo and added clarification to documentation.
john.imageengine [Wed, 19 May 2010 01:04:55 +0000 (01:04 +0000)]
Fixed typo and added clarification to documentation.

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

8 years agoI felt these files needed a little more attention, as they hadn't been updated in...
tom.imageengine [Wed, 19 May 2010 00:55:21 +0000 (00:55 +0000)]
I felt these files needed a little more attention, as they hadn't been updated in quite a long time... :)

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

8 years agogit-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3367 07b78fde-9e1a-0410-98de...
tom.imageengine [Tue, 18 May 2010 23:15:57 +0000 (23:15 +0000)]
git-svn-id: cortex-vfx.googlecode.com/svn/trunk@3367 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoInitial Turbulence implementation.
tom.imageengine [Tue, 18 May 2010 22:56:31 +0000 (22:56 +0000)]
Initial Turbulence implementation.

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

8 years agoAdding filter scale.
tom.imageengine [Tue, 18 May 2010 22:51:10 +0000 (22:51 +0000)]
Adding filter scale.

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

8 years agoAdding filtered abs()
tom.imageengine [Tue, 18 May 2010 22:50:33 +0000 (22:50 +0000)]
Adding filtered abs()

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

8 years agoAdded test for creating and destroying ops from parallel threads. Trying to get to...
john.imageengine [Tue, 18 May 2010 18:40:54 +0000 (18:40 +0000)]
Added test for creating and destroying ops from parallel threads. Trying to get to the bottom of a bug somewhere but this apparently isn't it - no harm in having more test cases though.

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

8 years agoWorkaround for the popup menu not appearing on text fields.
tom.imageengine [Tue, 18 May 2010 18:13:15 +0000 (18:13 +0000)]
Workaround for the popup menu not appearing on text fields.

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

8 years agoAllowing classes in vector to specify a custom icon for their UI.
tom.imageengine [Tue, 18 May 2010 17:53:27 +0000 (17:53 +0000)]
Allowing classes in vector to specify a custom icon for their UI.

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

8 years agoAdding binding changes which should have been with previous commit.
john.imageengine [Tue, 18 May 2010 17:37:00 +0000 (17:37 +0000)]
Adding binding changes which should have been with previous commit.

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

8 years agoAdded additional render methods to Group to allow finer control over the rendering...
john.imageengine [Tue, 18 May 2010 17:34:48 +0000 (17:34 +0000)]
Added additional render methods to Group to allow finer control over the rendering. Added test cases to IECoreRI to verify behaviour, as there's not a particularly easy way of doing this in IECore right not. It might be nice to have a Renderer class which just builds a scene graph to verify things like this.

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

8 years agoAdded an attribute to the GL renderer to control whether or not procedurals will...
john.imageengine [Tue, 18 May 2010 17:25:17 +0000 (17:25 +0000)]
Added an attribute to the GL renderer to control whether or not procedurals will be executed in threads.

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

8 years agodeprecating function
andrewk.imageengine [Tue, 18 May 2010 00:35:41 +0000 (00:35 +0000)]
deprecating function

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

8 years agoInitial commit of Dr D's Houdini application support for Cortex - IECoreHoudini.
danbethell [Tue, 18 May 2010 00:17:12 +0000 (00:17 +0000)]
Initial commit of Dr D's Houdini application support for Cortex - IECoreHoudini.

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

8 years agoAllowing colours to be shown as 3 float fields.
tom.imageengine [Mon, 17 May 2010 23:48:36 +0000 (23:48 +0000)]
Allowing colours to be shown as 3 float fields.

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

8 years agoReleasing the GIL during Renderable::render() methods. This gave considerable speedup...
john.imageengine [Mon, 17 May 2010 22:54:27 +0000 (22:54 +0000)]
Releasing the GIL during Renderable::render() methods. This gave considerable speedups when rendering a hierarchy of nested procedurals into an IECoreGL::Renderer. Much of the time was taken triangulating meshes so this unlock allowed that to happen in parallel. A typical procedural nearly doubled in framerate with this change.

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

8 years agoImproving test case which before was sensitive to the order of construction of the...
john.imageengine [Mon, 17 May 2010 22:52:02 +0000 (22:52 +0000)]
Improving test case which before was sensitive to the order of construction of the InternedString keys in the value held by CompoundVectorParameter.

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

8 years agoAdded a constructor to allow AttributeState to accept a dictionary of attribute values.
john.imageengine [Mon, 17 May 2010 22:36:27 +0000 (22:36 +0000)]
Added a constructor to allow AttributeState to accept a dictionary of attribute values.

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

8 years agoAdded a converter from python dictionaries to CompoundDataPtr. This simplifies the...
john.imageengine [Mon, 17 May 2010 22:35:05 +0000 (22:35 +0000)]
Added a converter from python dictionaries to CompoundDataPtr. This simplifies the rest of the CompoundDataBinding, and fixes problems where nested dictionaries weren't converted to CompoundData correctly in the couple of places where we'd attempted hand conversions.

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

8 years agoReverting till we get to the real cause of the bug.
tom.imageengine [Mon, 17 May 2010 18:29:35 +0000 (18:29 +0000)]
Reverting till we get to the real cause of the bug.

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

8 years agoOptimised TriangulateOp by removing repeated calls to readable() and writable() from...
john.imageengine [Mon, 17 May 2010 17:58:22 +0000 (17:58 +0000)]
Optimised TriangulateOp by removing repeated calls to readable() and writable() from the inner loop.

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