THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/09/2004 at 15:33, xxxxxxxx wrote:
Cinema 4D Version: 8.503
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
In ExecutePixel I would like to be able to change the weight of only some of the pixel fragments. The frag element of the PixelPost structure is defined as the current PixelFragment. It is actually a pointer to a list of fragments.
Inside the fragment there is a 'next' and a 'cluster'. What does 'next' point to? What list? List of what? Next pixel's fragments?
What does 'cluster' point to? Is it the current pixel's fragments? Is there an order to the? Possibly z-depth?
Which fragment is really the current fragment associated with the current ray intersection? ( seems ExecutePixel is called multiple times for the same pixel if the are multiple intersections )
Is it possible to change the weight of a given fragment ( if we can find the one associated with current evaluation ).
Put an effort towards this and found what I thought was true seems not so. Any insight is appreciated.
On 09/09/2004 at 13:32, xxxxxxxx wrote:
Really need help on this. If you cannot answer this knowing more about how to reconstruct an image from ExecuteLine and the pixel fragments availabe through pp->frag would be very helpful. I can recreate the image but it is offset to the right half a pixel. Explanation or code on how to correctly combine those fragments to produce the image matching the original would be brilliant.
On 10/09/2004 at 15:29, xxxxxxxx wrote:
I'll answer the parts I (think I) know and continue investigating the rest: