Question
Issues accessing layer contents with alpha in AE
I have full HD 1080p comp. One of the layer is a 512x512 image. I have settings to enable alpha values.
out_data->out_flags2 = PF_OutFlag2_PARAM_GROUP_START_COLLAPSED_FLAG |
PF_OutFlag2_FLOAT_COLOR_AWARE |
PF_OutFlag2_SUPPORTS_SMART_RENDER |
PF_OutFlag2_REVEALS_ZERO_ALPHA;and in PreRender
req.preserve_rgb_of_zero_alpha = TRUE;I access the layer with a layer selection.
PF_ADD_LAYER("Matte Layer", PF_LayerDefault_MYSELF, LAYER_ID);When this layer contents are accessed, the image always comes up in the top left corner.
ERR(suites.IterateSuite1()->AEGP_IterateGeneric(layer->height, &c_data, CopyDirect));When I view the image, it is centered, with transparency all around it. However, inside CopyDirect, the image always starts from 0,0
What am I missing?