trevorsandy / lpub3d

An LDraw™ editor for LEGO® style digital building instructions.
https://trevorsandy.github.io/lpub3d/
130 stars 19 forks source link

Native Render - different viewing angle being used between sub-model and main model #718

Closed d-j-m-0 closed 1 year ago

d-j-m-0 commented 1 year ago

Subject

When using the Native renderer, the images generated for the sub-model appear to be being created using a different viewing angle than when the sub-model image is then displayed in the main image. The same issue does not occur when using LDView to render the images.

Environment

Configuration

[Note: Provide details and content below as needed with appropriate redactions. To produce the Windows registry extract for an installed distribution, go to the command console and enter the command line shown. The extract file will be placed on your desktop.]

Logs

Screenshots; Available within attached zip file.

Steps to reproduce

Open the mpd contained in the attached zip file. Navigate through the instructions page by page. Compare the image on the second last page with that on the last page.

Expected behaviour

When using the Native renderer, the same viewing angle should be used for the final step of the sub-model as when the sub-model appears in the instructions.

Actual behaviour

The viewing angle differs. The attached images illustrate the angle is different.

lpub3d_viewing_angle_150_DPI_page_7

lpub3d_viewing_angle_150_DPI_page_8

Workaround

None known.

Solution suggestion

N/A

Zip file: lpub3d_20230603.zip

trevorsandy commented 1 year ago

Thank you for reporting this behaviour.

I'll take a look.

Cheers,

trevorsandy commented 1 year ago

This behaviour has been corrected.

RotateParts_01

RotateParts_02

RotateParts_03

Cheers,