THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/08/2010 at 10:25, xxxxxxxx wrote:
Cinema 4D Version: r11
Platform: Windows ;
Language(s) : C++ ;
how can i get the color of another pixel in a videopost plugin? for example if the pixel at position 30,40 is rendered, how can i know the color of the pixel at position 230,50 at the time of creating the actual pixel?
is there a way to render the image and afterwards access its pixels?
thanks in advance for any input.
On 23/08/2010 at 11:48, xxxxxxxx wrote:
During rendering? That´s not safe I would say, the other pixel may not even be rendererd yet. But you can access all pixels after rendering. Check out the videopost examples in the cinema 4d sdk project.
On 23/08/2010 at 11:57, xxxxxxxx wrote:
Hi, i already had a look at them (i based it onto the invert example), but still i have no clue how i can change the coordinates of the pixel i want to read.. for example, how would i create a mixture of the original image and the vertically flipped image, just as an example?