RE: LDView Image save based on real life size?
2019-10-31, 23:40 (This post was last modified: 2019-10-31, 23:46 by Travis Cobbs. Edit Reason: Fix command line )
2019-10-31, 23:40 (This post was last modified: 2019-10-31, 23:46 by Travis Cobbs. Edit Reason: Fix command line )
(2019-10-31, 22:58)Cam\s Bricks Wrote: If I wanted to export an image and have the export be 1:1 for real life scale at a given dpi is this possible?
In theory, yes, but in practice it would take some trial and error. You would want to use the minimum supported Field of View, which is 0.1. You'd then need to experiment with camera distances until you found the one that produced the desired size for a given DPI.
So, on the command line, it might be something like so:
<Path to LDView executable> -cg0,0,12345 -ca0.1 -SaveZoomToFit=0 -SaveWidth=2048 -SaveHeight=2048 -AutoCrop=1 -SaveSnapshots=1 my_file.ldr
You would then tweak the 12345 above until you found the number that produced output at the size you want. You can adjust SaveWidth and SaveHeight based on the desired total output size. Note that the 0,0 above is for the latitude and longitude. You can change these to any value, but if you're looking for something that is "actual size", you'll often want them both to be divisible by 90.