Hello,
I have an FxPlug plugin with two image wells and I simply want to get the textures. So I call:
double layerOffsetX1, layerOffsetY1; [getAPI getTexture:&clipTexture1 layerOffsetX:&layerOffsetX1 layerOffsetY:&layerOffsetY1 requestInfo:renderInfo fromParm:clip1 atTime:0]; double layerOffsetX2, layerOffsetY2; [getAPI getTexture:&clipTexture2 layerOffsetX:&layerOffsetX2 layerOffsetY:&layerOffsetY2 requestInfo:renderInfo fromParm:clip2 atTime:0];
The first getTexture always works. The second one (getTexture:&clipTexture2) throws an exception every other frame. This means that it works perfectly in one frame and it fails with the next frame and then it works again in the next frame.
There is nothing wrong with clipTexture2, because the same thing happens when I do this:
double layerOffsetX1, layerOffsetY1; [getAPI getTexture:&clipTexture1 layerOffsetX:&layerOffsetX1 layerOffsetY:&layerOffsetY1 requestInfo:renderInfo fromParm:clip1 atTime:0]; [getAPI getTexture:&clipTexture1 layerOffsetX:&layerOffsetX1 layerOffsetY:&layerOffsetY1 requestInfo:renderInfo fromParm:clip1 atTime:0];
The first getTexture call always works, the second one throws an exception in every other frame.
This is what I see in the Console:
2/20/13 12:06:43.528 PM [0x0-0x12a12a].com.apple.motionapp: PCUnsupportedOperationException: subclass must implement (/SourceCache/Motion/Motion-21312.1.2/Ozone/CompositorObject/OZImageGenerator.mm:217)
What's happening here? Is this a Motion bug?
regards Christoph Vonrhein
I use: Motion 5.0.6 and the newest FxPlug SDK 2.4
|