Hi, in LPub3D, when I switch between LDGlite and LDView, various elements on the page change size and position. Is there something I can do to keep layout and size more consistent? Thanks.
LPub3D, LDGlite and LDView changes layout
RE: LPub3D, LDGlite and LDView changes layout
2016-05-13, 2:26 (This post was last modified: 2016-05-13, 2:28 by Brian.)
2016-05-13, 2:26 (This post was last modified: 2016-05-13, 2:28 by Brian.)
Or, does anyone know how I can speed up LDView rendering? In many cases the main assembly simply disappears in LDGlite, and LDView takes significantly longer to render every page regardless of if anything has changed. Thanks.
RE: LPub3D, LDGlite and LDView changes layout
2016-05-13, 2:32 (This post was last modified: 2016-05-13, 2:37 by Don Heyse.)
2016-05-13, 2:32 (This post was last modified: 2016-05-13, 2:37 by Don Heyse.)
I spent a considerable amount of time Investigating that and came to the conclusion that it'd be quite difficult to make it perfect, as long as lpub is making different layout decisions based on a single pixel difference in image size. However there also appears to be some cruft in lpub3d image scaling code from the old lpub codebase that puts it off by more than a pixel with the images produced by ldview.
I could take a look at the disappearing main assemblies if you can provide an example where it happens. I have suspicions it's the znear setting, but it's challenging to reproduce the problem with limited resources.
I could take a look at the disappearing main assemblies if you can provide an example where it happens. I have suspicions it's the znear setting, but it's challenging to reproduce the problem with limited resources.
(2016-05-13, 2:26)Brian Wrote: Or, does anyone know how I can speed up LDView rendering? In many cases the main assembly simply disappears in LDGlite, and LDView takes significantly longer to render every page regardless of if anything has changed. Thanks.
I provided a suggestion that could hopefully be used to make LPub3D's usage of LDView faster, so it's possible that a future LPub3D release will do that. However, LDView's design means that it is never going to be as fast as ldglite at rendering images from the command line. LDView spends more time during model loading to optimize things for interactive display performance, and this means that loading the model takes longer. When all you are going to do is take a single snapshot of the model, this is far from ideal, but it's not something that's going to change.
RE: LPub3D, LDGlite and LDView changes layout
2016-05-22, 8:07 (This post was last modified: 2016-05-22, 18:29 by Brian.)
2016-05-22, 8:07 (This post was last modified: 2016-05-22, 18:29 by Brian.)
Thanks. The missing assembly reappears if I increase the paper size. The size difference was off by more than a few pixels in my case ... I may have not refreshed the cache. I'll see if I can repro on an official model.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)