Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Rokas on March 18, 2016, 02:36:56 PM

Title: Nested styles lag
Post by: Rokas on March 18, 2016, 02:36:56 PM
Well, i do have some more feedback, this is a bit more hard to reproduce, but frustration is really big on this one.
On some nested styles lag of MAX viewport becomes very slow, if I try to move RC segments.
it evaluates random seed parameters (WHY? ) and generates new geometry.
Gif doesn`t capture lag too much but it is visible i hope.

(http://i.imgur.com/ep71cDA.gif)
Title: Re: Nested styles lag
Post by: iToo on March 19, 2016, 09:25:19 AM
Moving segments may cause a RC update, because Max triggers a notification indicating that the transformation matrix of the segment have changed.
In some cases that should have not effect in RC, but other it does (i.e. if the Segment's pivot changes).

So, to avoid problems, RailClone rebuilds the object in all cases, when it receives this notification. Futhermore, nested styles require an extra processing, because the inner style must be evaluated as well. That is causing the lag.

A different issue is the change on random. That seems a bug. Does it happen always with a specific RC object, or is random as well ?
If possible, please send us a scene to reproduce it here.

Title: Re: Nested styles lag
Post by: Rokas on March 19, 2016, 05:39:36 PM
ok, attached simplified scene
Title: Re: Nested styles lag
Post by: Rokas on March 22, 2016, 07:12:26 AM
Any insights?
Title: Re: Nested styles lag
Post by: iToo on March 22, 2016, 08:47:43 AM
I'm sorry, we had no time to check this issue yet. We are really busy preparing the final release of FP and RC (planned for next week, if there are not problems).
I will check it as soon as possible.
Title: Re: Nested styles lag
Post by: Rokas on March 22, 2016, 09:16:54 AM
It`s fine. Thank You. I am waiting for final versions too.
Title: Re: Nested styles lag
Post by: iToo on March 22, 2016, 12:21:09 PM
Well, i finally could locate and solve the bug. The fix will be included in the next update.
Title: Re: Nested styles lag
Post by: Rokas on March 22, 2016, 01:08:01 PM
fantastic !
Title: Re: Nested styles lag
Post by: Rokas on April 28, 2016, 05:19:54 PM
Well, i finally could locate and solve the bug. The fix will be included in the next update.
nah... it still happens with v2.6
Title: Re: Nested styles lag
Post by: iToo on April 28, 2016, 05:27:50 PM
nah... it still happens with v2.6

The lag or random issue ? The random bug should be fixed, but the lag is a problem of nested styles.
Title: Re: Nested styles lag
Post by: Rokas on April 28, 2016, 05:54:41 PM
The random thing..

for lag I have a workaround- disable object AutoBuild in display that are complete.
Title: Re: Nested styles lag
Post by: iToo on April 29, 2016, 08:32:17 AM
Please, send me a test scene. I cannot find it in the previous posts.

Thanks.
Title: Re: Nested styles lag
Post by: Rokas on April 29, 2016, 09:10:57 AM
Please, send me a test scene. I cannot find it in the previous posts.

Thanks.
--deleted link--
Title: Re: Nested styles lag
Post by: iToo on April 29, 2016, 11:07:44 AM
Ok, for some reason we missed an important point in the release notes:

Quote
  • Fixed behaviour of Sequence Operator on Bevels. (see note 2)
  • Fixed bug with random numbers and nested objects. (see note 2)
Note 2: To keep compatibility with previous scenes, this fix is applied only on new RC objects.
If you want to "upgrade" your RC object so it works as created with the recent release, select it and run this on Maxscript: $.railclone.resetCreatedVersion()

Just "upgrade" the two RC objects as described above.

I just updated the documentation. Apologies by that.