Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Feature Requests => [Max] Resolved Feature Requests => Topic started by: Jens on 2017-07-27, 19:28:12

Title: Instancing with Forest Pack and Rail Clone
Post by: Jens on 2017-07-27, 19:28:12
Hi guys

I've gone through the boards here and over at iToo's forum.

Can someone clarify what the status is on getting instancing to work with iToo's plugins?

On their boards they say you guys have been in contact, but the ball is currently on the Corona Devs' court. Here on the Corona forum it seems like you think the ball is on the iToo's court?

It's a big time waster not being able to use the instancing mode on RC and FP. Lots of extra tweaks has to be done to get the plugins and presets to work as they as they do with vray.

I don't know if it's related, but I'm also experiencing very large slow downs on render starts in scenes with heavy FP and RC items. "transforming vertices" "parsing scene" takes ages, but once the rendering starts, all is pretty fast.
Title: Re: Instancing with Forest Pack and Rail Clone - status?
Post by: Ondra on 2017-07-27, 19:57:30
can you elaborate, maybe post screenshots or scene? Railclone and forestpack are indeed parsed into instances...
Title: Re: Instancing with Forest Pack and Rail Clone - status?
Post by: Jens on 2017-07-27, 20:49:13
Should have rephrased topic to Railclone only. Forgot edge mode in Forestpack has been working for some time :)

Railclone seems to still have limits when working in Corona (vs vray). Especially with randomization. It simply doesn't work.

It's nice now with the new Corona multimap and the UVW randomizer as I can now do a work around, but it still doesn't work when enabling instancing in Railclone.

See attached for a small example.
Title: Re: Instancing with Forest Pack and Rail Clone - status?
Post by: Jens on 2017-07-27, 21:01:52
Since randomizing won't work when enabling instancing, I had a feeling that it had a big impact on why my renders were taking so long to start in "heavy" Railclone scenes.

Just made a quick test to see if the instancing had an effect. (only with a small sample of RC object isolated, but clearly there it is causing extra parsing time). See attached.

In my full scene and at only 1800px (test render) I'm waiting over 1min for it to parse. It's not really a problem for the final render that takes much longer anyway, but for test renders it's a huge pain.
Title: Re: Instancing with Forest Pack and Rail Clone - status?
Post by: Bzuco on 2017-07-27, 21:02:43
I don't know if it's related, but I'm also experiencing very large slow downs on render starts in scenes with heavy FP and RC items. "transforming vertices" "parsing scene" takes ages, but once the rendering starts, all is pretty fast.
ForestPack: Try to avoid using object exclude areas with high resolution and also if you are using spline exclude/include areas keep those splines with smallest vertex count as possible(use normalize spline modifier for example)...then you will see speed up in transforming vertices pass.
Title: Re: Instancing with Forest Pack and Rail Clone - status?
Post by: Jens on 2017-08-01, 14:55:44
ForestPack: Try to avoid using object exclude areas with high resolution and also if you are using spline exclude/include areas keep those splines with smallest vertex count as possible(use normalize spline modifier for example)...then you will see speed up in transforming vertices pass.

Sadly this isn't something I can apply to my scene as it my exclude splines are indeed very simple (4-10vertices). I'm still pretty sure it's the missing support of "instancing". Very noticeably in this case as I'm doing large building facades with custom tiles and wood cladding.
Title: Re: Instancing with Forest Pack and Rail Clone - status?
Post by: Lucutus on 2017-08-02, 07:51:34
We have faced the same issues here. Recently we had a really huge scene to render and in this scene the randomization feature of RC was essential. Unfortunately it was impossible to render the scene with the instancing turned off, because of the memory consumption (it tk the whole available memory (64GB) and then crashed.

The only workaround was to use the Railclone Tools and instanciate the whole RC object before rendering.

Greetz

Lucutus
Title: Re: Instancing with Forest Pack and Rail Clone - status?
Post by: maru on 2017-08-08, 09:23:13
Recap of this thread:
Railclone:
1) Instancing on - works as expected, parsing is faster, there is an issue with randomizing.
2) Instancing off- works as expected
3) Randomizing does not work when instancing is enabled - using Corona Multi Map

Jens, could you contact us about this at support@corona-renderer.com with a very simple scene demonstrating this? It could be even a scene like in your screenshots, with some boxes scattered around.

If there are some other issues with Railclone or other iToo plugins, please also report them at support@, but one issue per one separate email please.
Title: Re: Instancing with Forest Pack and Rail Clone - status?
Post by: Jens on 2017-08-08, 11:17:18
Recap of this thread:
Railclone:
1) Instancing on - works as expected, parsing is faster, there is an issue with randomizing.
2) Instancing off- works as expected
3) Randomizing does not work when instancing is enabled - using Corona Multi Map

Jens, could you contact us about this at support@corona-renderer.com with a very simple scene demonstrating this? It could be even a scene like in your screenshots, with some boxes scattered around.

If there are some other issues with Railclone or other iToo plugins, please also report them at support@, but one issue per one separate email please.

Done.

It's a general problem that Corona doesn't seem to recognize the way RC "manipulates" the instances with it's "Instancing engine". Neither random mat IDs or UVW offsets nodes work. Corona only sees the scattered object as the exact same instance, hence no randomization will occur. So the new Corona UVW randomizer doesn't work either. - Unless we turn the instancing engine off, but that comes with the drawbacks listed above.
Title: Re: Instancing with Forest Pack and Rail Clone - status?
Post by: maru on 2017-08-08, 11:50:54
Thanks!
Title: Re: Instancing with Forest Pack and Rail Clone - status?
Post by: maru on 2017-08-08, 11:57:38
Duplicate: https://forum.corona-renderer.com/index.php/topic,7219.0.html
Title: Re: Instancing with Forest Pack and Rail Clone - status?
Post by: Jens on 2017-10-07, 10:11:51
Is this something that will be partially possible to do in 1.8 roadmap with the "Multimap - randomization by mesh elements"?

If so, I hope it won't continue it's implementation ETA from 1.6->1.7->1.8->1.9 ;)
Title: Re: Instancing with Forest Pack and Rail Clone
Post by: Rhodesy on 2018-11-29, 14:32:37
Has any of this been looked at yet? Ive found the same issues but Im not sure if im doing something wrong. Thanks
Title: Re: Instancing with Forest Pack and Rail Clone
Post by: maru on 2018-11-30, 15:39:59
We will look into this again.
Now we have the "randomize by mesh element option", so hopefully it will help.
Title: Re: Instancing with Forest Pack and Rail Clone
Post by: Ink Visual on 2019-03-07, 11:12:59
Hi guys.
Is there any chance this might be resolved in the nearest future?
I tested RailClone recently mainly with an intention to use it to create more complicated floor tiling patterns, but without Corona understanding how RC assigns IDs to its objects it doesn't make sense to invest in it.
Thanks,
Michal
Title: Re: Instancing with Forest Pack and Rail Clone
Post by: maru on 2019-03-08, 13:53:36
No news at this moment. I'll update this thread once I know anything.
(internal id=169235302)
Title: Re: Instancing with Forest Pack and Rail Clone
Post by: Rhodesy on 2019-03-20, 13:33:49
Can't wait for this. Hopefully it will come soon.
Title: Re: Instancing with Forest Pack and Rail Clone
Post by: maru on 2019-12-03, 15:20:37
The main issue here - "When instancing is enabled in Railclone, randomizing cannot be used, for example using Corona Multi Map" - is fixed, and this should also fix some further related issues.
The fix will be included in the upcoming V6 and its daily builds.
Title: Re: Instancing with Forest Pack and Rail Clone
Post by: Ink Visual on 2019-12-03, 15:27:10
Great news, especially that I purchased RailClone yesterday! Thanks a lot!