Itoo Software Forum

Author Topic: Nested styles lag  (Read 663 times)

Rokas

  • Sr. Member
  • ****
  • Posts: 407
Nested styles lag
« 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.


iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3111
    • iToo Software
Re: Nested styles lag
« Reply #1 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.

Carlos Quintero
iToo Software

Rokas

  • Sr. Member
  • ****
  • Posts: 407
Re: Nested styles lag
« Reply #2 on: March 19, 2016, 05:39:36 PM »
ok, attached simplified scene
« Last Edit: March 22, 2016, 12:32:49 PM by Rokas »

Rokas

  • Sr. Member
  • ****
  • Posts: 407
Re: Nested styles lag
« Reply #3 on: March 22, 2016, 07:12:26 AM »
Any insights?

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3111
    • iToo Software
Re: Nested styles lag
« Reply #4 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.
Carlos Quintero
iToo Software

Rokas

  • Sr. Member
  • ****
  • Posts: 407
Re: Nested styles lag
« Reply #5 on: March 22, 2016, 09:16:54 AM »
It`s fine. Thank You. I am waiting for final versions too.

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3111
    • iToo Software
Re: Nested styles lag
« Reply #6 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.
Carlos Quintero
iToo Software

Rokas

  • Sr. Member
  • ****
  • Posts: 407
Re: Nested styles lag
« Reply #7 on: March 22, 2016, 01:08:01 PM »
fantastic !

Rokas

  • Sr. Member
  • ****
  • Posts: 407
Re: Nested styles lag
« Reply #8 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

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3111
    • iToo Software
Re: Nested styles lag
« Reply #9 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.
Carlos Quintero
iToo Software

Rokas

  • Sr. Member
  • ****
  • Posts: 407
Re: Nested styles lag
« Reply #10 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.

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3111
    • iToo Software
Re: Nested styles lag
« Reply #11 on: April 29, 2016, 08:32:17 AM »
Please, send me a test scene. I cannot find it in the previous posts.

Thanks.
Carlos Quintero
iToo Software

Rokas

  • Sr. Member
  • ****
  • Posts: 407
Re: Nested styles lag
« Reply #12 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--
« Last Edit: April 29, 2016, 12:05:31 PM by Rokas »

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3111
    • iToo Software
Re: Nested styles lag
« Reply #13 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.
Carlos Quintero
iToo Software