Issue 46 in cortex-vfx: vertCacheProcedural

7 views
Skip to first unread message

corte...@googlecode.com

unread,
Mar 7, 2012, 1:01:07 AM3/7/12
to cortex...@googlegroups.com
Status: New
Owner: ----

New issue 46 by wildpa...@gmail.com: vertCacheProcedural
http://code.google.com/p/cortex-vfx/issues/detail?id=46

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
>>> Traceback (most recent call last):

File "/usr/local/cortex-nuke/procedurals/vertCacheProcedural/vertCacheProcedural-1.py",
line 61, in doBound
animationCache = self.__animationCache( args )

File "/usr/local/cortex-nuke/procedurals/vertCacheProcedural/vertCacheProcedural-1.py",
line 153, in __animationCache
self.__lastAnimationCache = IECore.InterpolatedCache( sequence, 0.0,
IECore.InterpolatedCache.Interpolation.Linear,
IECore.OversamplesCalculator( 24.0, 1 ) )
Boost.Python.ArgumentError: Python argument types in
InterpolatedCache.__init__(InterpolatedCache, str, float,
Interpolation, OversamplesCalculator)
did not match C++ signature:
__init__(_object*, std::string pathTemplate='',
IECore::InterpolatedCache::Interpolation
interpolation=IECore._IECore.Interpolation.None,
IECore::OversamplesCalculator oversamplesCalculator=<IECore._IECore.Over
samplesCalculator object at 0x7fd559539cf8>, unsigned long maxOpenFiles=10)
Traceback (most recent call last):

File "/usr/local/cortex-nuke/procedurals/vertCacheProcedural/vertCacheProcedural-1.py",
line 100, in doRender
animationCache = self.__animationCache( args )

File "/usr/local/cortex-nuke/procedurals/vertCacheProcedural/vertCacheProcedural-1.py",
line 153, in __animationCache
self.__lastAnimationCache = IECore.InterpolatedCache( sequence, 0.0,
IECore.InterpolatedCache.Interpolation.Linear,
IECore.OversamplesCalculator( 24.0, 1 ) )
Boost.Python.ArgumentError: Python argument types in
InterpolatedCache.__init__(InterpolatedCache, str, float,
Interpolation, OversamplesCalculator)
did not match C++ signature:
__init__(_object*, std::string pathTemplate='',
IECore::InterpolatedCache::Interpolation
interpolation=IECore._IECore.Interpolation.None,
IECore::OversamplesCalculator oversamplesCalculator=<IECore._IECore.Over
samplesCalculator object at 0x7fd559539cf8>, unsigned long maxOpenFiles=10)


What version of the product are you using? On what operating system?


Please provide any additional information below.

Attachments:
vcache2.png 18.8 KB

corte...@googlecode.com

unread,
Mar 7, 2012, 1:05:09 AM3/7/12
to cortex...@googlegroups.com

Comment #1 on issue 46 by wildpa...@gmail.com: vertCacheProcedural
http://code.google.com/p/cortex-vfx/issues/detail?id=46

sudo scons -j8 install INSTALL_PREFIX=$CORTEX_PATH
LIBPATH=/usr/lib:/usr/local/lib:/lib:$MAYA_PATH/lib:$MAYA_PATH/lib/python2.6/site-packages/maya
MAYA_ROOT=$MAYA_PATH WITH_MAYA_PLUGIN_LOADER=1
BOOST_INCLUDE_PATH=/usr/local/include/boost-1_46_g413/include/boost-1_46_1
BOOST_LIB_PATH=/usr/local/include/boost-1_46_g413/lib
BOOST_LIB_SUFFIX=-gcc41-mt-1_46_1 OPENEXR_INCLUDE_PATH=/usr/include/OpenEXR
OPENEXR_LIB_PATH=/usr/lib FREETYPE_INCLUDE_PATH=/usr/include/freetype2
FREETYPE_LIB_PATH=/usr/lib GLEW_INCLUDE_PATH=/usr/include/GL
GLEW_LIB_PATH=/usr/lib WITH_GL=true NUKE_ROOT=/usr/local/Nuke6.3v2
DOXYGEN=/usr/bin/doxygen RMAN_ROOT=$ELIGHT_PATH
HOUDINI_ROOT=/opt/hfs12.0.557 HOUDINI_CXX_FLAGS="-DVERSION=\"12.0.557\"
-D_GNU_SOURCE -DLINUX -DAMD64 -m64 -fPIC -DSIZEOF_VOID_P=8
-DSESI_LITTLE_ENDIAN -DENABLE_THREADS -DUSE_PTHREADS -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -c -DGCC4 -DGCC3 -Wno-deprecated
-I/opt/hfs11.1.215/toolkit/include
-I/opt/hfs12.0.557/toolkit/include/htools -Wall -W -Wno-parentheses
-Wno-sign-compare -Wno-reorder -Wno-uninitialized -Wunused
-Wno-unused-parameter -O2 -DDLLEXPORT=\"\""


corte...@googlecode.com

unread,
Mar 7, 2012, 1:18:15 AM3/7/12
to cortex...@googlegroups.com

Comment #2 on issue 46 by wildpa...@gmail.com: vertCacheProcedural
http://code.google.com/p/cortex-vfx/issues/detail?id=46

gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++ --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--with-tune=generic --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.1.3 20080704 (prerelease) (Ubuntu 4.1.2-27ubuntu1)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
ubuntu 10.04


corte...@googlecode.com

unread,
Mar 7, 2012, 7:25:27 AM3/7/12
to cortex...@googlegroups.com

Comment #3 on issue 46 by thehaddo...@gmail.com: vertCacheProcedural
http://code.google.com/p/cortex-vfx/issues/detail?id=46

What version of cortex are you using, and where did you get the
vertCacheProcedural? If you take a look at the wiki here you'll see an
updated version which works with the latest versions of cortex :

http://code.google.com/p/cortex-vfx/wiki/ExamplesProceduralsAnimatedMesh

It looks to me as if you have got an old version of the vertCacheProcedural
from somewhere, and are trying to use it with a recent Cortex version.

corte...@googlecode.com

unread,
Mar 7, 2012, 8:53:18 AM3/7/12
to cortex...@googlegroups.com

Comment #4 on issue 46 by wildpa...@gmail.com: vertCacheProcedural
http://code.google.com/p/cortex-vfx/issues/detail?id=46

i use r4615 and use this procedural.
http://code.google.com/p/cortex-vfx/wiki/ExamplesProceduralsAnimatedMesh

another error occur.


Attachments:
ca1.JPG 191 KB

corte...@googlecode.com

unread,
Mar 7, 2012, 12:28:11 PM3/7/12
to cortex...@googlegroups.com

Comment #5 on issue 46 by wildpa...@gmail.com: vertCacheProcedural
http://code.google.com/p/cortex-vfx/issues/detail?id=46

ERROR : vertCacheProcedural::doBound : Cache contains no bound for
object "sp1".
ERROR : vertCacheProcedural::doRender : Cache contains no points for
object "sp1".


Reply all
Reply to author
Forward
0 new messages