Results 1 to 13 of 13

Thread: LWCAD 2018 trashing LWO files?

  1. #1

    LWCAD 2018 trashing LWO files?

    Problem:
    I finally began using LWCAD 2018 skipping the 5.x series completely. So I sent straight from using LWCAD 4.51 in production to LWCAD 2018. I have been using LWCAD 2018 with both Lightwave 2015.3 and 2018.0.7. After using it for modeling a house in LW 2015.3 I noticed that my frame rate took a a huge hit in open GL and felt like I was modeling an object that was millions of polygons. It began slowing and almost freezing up at some points. I could not find anything wrong with the geometry or file itself. When loading the file into modeler it would take a very long time to load and sometimes even crash while loading.

    Why I think it's LWCAD causing the problem:
    I decided to load the file into Modo and it loads quickly with no problem and is super fast in GL. I saved it back out of Modo as an LWO and loaded that file back into modeler and all the problems where gone. I resumed using LWCAD again and after saving multiple time and working began having the same issues again. Layout also seems to load the LWO fine. The reason both Modo and Layout can load the LWO with no problems is because neither program can read LWCAD nurbs data in the LWO file so I think the problem may be LWCAD specific things being written into the LWO file and even after being deleted it seems they permanently wreck the file. It may be leaving a bunch of garbage in the file or mangling it in some way for LW modeler.

    Here are links to the files in my dropbox to test.

    LW 2015 LWO file https://www.dropbox.com/s/savm2mi7ez...W2015.lwo?dl=0

    LW 2018 LWO file https://www.dropbox.com/s/v1zs812mey...W2018.lwo?dl=0

    I have reverted back to using LWCAD 4.51 for now since these problems caused me to miss a deadline on a project already. I'm not sure if LWCAD 5 would cause the same issues but I assume it likely does. I own LWCAD 5 as well but have bothered to use it much.

    Please test let me know if you agree with my findings on this issue. I think I will also post this in the LWCAD forum so Viktor can take a look as well.
    https://www.dynamicrenderings.com/

    Threadripper 2990WX, X399 MSI MEG Creation, 64GB 2400Mhz RAM, GTX 1070 Ti 8GB

  2. #2
    Founding member raymondtrace's Avatar
    Join Date
    May 2003
    Location
    Ohio
    Posts
    566
    I'm seeing similar results. I could not get the 2018 file to load in Modeler and had to kill the process.

    A hex editor suggests the top and bottom of the 2018 file is standard LWO. Nothing appears to have been truncated when saving so the error must be in the gooey middle.
    LW7.5D, LW2015.3, LW2018.0.x running portably on a USB drive on an Amiga 2500 running Wine.

  3. #3
    Registered User jaf's Avatar
    Join Date
    Oct 2006
    Location
    San Diego, CA
    Posts
    471
    Really large difference in file size 2018 36.23mb to 2015 4.60 mb. I was able load the 2018 version and export as an obj with a size of 16.22 mb. It loads rather quickly in 3DCoat and Rizom. Don't have 2015 on my system right not, but 2018 seems to thrash a long time when doing something like deleting the polylines.

    Be interesting to hear what the problem is.
    23oct18: Lightwave 2018.6 Build 3069, win10 x64, AMD Ryzen 1800, 64 GB mem, EVGA GeForce GTX 1080 ti v411.34 (23oct18)

  4. #4
    Registered User
    Join Date
    Aug 2017
    Location
    Slo
    Posts
    39
    I have noticed one problem with LightWave 2018 and LWCAD 2018 … when I’ve been creating LWCAD specific windows on my own, non LWCAD-made walls, I’ve noticed there wasn’t just a single window which I've created, there were several of them … like ten on the exact same spot. This could be easily noticed with the low-poly count scene, while this problem hasn’t appeared if I made the window on LWCAD-specific wall - in this case, there was only one window on the same spot. Check it out if you have the same problem.

  5. #5
    Quote Originally Posted by jaf View Post
    Really large difference in file size 2018 36.23mb to 2015 4.60 mb. I was able load the 2018 version and export as an obj with a size of 16.22 mb. It loads rather quickly in 3DCoat and Rizom. Don't have 2015 on my system right not, but 2018 seems to thrash a long time when doing something like deleting the polylines.

    Be interesting to hear what the problem is.
    The most interesting part is the model contained in the file is the same in both 2015 and 2018 format. Yet these both load into other programs fine. I loaded the 36mb 2018 lwo into Modo 12 and saved out again as lwo and it's now 1.46mb in size.
    https://www.dynamicrenderings.com/

    Threadripper 2990WX, X399 MSI MEG Creation, 64GB 2400Mhz RAM, GTX 1070 Ti 8GB

  6. #6
    Quote Originally Posted by next_n00b View Post
    I have noticed one problem with LightWave 2018 and LWCAD 2018 … when I’ve been creating LWCAD specific windows on my own, non LWCAD-made walls, I’ve noticed there wasn’t just a single window which I've created, there were several of them … like ten on the exact same spot. This could be easily noticed with the low-poly count scene, while this problem hasn’t appeared if I made the window on LWCAD-specific wall - in this case, there was only one window on the same spot. Check it out if you have the same problem.
    In my short time using LWCAD 2018 I have come across a few other weird as well bugs but have not been able to reproduce reliably. I will not be using LWCAD 2018 in production anymore after my scary experience with it. I don't know for sure but I have a feeling many of the problems are coming from the new nurbs in LWCAD even though I wasn't really using them much there seems to be something left in the file that accumulates. I will have to see if anything like you describe might be happening in my case.
    Last edited by Nicolas Jordan; 12-05-2018 at 04:36 PM.
    https://www.dynamicrenderings.com/

    Threadripper 2990WX, X399 MSI MEG Creation, 64GB 2400Mhz RAM, GTX 1070 Ti 8GB

  7. #7
    Registered User
    Join Date
    Aug 2017
    Location
    Slo
    Posts
    39
    I have opened only your 2018 lwo. Your problem is definitely your "Front" layer. But I do not know what and why. It is working soooo sloooow. Even undo after delete. What is that, where you got this geometry

  8. #8
    Quote Originally Posted by next_n00b View Post
    I have opened only your 2018 lwo. Your problem is definitely your "Front" layer. But I do not know what and why. It is working soooo sloooow. Even undo after delete. What is that, where you got this geometry
    The front layer in the 2018 lwo was a dxf file that has been converted to lwo with AccuTrans 3D. There are also a couple guide lines I added that were drawn with the line tool in LWCAD 2018 in that layer that meet up at the origin 0,0,0. What makes you think the contents of the Front layer is causing the issues?
    Last edited by Nicolas Jordan; 12-05-2018 at 05:35 PM.
    https://www.dynamicrenderings.com/

    Threadripper 2990WX, X399 MSI MEG Creation, 64GB 2400Mhz RAM, GTX 1070 Ti 8GB

  9. #9
    Registered User
    Join Date
    Aug 2017
    Location
    Slo
    Posts
    39
    Because there is more than a million polygons. In the middle somewhere I believe.

  10. #10
    Electron wrangler jwiede's Avatar
    Join Date
    Aug 2007
    Location
    San Jose, CA
    Posts
    6,243
    Nicolas, might want to check your LWCAD prefs to make sure you don't have NURBS curve tessellation (or related) set insanely high, that could lead to runaway poly counts when LWCAD tries to convert it to regular geometry for display, etc.
    Last edited by jwiede; 12-05-2018 at 06:21 PM.
    John W.
    LW2015.3UB/2018.0.7 on MacPro(12C/24T/10.13.6),32GB RAM, NV 980ti

  11. #11
    Quote Originally Posted by next_n00b View Post
    Because there is more than a million polygons. In the middle somewhere I believe.
    If I load the object into Layout where it seems to load fine it says the scene has a total of 11711 Polygons and 12286 Points so that's why I'm thinking whatever is causing the slow down and other issues must be LWCAD specific.
    https://www.dynamicrenderings.com/

    Threadripper 2990WX, X399 MSI MEG Creation, 64GB 2400Mhz RAM, GTX 1070 Ti 8GB

  12. #12
    Quote Originally Posted by jwiede View Post
    Nicolas, might want to check your LWCAD prefs to make sure you don't have NURBS curve tessellation (or related) set insanely high, that could lead to runaway poly counts when LWCAD tries to convert it to regular geometry for display, etc.
    I just checked to make sure but it doesn't appear to be that either.
    https://www.dynamicrenderings.com/

    Threadripper 2990WX, X399 MSI MEG Creation, 64GB 2400Mhz RAM, GTX 1070 Ti 8GB

  13. #13
    Quote Originally Posted by next_n00b View Post
    Because there is more than a million polygons. In the middle somewhere I believe.
    You were right. I sent the file to Viktor to look at. He finally got back to me and said that there were a million copies of a nurbs line occupying the same space. I have no idea how I would have done that. I guess it could be some weird glitch. I will have to keep a close eye on my stats panel from now on and hopefully catch this kind of thing before it makes a file almost unusable.
    https://www.dynamicrenderings.com/

    Threadripper 2990WX, X399 MSI MEG Creation, 64GB 2400Mhz RAM, GTX 1070 Ti 8GB

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
  •