[Sidefx-houdini-list] wired file sequence read offset

Edward Lam edward at sidefx.com
Mon Feb 22 09:04:27 EST 2010

katrin schmid wrote:
>> 1 frame : /home/katrins/test_data/rigCache/brc/rig.11.br
>> 2 frame : /home/katrins/test_data/rigCache/brc/rig.21.brc

It's not clear to me what you're printing as the first number here so 
it's hard to tell what the issue is.

>     frame = OPgetDirector()->getChannelManager()->getSample(context.myTime)+ m_timeOffset;
>     float now = context.myTime;

Instead of calling CH_Manager::getSample(), you could have also just 
used OP_Context::getFrame() or OP_Context::getFloatFrame(). It's also a 
better idea to use OP_Context::getTime() instead accessing 
OP_Context::myTime directly.


More information about the Sidefx-houdini-list mailing list