goebbels
07-27-2004, 12:58 PM
Hello all.
Is it possible to somehow analyze the shaded color (ie. as density appears in shaded view) of certain fluid cell?
As in, I have some density in fluid grid that appears in shaded view. Also I have bunch of particles overlapping the density in grid. I want to go through all the particles and query corresponding density value (and I mean with self-shadowing, not 'getFluidAttr -at density -xi $x -yi $y -zi $z' ) for every particle overlapping with the fluid volume and then use the value as rgbPP.
Thinking of "almost realtime" hardware particle volumetric rendering. The problem is not the algorithm itself but the way of accessing the data. Is it possible with mel or API ?
Pardon my crappy english, kind of difficult to explain what im looking for...
Is it possible to somehow analyze the shaded color (ie. as density appears in shaded view) of certain fluid cell?
As in, I have some density in fluid grid that appears in shaded view. Also I have bunch of particles overlapping the density in grid. I want to go through all the particles and query corresponding density value (and I mean with self-shadowing, not 'getFluidAttr -at density -xi $x -yi $y -zi $z' ) for every particle overlapping with the fluid volume and then use the value as rgbPP.
Thinking of "almost realtime" hardware particle volumetric rendering. The problem is not the algorithm itself but the way of accessing the data. Is it possible with mel or API ?
Pardon my crappy english, kind of difficult to explain what im looking for...
