Algorithm to convert VTKPolyData to X-ray image like DRR

Hi,
There have been some discussions here and here about converting VTKImageData to 2d x-ray image using DRR. The implementation of the algorithm can be found in ITK example, making it quite convenient to port to VTK.
I’m wondering if there’s anything similar for input as 3D mesh. ie, convert VTKPolyData to 2d x-ray image.

Thanks!