cortex-vfx:mainlinemirror.git
8 years agoTagging version 5.0.0a1. 5.0.0a1
john.imageengine [Fri, 12 Mar 2010 17:43:19 +0000 (17:43 +0000)]
Tagging version 5.0.0a1.

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

8 years agoAdding SH transfer matrix, SH product and the SH tensor.
lucio.imageengine [Fri, 12 Mar 2010 02:08:43 +0000 (02:08 +0000)]
Adding SH transfer matrix, SH product and the SH tensor.

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

8 years agoAdding assignment operator for constant value.
lucio.imageengine [Fri, 12 Mar 2010 02:07:10 +0000 (02:07 +0000)]
Adding assignment operator for constant value.

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

8 years agoAdding todo.
lucio.imageengine [Thu, 11 Mar 2010 17:51:38 +0000 (17:51 +0000)]
Adding todo.

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

8 years agoReserving a range on TypeIds for dynamically allocated ids. Using that range on pytho...
lucio.imageengine [Thu, 11 Mar 2010 17:43:57 +0000 (17:43 +0000)]
Reserving a range on TypeIds for dynamically allocated ids. Using that range on python RunTimeTyped derived classes ( Ops ).
Also deprecating the baseClass parameter on the registration function since python introspection does the job.

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

8 years agoUpdated for Nuke 5.2 and 6. Fixed crashes introduced by a special new field which...
john.imageengine [Thu, 11 Mar 2010 02:27:11 +0000 (02:27 +0000)]
Updated for Nuke 5.2 and 6. Fixed crashes introduced by a special new field which must be set to 0 even though you're not allowed to use it.

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

8 years agoAcquiring the GIL lock on python color converter calls and using boost::function...
lucio.imageengine [Wed, 10 Mar 2010 23:19:58 +0000 (23:19 +0000)]
Acquiring the GIL lock on python color converter calls and using boost::function on the registered converters.

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

8 years agoAdded build option to define the license file for nuke so the tests can run properly...
john.imageengine [Wed, 10 Mar 2010 22:43:19 +0000 (22:43 +0000)]
Added build option to define the license file for nuke so the tests can run properly. Got ie nuke build working again. We're using boost 1.38 for this as 1.42 doesn't work with python 2.5.

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

8 years agoFixing nuke converters now that name has been removed from Parameterised.
john.imageengine [Wed, 10 Mar 2010 22:41:25 +0000 (22:41 +0000)]
Fixing nuke converters now that name has been removed from Parameterised.

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

8 years agoRemoving confusing variable.
john.imageengine [Wed, 10 Mar 2010 18:16:13 +0000 (18:16 +0000)]
Removing confusing variable.

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

8 years agoupdating releaseAll.
lucio.imageengine [Wed, 10 Mar 2010 17:54:38 +0000 (17:54 +0000)]
updating releaseAll.

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

8 years agoReverting options to not affect lib names.
lucio.imageengine [Wed, 10 Mar 2010 17:45:46 +0000 (17:45 +0000)]
Reverting options to not affect lib names.

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

8 years agoMoving TreeGraphDependency class to private include dir. It is only used by Hierarchi...
lucio.imageengine [Wed, 10 Mar 2010 17:18:38 +0000 (17:18 +0000)]
Moving TreeGraphDependency class to private include dir. It is only used by HierarchicalCache and should probably stay like that.

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

8 years agoReplacing boost::mutex by tbb::mutex.
lucio.imageengine [Wed, 10 Mar 2010 02:14:33 +0000 (02:14 +0000)]
Replacing boost::mutex by tbb::mutex.

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

8 years agoEliminating usage of mutex now that reference counting is thread-safe.
lucio.imageengine [Wed, 10 Mar 2010 02:01:51 +0000 (02:01 +0000)]
Eliminating usage of mutex now that reference counting is thread-safe.

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

8 years agoThread-safe ScopedTIFFErrorHandler with simpler interface.
lucio.imageengine [Wed, 10 Mar 2010 01:50:37 +0000 (01:50 +0000)]
Thread-safe ScopedTIFFErrorHandler with simpler interface.

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

8 years agoRefactoring of LRUCache and CachedReader for thread safety and other things. Removed...
john.imageengine [Wed, 10 Mar 2010 00:23:02 +0000 (00:23 +0000)]
Refactoring of LRUCache and CachedReader for thread safety and other things. Removed GetterFn template parameter from LRUCache, passing getters to the constructor instead, and removing the need to pass a getter to the get() method. This makes LRUCaches with the same key and datatype interchangeable, and insulates the client from the actual get mechanism. Moved the concept of a failed get from the CachedReader into the LRUCache, simplifying the CachedReader implementation. Made the LRUCache threadsafe (hopefully), including the ability to be caching more than one object at a time.

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

8 years agoChanging Op classes by using raw pointers whenever possible.
lucio.imageengine [Tue, 9 Mar 2010 23:59:24 +0000 (23:59 +0000)]
Changing Op classes by using raw pointers whenever possible.

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

8 years agoFixing some of the tests for new image reader.
lucio.imageengine [Tue, 9 Mar 2010 21:16:55 +0000 (21:16 +0000)]
Fixing some of the tests for new image reader.

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

8 years agofixing maya and nuke lib names
andrewk.imageengine [Tue, 9 Mar 2010 20:41:08 +0000 (20:41 +0000)]
fixing maya and nuke lib names

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

8 years agoswitching boost versions based on python version. installing libs with boost version...
andrewk.imageengine [Tue, 9 Mar 2010 01:18:49 +0000 (01:18 +0000)]
switching boost versions based on python version. installing libs with boost version in name. updated release script

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

8 years agoAdded SearchPath::operator !=
john.imageengine [Tue, 9 Mar 2010 00:41:40 +0000 (00:41 +0000)]
Added SearchPath::operator !=

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

8 years agoReplacing some Object methods that used IntrusivePtr by raw pointers.
lucio.imageengine [Mon, 8 Mar 2010 22:55:09 +0000 (22:55 +0000)]
Replacing some Object methods that used IntrusivePtr by raw pointers.

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

8 years agoFixing IE_CORE_DECLAREOBJECTMEMBERFNS when used outside IECore.
lucio.imageengine [Fri, 5 Mar 2010 02:07:32 +0000 (02:07 +0000)]
Fixing IE_CORE_DECLAREOBJECTMEMBERFNS when used outside IECore.

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

8 years agoignoring lib and plugins directories
andrewk.imageengine [Fri, 5 Mar 2010 01:20:58 +0000 (01:20 +0000)]
ignoring lib and plugins directories

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

8 years agoFixing IECoreMaya for IntrusivePtr usage.
lucio.imageengine [Fri, 5 Mar 2010 01:04:43 +0000 (01:04 +0000)]
Fixing IECoreMaya for IntrusivePtr usage.

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

8 years agoremoving boost namespace from pointer casts
andrewk.imageengine [Fri, 5 Mar 2010 00:45:25 +0000 (00:45 +0000)]
removing boost namespace from pointer casts

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

8 years agoFixed threading bug in CurvesPrimitiveEvaluator::closestPoint().
john.imageengine [Fri, 5 Mar 2010 00:27:35 +0000 (00:27 +0000)]
Fixed threading bug in CurvesPrimitiveEvaluator::closestPoint().

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

8 years agoactually installing IECorePython
andrewk.imageengine [Fri, 5 Mar 2010 00:18:36 +0000 (00:18 +0000)]
actually installing IECorePython

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

8 years agoFixing IntrusivePtr usage on IECoreGL.
lucio.imageengine [Thu, 4 Mar 2010 23:43:55 +0000 (23:43 +0000)]
Fixing IntrusivePtr usage on IECoreGL.

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

8 years agoAdding IntrusivePtr class to replace boost::intrusive_ptr giving implicit conversion...
lucio.imageengine [Thu, 4 Mar 2010 22:32:29 +0000 (22:32 +0000)]
Adding IntrusivePtr class to replace boost::intrusive_ptr giving implicit conversion to raw pointers. That will keep the syntax clear when we start replacing intrusive pointers by raw pointers in Cortex.

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

8 years agotearing down better
andrewk.imageengine [Thu, 4 Mar 2010 22:14:32 +0000 (22:14 +0000)]
tearing down better

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

8 years agoVerified that atomic reference counting had already fixed the CurvesPrimitiveEvaluato...
john.imageengine [Thu, 4 Mar 2010 22:00:53 +0000 (22:00 +0000)]
Verified that atomic reference counting had already fixed the CurvesPrimitiveEvaluator::createResult bug, and removed the todo for fixing it.

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

8 years agosetting svn:ignore
andrewk.imageengine [Thu, 4 Mar 2010 20:35:36 +0000 (20:35 +0000)]
setting svn:ignore

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

8 years agosetting svn ignore
andrewk.imageengine [Thu, 4 Mar 2010 20:02:43 +0000 (20:02 +0000)]
setting svn ignore

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

8 years agotearDown
andrewk.imageengine [Thu, 4 Mar 2010 19:56:01 +0000 (19:56 +0000)]
tearDown

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

8 years agoRemoving unecessary include.
john.imageengine [Thu, 4 Mar 2010 18:45:59 +0000 (18:45 +0000)]
Removing unecessary include.

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

8 years agoGIL locking for all Wrapper virtual overrides which fall back into python. GIL releas...
john.imageengine [Thu, 4 Mar 2010 18:19:34 +0000 (18:19 +0000)]
GIL locking for all Wrapper virtual overrides which fall back into python. GIL releases for Op::operate, Reader::read and Writer::write. Test cases to demonstrate that this works and we can get concurrency gains by calling Ops, Readers and Writers from python threads.

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

8 years agoUpdated comments based on previous changes.
john.imageengine [Thu, 4 Mar 2010 18:15:58 +0000 (18:15 +0000)]
Updated comments based on previous changes.

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

8 years agoRemoved todo which is done already.
john.imageengine [Thu, 4 Mar 2010 18:15:04 +0000 (18:15 +0000)]
Removed todo which is done already.

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

8 years agoignoring test results
andrewk.imageengine [Thu, 4 Mar 2010 18:13:42 +0000 (18:13 +0000)]
ignoring test results

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

8 years agoRemoved unused variables.
john.imageengine [Thu, 4 Mar 2010 18:02:50 +0000 (18:02 +0000)]
Removed unused variables.

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

8 years agoFixed test so it runs ok when run with other tests.
john.imageengine [Thu, 4 Mar 2010 00:37:37 +0000 (00:37 +0000)]
Fixed test so it runs ok when run with other tests.

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

8 years agoFixing crazy indentation.
john.imageengine [Thu, 4 Mar 2010 00:03:50 +0000 (00:03 +0000)]
Fixing crazy indentation.

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

8 years agoFixing crazy indentation.
john.imageengine [Wed, 3 Mar 2010 23:58:52 +0000 (23:58 +0000)]
Fixing crazy indentation.

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

8 years agoEnabled threading for Renderer.Procedural and ParameterisedProcedural, by having...
john.imageengine [Wed, 3 Mar 2010 19:08:56 +0000 (19:08 +0000)]
Enabled threading for Renderer.Procedural and ParameterisedProcedural, by having them acquire the GIL when calling python method overrides. Releasing the GIL in Renderer.worldEnd() so that the procedurals can get a go in the interpreter and we don't hit deadlock. Added a test case to verify that we can perform renders direct to 3delight using these procedurals in both the old single threaded way and the new threaded way. The test provides some useful notes on how to go about achieving both of these things. This now opens up a can of worms where we need to consider the thread safety and GIL issues with the rest of the library so we can get the rest of everything working, but it seems worth committing at this stage as it provides a useful model of the necessary changes in bindings, and we're also no worse off than previously where we had to be single threaded.

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

8 years agoAdded some utility classes for GIL juggling, so we can start to use python's (incredi...
john.imageengine [Wed, 3 Mar 2010 18:30:17 +0000 (18:30 +0000)]
Added some utility classes for GIL juggling, so we can start to use python's (incredibly limited) support for threading.

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

8 years agoAdding test case for thread safe ref counting.
lucio.imageengine [Tue, 2 Mar 2010 23:35:07 +0000 (23:35 +0000)]
Adding test case for thread safe ref counting.

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

8 years agoUsing tbb::atomic to guarantee thread safe reference counting on RefCounted class.
lucio.imageengine [Tue, 2 Mar 2010 23:33:58 +0000 (23:33 +0000)]
Using tbb::atomic to guarantee thread safe reference counting on RefCounted class.

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

8 years agoCalls to the python procedural may now be threaded. This is of limited use right...
john.imageengine [Tue, 2 Mar 2010 22:41:14 +0000 (22:41 +0000)]
Calls to the python procedural may now be threaded. This is of limited use right now as we're not releasing the GIL in any of our bindings, but as we start to do that we should start to see the benefits.

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

8 years agoMoved the nasty WrapperGarbageCollectorBase class out of IECore, merging it with...
john.imageengine [Tue, 2 Mar 2010 01:24:29 +0000 (01:24 +0000)]
Moved the nasty WrapperGarbageCollectorBase class out of IECore, merging it with the WrapperGarbageCollector in IECorePython. All python modules now link to libIECorePython to resolve the merged symbols. Also fixed python module builds broken by previous commit.

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

8 years agoFixed header installation for new IECorePython library.
john.imageengine [Tue, 2 Mar 2010 01:03:54 +0000 (01:03 +0000)]
Fixed header installation for new IECorePython library.

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

8 years agoMoved python bindings for IECore into an IECorePython library. We can then put other...
john.imageengine [Tue, 2 Mar 2010 00:22:32 +0000 (00:22 +0000)]
Moved python bindings for IECore into an IECorePython library. We can then put other python related functionality in this library, allowing it to be used by other code elsewhere.

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

8 years agoFixing dir structure for procedurals.
lucio.imageengine [Mon, 1 Mar 2010 18:40:50 +0000 (18:40 +0000)]
Fixing dir structure for procedurals.

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

8 years agoRelaxing test to allow for minor change in 3delight output with recent versions.
john.imageengine [Fri, 26 Feb 2010 22:49:23 +0000 (22:49 +0000)]
Relaxing test to allow for minor change in 3delight output with recent versions.

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

8 years agoAdded WorldBlock and TransformBlock along the lines of the existing AttributeBlock...
john.imageengine [Fri, 26 Feb 2010 18:25:45 +0000 (18:25 +0000)]
Added WorldBlock and TransformBlock along the lines of the existing AttributeBlock class.

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

8 years agoRenderer::light() method is now passed a light handle explicitly. Added a Renderer...
john.imageengine [Fri, 26 Feb 2010 18:13:14 +0000 (18:13 +0000)]
Renderer::light() method is now passed a light handle explicitly. Added a Renderer::illuminate() method for turning lights on and off. Updated CoreRI tests for these new methods.

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

8 years agoFixing TGA reader when idLength != 0.
lucio.imageengine [Thu, 25 Feb 2010 22:44:29 +0000 (22:44 +0000)]
Fixing TGA reader when idLength != 0.

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

8 years agoImplemented the attribute stack for SxRenderer. Currently attributes aren't passed...
john.imageengine [Thu, 25 Feb 2010 19:45:55 +0000 (19:45 +0000)]
Implemented the attribute stack for SxRenderer. Currently attributes aren't passed to the SxContext as I can't get SxSetAttribute to behave, and the inheritance of one context by the next is apparently broken too.

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

8 years agoPorting bugfix from 4_maintenance branch.
john.imageengine [Thu, 25 Feb 2010 00:51:07 +0000 (00:51 +0000)]
Porting bugfix from 4_maintenance branch.

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

8 years agoReplacing Euclidian->Euclidean
lucio.imageengine [Wed, 24 Feb 2010 19:57:22 +0000 (19:57 +0000)]
Replacing Euclidian->Euclidean

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

8 years agoEliminating print statements from test unit.
lucio.imageengine [Wed, 24 Feb 2010 19:54:27 +0000 (19:54 +0000)]
Eliminating print statements from test unit.

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

8 years agoNo longer providing default values for color and opacity - 3delight seems happy not...
john.imageengine [Wed, 24 Feb 2010 19:42:00 +0000 (19:42 +0000)]
No longer providing default values for color and opacity - 3delight seems happy not to crash when they're not missing and will take their values from an attribute instead.

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

8 years agoFixing spline interval() implementation.
lucio.imageengine [Wed, 24 Feb 2010 19:34:52 +0000 (19:34 +0000)]
Fixing spline interval() implementation.

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

8 years agoRemoving print statement.
john.imageengine [Wed, 24 Feb 2010 18:29:25 +0000 (18:29 +0000)]
Removing print statement.

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

8 years agoApplying color conversion on Image readers/writers.
lucio.imageengine [Wed, 24 Feb 2010 02:11:03 +0000 (02:11 +0000)]
Applying color conversion on Image readers/writers.
Changing ImagePrimitive specs reinforcing the fact that Cortex will provide image Ops that accept float channel types only (including the color conversion on the reader/writers).
The ImageWriter has now a "rawChannels" parameter like the reader so users that choose to work with raw channels can bypass the color conversion.
Fixing DPX/CIN image readers when returning raw data.
Fixing all test cases.

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

8 years agoAdded support for more shader parameter types in SXRenderer.
john.imageengine [Wed, 24 Feb 2010 02:11:00 +0000 (02:11 +0000)]
Added support for more shader parameter types in SXRenderer.

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

8 years agoMore work on SXRenderer. Now deals with more predefined variables (s and t for instan...
john.imageengine [Wed, 24 Feb 2010 00:40:20 +0000 (00:40 +0000)]
More work on SXRenderer. Now deals with more predefined variables (s and t for instance) and provides default values to avoid crashes. Also now supports Spline parameters to shaders.

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

8 years agoFirst prototype of an interface for executing renderman shaders using the Sx library...
john.imageengine [Tue, 23 Feb 2010 20:07:50 +0000 (20:07 +0000)]
First prototype of an interface for executing renderman shaders using the Sx library in 3delight. Implementation is provided as a Renderer subclass so options, attributes, transforms and shaders may be specified using the same code that would declare them for rendering or rib generation. Current implementation only supports surface shaders with limited parameter types and doesn't implement the attribute or transform stack at all.

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

8 years agoCleaning up code.
lucio.imageengine [Tue, 23 Feb 2010 01:33:26 +0000 (01:33 +0000)]
Cleaning up code.

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

8 years agoAdding simple test for RAW read.
lucio.imageengine [Tue, 23 Feb 2010 01:05:25 +0000 (01:05 +0000)]
Adding simple test for RAW read.

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

8 years agoChanging channel parameters so that each channel is named in a separate string vector...
lucio.imageengine [Tue, 23 Feb 2010 01:04:57 +0000 (01:04 +0000)]
Changing channel parameters so that each channel is named in a separate string vector value.

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

8 years agoAdding "rawChannels" parameter in ImageReader and making derived classes to read...
lucio.imageengine [Mon, 22 Feb 2010 21:45:26 +0000 (21:45 +0000)]
Adding "rawChannels" parameter in ImageReader and making derived classes to read the channels on either a "raw" data type or as float.

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

8 years agoModifies the CompoundParameter to skip any values missing from the object provided...
tom.imageengine [Sat, 20 Feb 2010 02:00:46 +0000 (02:00 +0000)]
Modifies the CompoundParameter to skip any values missing from the object provided to setValue(). Previously they were set to a new NoneObject, which causes many problems later on.
Tests updated to reflect this new behaviour.

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

8 years agoAdded utility member<>() methods to CompoundData to ease access to children. This...
john.imageengine [Sat, 20 Feb 2010 00:35:28 +0000 (00:35 +0000)]
Added utility member<>() methods to CompoundData to ease access to children. This necessitated moving CompoundData to CompoundDataBase as we can't add methods to instantiations of a template class. Also performed some todo items in CompoundDataBinding.cpp.

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

8 years agoAdding missing file.
john.imageengine [Thu, 18 Feb 2010 17:27:12 +0000 (17:27 +0000)]
Adding missing file.

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

8 years agoModified Reader and bindings so that Readers can be implemented in python. Implemente...
john.imageengine [Thu, 18 Feb 2010 01:03:01 +0000 (01:03 +0000)]
Modified Reader and bindings so that Readers can be implemented in python. Implemented an IDXReader for Leica Geosystems files.

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

8 years agoUpdating IEBuild to 3.0.0 to use new directory structure for ops/procedurals.
lucio.imageengine [Wed, 17 Feb 2010 18:26:00 +0000 (18:26 +0000)]
Updating IEBuild to 3.0.0 to use new directory structure for ops/procedurals.

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

8 years agoRemoved todo that is done.
john.imageengine [Wed, 17 Feb 2010 02:13:03 +0000 (02:13 +0000)]
Removed todo that is done.

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

8 years agoAdded antialiasing to PerlinNoise and Turbulence classes, fixing the failing turbulen...
john.imageengine [Wed, 17 Feb 2010 01:52:47 +0000 (01:52 +0000)]
Added antialiasing to PerlinNoise and Turbulence classes, fixing the failing turbulence test case. This necessitated making lacunarity a scalar rather than a vector.

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

8 years agoBreaking file directory structure for ClassLoader for performance.
lucio.imageengine [Wed, 17 Feb 2010 00:16:31 +0000 (00:16 +0000)]
Breaking file directory structure for ClassLoader for performance.
There's no version subdirectories, which were really slow to explore as symbolic links.
It's also not exploring directories which contain files with the same name, to prevent exploring shader dirs with no .py for example.
Updating PresetManager and test cases.

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

8 years agoRemoving deprecated function.
john.imageengine [Tue, 16 Feb 2010 23:11:10 +0000 (23:11 +0000)]
Removing deprecated function.

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

8 years agoFixing argument description for OpBinding.
john.imageengine [Tue, 16 Feb 2010 22:59:41 +0000 (22:59 +0000)]
Fixing argument description for OpBinding.

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

8 years agoFixed bug which meant that the result attribute wasn't created when calling OpHolder...
john.imageengine [Tue, 16 Feb 2010 22:54:41 +0000 (22:54 +0000)]
Fixed bug which meant that the result attribute wasn't created when calling OpHolder::setParameterised( RunTimeTypedPtr ).

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

8 years agoMade it a requirement that iterators passed to InverseDistanceWeightedInterpolation...
john.imageengine [Tue, 16 Feb 2010 18:45:34 +0000 (18:45 +0000)]
Made it a requirement that iterators passed to InverseDistanceWeightedInterpolation are RandomAccessIterators. This means we don't have to copy all the values into a map internally and also gives a 35% speedup in tests. If it's really essential to use this with iterators which aren't random access then the values can always be copied into a vector prior to using InverseDistanceWeightedInterpolation. It seems to make sense to do the copying only in this worst case scenario (where the speedup would also be evident) than to do the copying and have poor performance all the time.

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

8 years agoImplemented a binding for InverseDistanceWeightedInterpolation which takes a VectorDa...
john.imageengine [Tue, 16 Feb 2010 18:15:06 +0000 (18:15 +0000)]
Implemented a binding for InverseDistanceWeightedInterpolation which takes a VectorData argument and returns a VectorData result. Added a call operator for InverseDistanceWeightedInterpolation which takes a NeighbourVector passed from the outside, which gives 15% speedups for the test case included.

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

8 years agoRemoving unecessary file writing and printing from test.
john.imageengine [Tue, 16 Feb 2010 17:42:38 +0000 (17:42 +0000)]
Removing unecessary file writing and printing from test.

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

8 years agoRemoved old and slow version of KDTree::nearestNNeighbours.
john.imageengine [Tue, 16 Feb 2010 03:09:10 +0000 (03:09 +0000)]
Removed old and slow version of KDTree::nearestNNeighbours.

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

8 years agoRemoving deprecated attribute style access for Parameterised, CompoundParameters...
john.imageengine [Tue, 16 Feb 2010 00:15:52 +0000 (00:15 +0000)]
Removing deprecated attribute style access for Parameterised, CompoundParameters and CompoundObjects, as well as dictionary style specification of Parameter presets.

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

8 years agoRemoved name() field from Paramerised classes - it was pretty much just duplicating...
john.imageengine [Mon, 15 Feb 2010 20:19:08 +0000 (20:19 +0000)]
Removed name() field from Paramerised classes - it was pretty much just duplicating typeName() but in a useless way, and introducing a bunch of ambiguity.

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

8 years agoFixing SplitStream for python 2.6.
john.imageengine [Mon, 15 Feb 2010 20:04:21 +0000 (20:04 +0000)]
Fixing SplitStream for python 2.6.

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

8 years agoHiding internal ClassLoader from interface and instead, giving access to SearchPath...
lucio.imageengine [Mon, 15 Feb 2010 18:06:14 +0000 (18:06 +0000)]
Hiding internal ClassLoader from interface and instead, giving access to SearchPath object.
Adding factory function.

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

8 years agoAdding PresetManager class with test unit.
lucio.imageengine [Mon, 15 Feb 2010 17:34:54 +0000 (17:34 +0000)]
Adding PresetManager class with test unit.

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

8 years agoRemoving unnecessary include.
john.imageengine [Sat, 13 Feb 2010 01:21:36 +0000 (01:21 +0000)]
Removing unnecessary include.

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

8 years agoRenderable::render now takes a raw pointer rather than a smart pointer.
john.imageengine [Sat, 13 Feb 2010 00:34:06 +0000 (00:34 +0000)]
Renderable::render now takes a raw pointer rather than a smart pointer.

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

8 years agoRemoved todo which has been done.
john.imageengine [Fri, 12 Feb 2010 22:21:31 +0000 (22:21 +0000)]
Removed todo which has been done.

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

8 years agoApplied new smart pointer calling conventions to Primitive derived classes.
john.imageengine [Fri, 12 Feb 2010 18:29:43 +0000 (18:29 +0000)]
Applied new smart pointer calling conventions to Primitive derived classes.

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

8 years agoInternedString construction is now threadsafe.
john.imageengine [Fri, 12 Feb 2010 02:48:22 +0000 (02:48 +0000)]
InternedString construction is now threadsafe.

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

8 years agoMade RefCounted class derived from boost::noncopyable - removed the same base class...
john.imageengine [Thu, 11 Feb 2010 22:44:46 +0000 (22:44 +0000)]
Made RefCounted class derived from boost::noncopyable - removed the same base class from various derived classes of RefCounted to avoid double inheritance. Fixed up IndexedIOInterfaceBinding.cpp to use RefCountedClass appropriately.

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

8 years agoImplemented todo by passing operands to Writer::doWrite methods. The derived classes...
john.imageengine [Thu, 11 Feb 2010 22:12:54 +0000 (22:12 +0000)]
Implemented todo by passing operands to Writer::doWrite methods. The derived classes are still behaving badly and accessing Parameters directly in their implementations (as do many Ops) but at least now we can fix those one by one without breaking binary compatibility. Also Modified Writer::object() to return a raw pointer in line with the new convention.

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