google-code-export / cortex-vfx

Automatically exported from code.google.com/p/cortex-vfx
0 stars 0 forks source link

vertCacheProcedural #46

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by wildpa...@gmail.com on 7 Mar 2012 at 6:00

Attachments:

GoogleCodeExporter commented 9 years ago
sudo scons -j8 install INSTALL_PREFIX=$CORTEX_PATH 
LIBPATH=/usr/lib:/usr/local/lib:/lib:$MAYA_PATH/lib:$MAYA_PATH/lib/python2.6/sit
e-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=\"\""

Original comment by wildpa...@gmail.com on 7 Mar 2012 at 6:03

GoogleCodeExporter commented 9 years ago
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

Original comment by wildpa...@gmail.com on 7 Mar 2012 at 6:17

GoogleCodeExporter commented 9 years ago
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.

Original comment by thehaddo...@gmail.com on 7 Mar 2012 at 12:25

GoogleCodeExporter commented 9 years ago
i use r4615 and use this procedural.
http://code.google.com/p/cortex-vfx/wiki/ExamplesProceduralsAnimatedMesh

another error occur.

Original comment by wildpa...@gmail.com on 7 Mar 2012 at 1:52

Attachments:

GoogleCodeExporter commented 9 years ago
ERROR : vertCacheProcedural::doBound : Cache contains no bound for object "sp1".
ERROR : vertCacheProcedural::doRender : Cache contains no points for object 
"sp1".

Original comment by wildpa...@gmail.com on 7 Mar 2012 at 5:27