Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: GF2719 on September 06, 2018, 05:24:16 AM

Title: Some optimizations
Post by: GF2719 on September 06, 2018, 05:24:16 AM
I'm working with some very heavy geometry in RC, and what's become apparent is that RC re-evaluates when you do anything. Here's a few things that shouldn't trigger one (but do at the moment):

1. Adding a Note. Altering the label doesn't trigger one but toggling Move Content & changing the color does.

2. Adding or editing any node, even when not connected to an output Array.

3. Editing a node connected to a disabled output Array.

I used manual update obviously, but I thought i'd write this anyway.
Title: Re: Some optimizations
Post by: iToo on September 06, 2018, 08:52:38 AM
Hi, for technical limitations, the Style Editor doesn't handle the nodes as "geometry" items, but everything is stored in a XML which is evaluated and processed by Max.
Because this, most of changes in the Style Editor requires to re-evaluate the nodes graph, and therefore rebuild the RC object.

I will check it's possible to optimize it for 1 (generically, not update when moving nodes), but i'm afraid 2 and 3 cannot be avoided.