LDraw.org Discussion Forums
LDView 4.2 Released - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html)
+--- Thread: LDView 4.2 Released (/thread-21650.html)

Pages: 1 2 3 4


LDView 4.2 Released - Travis Cobbs - 2016-07-11

At long last, LDView 4.2 is available. I'm going to be honest here, and warn that I gave up on getting it out the door with all the bugs fixed that I could fix. I decided that having it released was more important than fixing all the known problems. I believe that it is better than either 4.1 or 4.2 Beta 1. Having said that, if you have problems with this release, you'll probably have to go back to one of the earlier releases, because this is likely to be the last release I make. (Anyone who wants to take over is welcome to contact me.)

You can download this release from the LDView Downloads page.
The Change History is here.
The main LDView page is here.


RE: LDView 4.2 Released - Trevor Sandy - 2016-07-15

Thanks Travis!

I imagine the ability to generate PoVRay renderings from the command line was not addressed in this update ?

I would like to replace the L3P module in LPub3D because is it not open source and there is no way to maintain it. If I could generate PoVRay images from the command line using LDView, it would be possible to replace L3P.

If you care to describe an efficient approach to incorporating PoVRay image generation via the command line, I could take a look at building an LPub3D version of LDView with this capability.

Cheers,


RE: LDView 4.2 Released - Travis Cobbs - 2016-07-15

(2016-07-15, 11:44)Trevor Sandy Wrote: Thanks Travis!

I imagine the ability to generate PoVRay renderings from the command line was not addressed in this update ?

I would like to replace the L3P module in LPub3D because is it not open source and there is no way to maintain it. If I could generate PoVRay  images from the command line using LDView, it would be possible to replace L3P.

If you care to describe an efficient approach to incorporating PoVRay image generation via the command line, I could take a look at building an LPub3D version of LDView with this capability.

Cheers,

I assume by "PoVRay renderings", you actually mean .pov file generation, because actually calling out to POV from LDView doesn't seem like a good idea.

Command line access to the export commands was very high on my to-do list, but as I mentioned, it's unlikely I'll be doing any future releases at all, so that doesn't help you much.

If you want to implement it yourself, I wouldn't expect it to be too difficult. One problem is that it would be kicked off from platform-specific code. If you search the code tree for LDSnapshotTaker::doCommandLine, you'll find where the command line snapshot handling happens. Peter Bartfai has already indicated his willingness to continue to maintain the Qt port, so if you get Windows working, he can do Qt, and I can probably do the Mac part.

You would need to add code to recognize a new command line option to perform an export, and then either create a new class with a doCommandLine function to take care of performing the export, or add a function onto LDrawModelViewer. (The LDrawModelViewer object would definitely be necessary, since LDrawModelViewer::exportCurModel is what you're going to want to call to perform the export.) If you just have a new command equivalent to -SaveSnapshot, then you would have to determine the export type from the file extension. If you also want to have the equivalent of -SaveSnapshots, then you'd need a command line option to set the export type.

Please note that even though LDView is potentially abandoned, I moved its source tree (with full change history from the old CVS repository) to github:

https://github.com/tcobbs/ldview

SourceForge angered me with crap they pulled in the last few years, and I didn't want to leave it there. They claim they are now better, but I'm not sure I trust them not to stray again in the future. Additionally, CVS is becoming more and more difficult to install and use, so a switch to a more modern SCM was very much overdo.

If you're really interested, I'd be willing to give you push access to the new github tree. You'll have to let me know your github user ID for me to do that. (If you don't already have one, you'll have to create one.) Further details, plus any Q&A, would better be taken care of via email.


RE: LDView 4.2 Released - Trevor Sandy - 2016-07-15

Hello Travis.

Many thanks for the detailed response. As you suggest, I'll come back to you via email for further information.

Cheers,


LDView 4.2.1 for Mac Released - Travis Cobbs - 2016-07-19

I discovered that I was able to easily fix a crash that occurred when dismissing the export options dialog, so I updated the Mac version to 4.2.1 with that fix. It's available from the links above. This is a Mac-only fix to a Mac-only problem, so the Windows and Qt versions remain unaffected.

Orion, I think you reported on this a while ago with LDView 4.2 Beta 1.


RE: LDView 4.2 Released - Michael Horvath - 2016-07-28

Hrmm... I was hoping you would implement "Walk-through mode" before abandoning the project. Sad


RE: LDView 4.2 Released - Michael Horvath - 2016-09-14

Is it possible to view only a sub-model of an MPD? I am trying to do this in the Model Tree list, but the only option I see is to highlight the item. Thanks.


RE: LDView 4.2 Released - David Manley - 2016-09-14

(2016-09-14, 6:06)Michael Horvath Wrote: Is it possible to view only a sub-model of an MPD? I am trying to do this in the Model Tree list, but the only option I see is to highlight the item. Thanks.

Does the menu item "Tools/MPD Model Selection" provide the functionality you are after?

Regards,

David


RE: LDView 4.2 Released - Travis Cobbs - 2016-09-14

(2016-09-14, 6:06)Michael Horvath Wrote: Is it possible to view only a sub-model of an MPD? I am trying to do this in the Model Tree list, but the only option I see is to highlight the item. Thanks.

As David already suggested, Tools->MPD Model Selection does this. If you want to render a sub-model in a command line snapshot, use a colon, followed by the sub-model name, (like 8464.mpd:engine.ldr).


RE: LDView 4.2 Released - Michael Horvath - 2016-09-15

Awesome, thanks.