Results 1 to 7 of 7

Thread: Slower viewport when dynamics is ON

  1. #1
    Registered User
    Join Date
    Aug 2017
    Location
    Slo
    Posts
    74

    Slower viewport when dynamics is ON

    LW=2018.07

    I've noticed a slower viewport performance in Layout when "Enable Dynamics=ON". I have a scene with less than a million polygons and it is at least 2-3 times slower when I turn dynamics on. Anyone noticed this? Could be a bug?

  2. #2
    RETROGRADER prometheus's Avatar
    Join Date
    Aug 2003
    Location
    sweden stockholm
    Posts
    14,711
    Quote Originally Posted by next_n00b View Post
    LW=2018.07

    I've noticed a slower viewport performance in Layout when "Enable Dynamics=ON". I have a scene with less than a million polygons and it is at least 2-3 times slower when I turn dynamics on. Anyone noticed this? Could be a bug?
    It seems only natural that it would be slower, the system would probably like to evaluate the items in the scene.
    Are you saying you do not have any object in there that is active as a bullet item? but the scene still is slow?

    Anyway..it doesnīt make any sense to have dynamics on..if you do not have any dynamics, and if you do have dynamics..you shouldnīt be surprised.

  3. #3
    Registered User
    Join Date
    Aug 2017
    Location
    Slo
    Posts
    74
    I have a scene with dynamics, but no calculation has been done yet. Rotating the prospective viewport becomes immediately slower by enabling dynamics (by pressing the button in the menu on the left). I don't see why rotating in the viewport would become slower in such a case.
    Last edited by next_n00b; 01-03-2019 at 05:05 PM.

  4. #4
    Super Member Kryslin's Avatar
    Join Date
    Feb 2009
    Location
    Prescott, IA
    Posts
    1,461
    Nothing here, move along...
    --------
    My Scripts for Lightwave
    Intel Core i7 960 @3.20 Ghz, 24 GB ram, EVGA 6GB GTX980Ti "Classified" driving 2 x HP LA2405.

  5. #5
    LightWave Engineer Jarno's Avatar
    Join Date
    Aug 2003
    Location
    New Zealand
    Posts
    597
    If there is anything enabled that can deform an object, then drawing that object in the viewport uses a slower method than drawing non-deforming objects. (In technical terms, deforming objects use immediate mode OpenGL, while non-deforming use VBOs).

    We have some changes in the works that improves this situation.

    ---JvdL---

  6. #6
    Registered User
    Join Date
    Aug 2017
    Location
    Slo
    Posts
    74
    Hi Jarno, I really appreciate your feedback. Based on your information, I have done some additional reading about the immediate mode and Vertex Buffer Object. I think I understand now, why it is implemented this way. Thanks for clarifying this for me!

    It’s good to hear that you plan to improve the viewport speed even further. Thanks!

  7. #7
    Electron wrangler jwiede's Avatar
    Join Date
    Aug 2007
    Location
    San Jose, CA
    Posts
    6,470
    Quote Originally Posted by Jarno View Post
    If there is anything enabled that can deform an object, then drawing that object in the viewport uses a slower method than drawing non-deforming objects. (In technical terms, deforming objects use immediate mode OpenGL, while non-deforming use VBOs).

    We have some changes in the works that improves this situation.
    You're moving to full-on "dirty-list" caching and VBO-rendering of both deformable and non-deformable geometry, I hope?

    Done properly, should greatly improve viewport perf. Even if you still use immediate for "actively updating" geo, just moving all the "deformable-but-static" geo to cache & VBO should still yield major view perf. improvements.
    Last edited by jwiede; 01-04-2019 at 06:03 PM.
    John W.
    LW2015.3UB/2018.0.7 on MacPro(12C/24T/10.13.6),32GB RAM, NV 980ti

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •