I'm using Corona to render some fluid meshes from PhoenixFD and noticed that it works fine when I render individual frames manually but the fluid mesh fails to update when rendering a frame range.
So I thought I'd force an update using the #preRenderEval event but that doesn't get triggerd at all.
In then end I manged to make it work using this, forcing and update by setting the slidertime to current render time.
fn forceUpdate=
(
slidertime = currentTime
)
callbacks.removeScripts #preRenderFrame id:#fu
callbacks.addScript #preRenderFrame "forceUpdate()" id:#fu
So I'm not sure what the problem is but something fishy is going on with the pre render events making PhoenixFD not update the mesh..
Max 2016 sp3/ext2
Corona version: 1.3
Full-speed, Non-debug, MaxSDK 2016
Build timestamp: Nov 3 2015 13:07:13
Defines: Wide RGB