Page 1 of 1

Realflow RFRK doesn't update mesh at render time

Posted: Fri Sep 20, 2013 2:36 am
by Norton
Has anyone been able to use a version of Realflows RFRK to mesh particles at render time with octane? It seems like the only way I can get them to mesh is by manually triggering the RFRK loaders from the modifications tab and then rendering only that scene. If I render incrementally, it won't trigger RFRK to update the mesh, often leaving the last updated mesh geometry frozen there like a ghost.

I've posted on the RF forums but no one has responded. Is it just an api call being missed by octane to max? Has anyone encountered anything similar in other plugins? could i write a max script to force the update?

Re: Realflow RFRK doesn't update mesh at render time

Posted: Fri Sep 20, 2013 3:57 am
by Norton
Found a workaround with this max script another user posted. Not a great way but will do until octane gets max to update the geometry correctly.

I render each frame "manually" from script
I'm not expert in MAxscript but it works :
(
global rol_worwhite
try(destroyDialog rol_worwhite)catch()
rollout rol_worwhite "each frame render"
(
button btn_render "RENDER"

on btn_render pressed do
(
renderSceneDialog.close()
local originalOutPath = rendOutputFileName
for t = 0 to 350 do --from begin to the end
(
sliderTime = t
outputPath = (getfilenamepath originalOutPath) + ( getFilenameFile(filenamefrompath originalOutPath)) + "_" + (t as string) + (getFilenameType originalOutPath)
rendOutputFileName = outputPath
rendSaveFile = true
rendShowVFB = false
max quick render
)
)
)
createdialog rol_worwhite
)