nicholas_yue Posted September 10, 2014 Share Posted September 10, 2014 Hi, Using the IMG_Raw.C example, I am writing out a custom format/display-driver. However, when I started adding "Extra Image Planes" in the mantra ROP, I noticed that each plane triggers a new instance of my IMG_File derived class, I believe that's cause by the call to IMG_Format::create(). Is the above to be expected and one should handle that in the ::create() method to only create one instance ? If not, what would be the correct approach ? Is there example code which handles multiple planes ? For my use case, I want perform the display-driver initialization once for all the planes and iterate each plane's data to send to the display application. Cheers Quote Link to comment Share on other sites More sharing options...
malexander Posted September 10, 2014 Share Posted September 10, 2014 In your custom IMG_Format class, override isDeepRasterSupported() to return true. That should cause your format to be recognized by SOHO as a multi-plane (AOV) image format. 1 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.