Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  ObiFluidPropertyColorizer
#4
(27-03-2019, 09:47 PM)josemendez Wrote: Hi,

All particle properties can now be directly accessed from the solver. Densities in particular are stored in the "fluidData" array of the solver, so you can do:

Code:
float density = emitter.Solver.fluidData[emitter.particleIndices[i]][0];

kind regards,

Thank you!
Reply


Messages In This Thread
ObiFluidPropertyColorizer - by mimarilker - 27-03-2019, 11:17 AM
RE: ObiFluidPropertyColorizer - by mimarilker - 27-03-2019, 01:29 PM
RE: ObiFluidPropertyColorizer - by josemendez - 27-03-2019, 09:47 PM
RE: ObiFluidPropertyColorizer - by mimarilker - 27-03-2019, 11:26 PM