Customdata render element, PRT id

Hi guys,

I’ve been unsuccessfully trying to build a PRT id render element that works correctly. I have PRTs with different densities and they don’t seem to blend correctly in the customData render element. I tried a lot of things - multiplying with the density, trying to compensate for the final global density, but I haven’t made it yet. Here’s a test scene:

dropbox.com/s/znuhpkjqq1cmg … 2.max?dl=0

Would be great to have this working.

Thanks!
Hristo

They are not supposed to blend at all. Custom Data Render Element, like pretty much all Krakatoa Render Elements (e.g. Velocity, Depth etc.), is meant to OVERWRITE the previously drawn pixels, resulting in only the data of the closest particle to the camera. This is a known limitation, but the data is volumetric, and you cannot know anything about the rest of the volume behind the closest point of the volume. It would be tricky even with Deep Data.

I see, thanks. Any idea on a better way to do this than another render with global overrides?

Ok, looks like a fundamental problem. Separate renders it is, then. Oh well :slight_smile: