Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: IP2100 on April 10, 2014, 11:00:44 PM

Title: RailClone and Corona memory use
Post by: IP2100 on April 10, 2014, 11:00:44 PM
Hi,

I'm testing Corona with the iToo plugins. Corona is really awesome, I'm so glad that you support it!
Forest works as expected, same memory usage as with Vray, but I think I found a bug with RailClone.

It eats memory with each instanced object. So if I have many tiles of a complex geometry source object, memory use is drastic.

When I use point cloud display for RailClone and hit render with Corona, there is the warning dialog popping up "Maximum number of faces reached in RailClone Object. Increase Display -> Limit parameters".
Since I use point cloud, there is no point in this message, other than RailClone is somehow leaking the mesh geometry into memory (or something like that) when the Corona rendering starts.

I have attached a scene file with a highpoly primitive scattered by RailClone, it displays the warning when rendering.

I would love to render my current project with Corona, and there is awesome RailClone stuff going on, so if there's a chance for this problem getting fixed, I'd be very happy.

thanks, Marc
Title: Re: RailClone and Corona memory use
Post by: iToo on April 11, 2014, 09:31:56 AM
Although the latest Corona releases includes instancing support for RailClone, unfortunately there is a bug which we have not solved yet. It may causes crashes and memory leaks.

For this reason, we suggest to turn off Display->Render->Use Geometry Shader. But with this option disabled, RailClone creates a single mesh including all the geometry, so for complex objects the number of faces may be huge, and would be necessary to adjust Display->Limits settings.

I hope we can solve this problem in next releases.
Title: Re: RailClone and Corona memory use
Post by: IP2100 on April 11, 2014, 07:38:33 PM
I'm working on this project with Corona and lots of RailClone and it's going to be awesome.
I can work around the crashes and leaks, but if you got a nightly build for me to test, I'd very much like to try that!

thanks, Marc
Title: Re: RailClone and Corona memory use
Post by: iToo on April 12, 2014, 08:39:27 AM
Nice project. :)

Unfortunately we have not isolated the bug yet, but as soon as we have a fix i'll post here.