Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is the difference between the renderablePositions and position in ObiSolver
#1
What is the difference between the renderablePositions and position in ObiSolver
Reply
#2
(27-04-2019, 11:14 PM)apapaxionga Wrote: What is the difference between the renderablePositions and position in ObiSolver

Quote from the docs:

Quote:If the solver's interpolation mode is set to interpolate, solver.renderablePositions will contain temporally smoothed-out positions that won´t coincide with the actual particle positions at the end of the simulation step. That's why they are called "renderable": they are only used for smooth rendering, but they aren't needed by the solver and thus not calculated unless requested.

See:
http://obi.virtualmethodstudio.com/tutor...icles.html
Reply