Obi Official Forum
What is the difference between the renderablePositions and position in ObiSolver - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Softbody (https://obi.virtualmethodstudio.com/forum/forum-12.html)
+--- Thread: What is the difference between the renderablePositions and position in ObiSolver (/thread-1128.html)



What is the difference between the renderablePositions and position in ObiSolver - apapaxionga - 27-04-2019

What is the difference between the renderablePositions and position in ObiSolver


RE: What is the difference between the renderablePositions and position in ObiSolver - josemendez - 29-04-2019

(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/tutorials/scriptingparticles.html