bing Posted December 31, 2009 Share Posted December 31, 2009 I following the example of VOP_Switch.C provided by sidefx and created my own vop node. My own vop node could read more than one images paths and export them at the same time . I have finished the vop but have some problems, which are small but annoying . first , i create unordered inputs which are used to read the images paths. Those inputs don't have corresponding PRM_Templates. When hitting "create parameter" for those inputs , the parameter would be set as "string" , not "image". I want to know how i could let the vop know it need to create a "image" type for the inputs. Second thing would be more worse. I add an function "maxOutputs()const" to let the vop have the ability to export more than one outputs at the same time. It works great. But after i saved the file and reopen the file, all the connection between those inputs and output parameter are broken. I don't know how it happened. Everything else just works perfect. Can anybody help to resolve those problems? 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.