Quantcast
Channel: Adobe Community : Popular Discussions - After Effects SDK
Viewing all articles
Browse latest Browse all 73444

How to use iterate suites in DrawSparseFrame of an AEIO?

$
0
0

I want to put the data into the effect world, but I can't use "suites.Iterate8Suite1()->iterate" because I don't have a "PF_InData"

 

I tried to access every pixel by sampleIntegral32.  It doesn't work usually.(crashed many times

for (A_long i = 0; i < 1000; i++)

  for (A_long j = 0; j < 1000; j++){

  PF_Pixel *pixel = sampleIntegral32(wP, i, j);

  pixel->alpha = PF_MAX_CHAN8;

  pixel->red = PF_MAX_CHAN8;

  pixel->green = PF_MAX_CHAN8;

  pixel->blue = PF_MAX_CHAN8;

  }

 

I wonder if there is another way to draw the PF_EffectWorld with out PF_InData?


Viewing all articles
Browse latest Browse all 73444

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>