algorithmic modeling for Rhino
Hi all,
I´ve being using the Giulio Piacentino script to save a rendered image from vray (only one frame):
At the ends says:
Rhino.RhinoApp.RunScript("_-Render", false);
Rhino.RhinoApp.RunScript("_-SaveRenderWindowAs \n\"" + savedLocation + "\"\n", false);
Rhino.RhinoApp.RunScript("_-CloseRenderWindow", false);
My problem is that vray takes a wile to finish the render, but the png file is saved before it ends. So the results its an uncompleted redered image. I tried to add a delay with no luck...
How could I tell the component to wait until the rendering process ends?
Any ideas?
thankss!
Tags:
Hi Santiago,
if I remember correctly, VRay has an option called "Batch render" that locks the command till it finishes the render. You should use that.
I hope this helps,
- Giulio
________________
giulio@mcneel.com
nice! Thanks Giulio!
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by