02-10-2018, 10:54 AM
(This post was last modified: 02-10-2018, 10:55 AM by josemendez.)
(01-10-2018, 08:13 PM)ckyun777 Wrote: Thank you for quick reply.
Is it possible to make each particle has its own properties, if I purchase source code? If so how much is the price?
Thanks
Hi,
The change is far from trivial if you're not experienced in low-level programming.
Our physics library is written in C++ and performs custom aligned memory allocation (we need it for SIMD), which means in order to pass data to/from Unity, you need to copy it over. Doing this for all particles every frame is very costly, so we restrict it to essential data only when needed. In order to allow efficient data sharing, we're working on abolishing copying, a must for per-particle fluid properties.
Memory mapped arrays will debut in Obi 4.0 (Unity 2018 and up only) bringing this performance overhead down to zero. Also, we are working on multiphase/multirresolution fully mixable fluids. This will enable not only per-particle viscosities, but per particle everything: rest densities, temperatures, etc.
We want to release it before the end of this year, keeping the current price of the asset.