diff --git a/src/c/Mex.mexw64 b/src/c/Mex.mexw64 index aff3e9651249c3123a766f9bc5f4b8f9ccdfe9e1..a1717f3ec27d1db80670f87cb6df7cbb6ab182df 100644 Binary files a/src/c/Mex.mexw64 and b/src/c/Mex.mexw64 differ diff --git a/src/matlab/+D3d/@Viewer/Mex.mexw64 b/src/matlab/+D3d/@Viewer/Mex.mexw64 index 119222683549a8c7f839a717a6109fe6cbed58fe..a1717f3ec27d1db80670f87cb6df7cbb6ab182df 100644 --- a/src/matlab/+D3d/@Viewer/Mex.mexw64 +++ b/src/matlab/+D3d/@Viewer/Mex.mexw64 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6d837eb615f2eb55be5306a16a58d695e991e3e7ccb3d72d9b78d10fe20c873b -size 598528 +oid sha256:e7996ae76fad58162712c2ea2bed5d050c7d2d72f3e54169891891ec64012107 +size 601088 diff --git a/src/matlab/+D3d/@Viewer/SetDpiScale.m b/src/matlab/+D3d/@Viewer/SetDpiScale.m new file mode 100644 index 0000000000000000000000000000000000000000..b0b1cad3eceb5dd79a4243678ce0ea5c893e58f9 --- /dev/null +++ b/src/matlab/+D3d/@Viewer/SetDpiScale.m @@ -0,0 +1,6 @@ +% SetDpiScale - This sets the amount to enlarge each window pixel (larger scale percentages improve render speed but can blur the rendering). +% Viewer.SetDpiScale(scalePct) +% ScalePct - The percentage to 'enlarge' each pixel in the window (default 150%). +function SetDpiScale(scalePct) + D3d.Viewer.Mex('SetDpiScale',scalePct); +end diff --git a/src/matlab/+D3d/@Viewer/Viewer.m b/src/matlab/+D3d/@Viewer/Viewer.m index 7ea0b4fc8845f96b6d93be96ff337ae1d72ab030..cbdc9002930f7a8fc0e31d61698312e5e0646b5f 100644 --- a/src/matlab/+D3d/@Viewer/Viewer.m +++ b/src/matlab/+D3d/@Viewer/Viewer.m @@ -24,6 +24,7 @@ methods (Static) SetBorderColor(color) SetCapturePath(filePath,filePrefix) SetCaptureSize(width,height) + SetDpiScale(scalePct) SetFrame(frame) SetFrontClip(FrontClipDistance) SetViewOrigin(viewOrigin)