trevorsandy / lpub3d

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

Assembly image viewing angle incorrect when LDView is used to render #725

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

d-j-m-0 commented 1 year ago

Subject

When the Native renderer is used and a ROTSTEP applied, the rendered assembly images align with the ROTSTEP command. Page 1: r246_r354_p1_native

Page 2: r246_r354_p2_native

When the renderer is set to LDView, although the standard STEP command is rendered as expected. Page 1: r246_r354_p1_ldview

The image generated for the ROTSTEP is incorrect:. Page 2: r246_r354_p2_ldview

Environment

Configuration

Screenshots

Steps to reproduce

In LPub3D, set the renderer to Native. Open the mpd found within the attached zip. Navigate to page 2. Close the mpd file. Set the render to LDView, Open the mpd file. Navigate to page 2.

Expected behaviour

The image generated when using LDView would be taken from a similar viewpoint as that when using the native renderer.

Actual behaviour

The LDView assembly image is generated from side on rather than the elevated position.

Workaround

USe the Native renderer instead of LDView.

Solution suggestion

None known.

Zip file:

rotation.zip

trevorsandy commented 1 year ago

Thank you for reporting this behaviour.

Indeed. It looks like I broke this in #718, but it is now corrected.

The correction will be in the next release build.

Cheers,