hoknamahn Posted June 16, 2005 Share Posted June 16, 2005 I'm looking for examples of COP generator/filter. And one question: how to get access to an array of pixels? Quote Link to comment Share on other sites More sharing options...
hoknamahn Posted July 23, 2005 Author Share Posted July 23, 2005 The second attempt: somebody can say, how to write/read to/from image planes? I want to rewrite my VEX type Material COP filter with HDK. http://www.cgtalk.ru/~hoknamahn/portfolio/...COP0.9aDemo.avi Probably somebody has this file? toolkit/html/cop/index.html Any help is appreciated. Quote Link to comment Share on other sites More sharing options...
AndrewVK Posted July 24, 2005 Share Posted July 24, 2005 Hey Hok u have this one: SOP_CopRaster Quote Link to comment Share on other sites More sharing options...
hoknamahn Posted July 24, 2005 Author Share Posted July 24, 2005 Yes, I'll check this later. Thanks, Andrew. Quote Link to comment Share on other sites More sharing options...
hoknamahn Posted July 24, 2005 Author Share Posted July 24, 2005 I have one question. When I try to compile my custom cop, I receive the message COP2_Material.c: In static member function `static OP_Node* Quote Link to comment Share on other sites More sharing options...
Mario Marengo Posted July 24, 2005 Share Posted July 24, 2005 I'm not sure what does it mean. Hey Hok, Don't know the specifics of this case, but what the compiler is trying to tell you is that COP2_Material is an abstract class (has one or more pure virtual members) and therefore cannot be instantiated. I'm guessing that COP2_Material is your own custom class which derives from COP2_Node... but COP2_Node is abstract! (specifically, the method cookSequenceInfo(OP_ERROR&) is not implemented). So, unless you know how to go about implementing the cookSequenceInfo(OP_ERROR&) method, I'd suggest deriving from something further down the hierarchy -- a quick scan of the hierarchy seems to suggest that any class below (and including) COP2_MultiBase, COP2_PixelBase, and COP2_TimingBase should be OK... though I'd probably go with one of the main leaf classes: COP2_Generator or COP2_PixelOp. But I haven't written any cop stuff so I could be all wrong about this... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.