Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: JCdeBlok on 2016-04-06, 20:20:50

Title: Pre-render events not being triggered
Post by: JCdeBlok on 2016-04-06, 20:20:50
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.

Code: [Select]
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
Title: Re: Pre-render events not being triggered
Post by: ghiom on 2016-04-08, 10:29:32
Hi JCdeBlok,
I'm trying to use Corona with Phoenix FD to.
Where did you put this script on 3DSMAX ? and can we use it to render with rebusfarm or ranchcomputing likes ?
Title: Re: Pre-render events not being triggered
Post by: Ondra on 2016-10-03, 15:43:02
Hi,
this was fixed in dailies, and 1.5 will feature this fix (confirmed with phoenix FD developers)
Ondra