wpf - Light Map projection -


What am I trying to do that is making "light projector" with visual ray (like with haze) Also called volumetric light;

And who projects an image (bitmap);

Because I want to keep this project connected to the wpf application (brush, position, data to get rotation), they choose to use WPF 3D

But such a It appears that WPF can not render light projection or riders.

To do this, I have extruded each pixel of my source bitmap

and keep the pixel order with the position of (x, y).

For the issue of performance, I have set all the bitmaps 32x32 px (1024 only for one light polygon!)

But the result is very pixeled as you see on the picture You can.

In addition, it probably takes a lot of memory for nothing.

My question is, how can I grease or retrieve the extrusion system to optimize the display ...

Does any other TNN Can wpf be integrated into the application and make better or easier?

Thank you, and my english is very bad ...


Comments