Author Topic: Pre-render events not being triggered  (Read 2033 times)

2016-04-06, 20:20:50

JCdeBlok

  • Active Users
  • **
  • Posts: 85
  • Jonathan de Blok
    • View Profile
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

2016-04-08, 10:29:32
Reply #1

ghiom

  • Users
  • *
  • Posts: 2
    • View Profile
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 ?

2016-10-03, 15:43:02
Reply #2

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Hi,
this was fixed in dailies, and 1.5 will feature this fix (confirmed with phoenix FD developers)
Ondra
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)