You need a crop node following your OFX plugin.
There, set the new output size and enable reformat.

-Volker

On Thu, 19 Apr 2012 19:17:07 +0200
Víctor M. Feliz (MOTIVA) <vic...@motivacg.com> wrote:

> Thank you to everyone for the responses I've tried this but without luck
> neither.
> 
> OfxStatus rst_getSpatialRoD( OfxImageEffectHandle  effect,
> OfxPropertySetHandle inArgs,  OfxPropertySetHandle outArgs)
> {
>   // retrieve any instance data associated with this effect
>   realStereoInstanceData *myData = getrealStereoInstanceData(effect);
> 
>   OfxTime time;
>   gPropHost->propGetDouble(inArgs, kOfxPropTime, 0, &time);
> 
>   // my RoD is the same as my input's
>   OfxRectD rod;
>   gEffectHost->clipGetRegionOfDefinition(myData->sourceClip, time, &rod);
>   rod.x2=rod.x2+(rod.x2-rod.x1); // TRYING TO MAKE X DOUBLE
> 
>   // set the rod in the out args
>   gPropHost->propSetDoubleN(outArgs, kOfxImageEffectPropRegionOfDefinition,
> 4, &rod.x1);
> 
>   return kOfxStatOK;
> }
> 
> 
> On Thu, Apr 19, 2012 at 6:19 PM, Bruno Nicoletti 
> <br...@thefoundry.co.uk>wrote:
> 
> > The region of definition action should do it for you. It will change the
> > equivalent of the 'bbox' in Nuke. There is currently no way to change the
> > 'format'.
> >
> >
> > http://openfx.sourceforge.net/Documentation/1.2/ofxProgrammingReference.html#kOfxImageEffectActionGetRegionOfDefinition
> >
> > b
> >
> > On 19 Apr 2012, at 14:06, Steven Booth wrote:
> >
> > > I confess, I’m not familiar with ‘OFX’ format, but if you need to output
> > a double-wide image, I would start by setting the format.width in
> > _validate, and then simply provide the extra pixels in each engine call.
> > >
> > > Steve
> >


-- 

_______________________________________________
Nuke-dev mailing list
Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to