LDraw.org Discussion Forums
LDCad 1.6 Alpha 3 (win+linux) - 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: LDCad 1.6 Alpha 3 (win+linux) (/thread-21643.html)

Pages: 1 2 3 4 5


RE: LDCad 1.6 Alpha 3 (win+linux) - Roland Melkert - 2016-08-03

(2016-08-03, 18:18)Philippe Hurbain Wrote:
Quote:I could add that as an option, in Alpha 4 you could also use the new file cleanup option to prepare a contained (omr) mpd afterwards.
Looking for that!

It's a fun feature Smile

   

I'm just not sure about the 'sync description' option. MPDCenter wants that but I can't find it in the OMR specs.


RE: LDCad 1.6 Alpha 3 (win+linux) - David Manley - 2016-08-03

(2016-08-02, 19:31)Roland Melkert Wrote: I'm closing in on a Alpha 4 version,

So if anyone has some pending issues / bug reports please post them now so I might be able to address them before releasing Alpha 4 which will most likely be the last Alpha.

I'm wondering if the ROTSTEP viewing angle is a little off in LDCAD?

When the following model:
Code:
0 Author: David Manley
0 !LICENSE Free for non-commercial use.
1 14 0 16 20 1 0 0 0 1 0 0 0 1 3024.dat
0 STEP
1 4 0 0 0 1 0 0 0 1 0 0 0 1 3622.dat
0 ROTSTEP 41 37 0 ABS

is stepped through in LDCAD, the following view is shown after the second step:

   

However, in LPub, this is rendered as


.jpg   rot_step_lpub_pdf.jpg (Size: 5.52 KB / Downloads: 40)

which does reflect the angle as shown in MLCAD


.jpg   rot_step_mlcad.jpg (Size: 8.31 KB / Downloads: 39)

Attempting the render in LPub3D, gives another angle altogether.


.jpg   rot_step_lpub3d_pdf.jpg (Size: 4.45 KB / Downloads: 39)

I think that MLCad introduced the ROTSTEP meta-command and LPub reflected the rotation accordingly. Unless there's a setting which I have accidentally tweaked , it appears the angle in LDCAD is a little bit out. This makes it a lot harder to use the "sample view" capability in LDCAD (which is nice) since what you see on the screen is not what appears in the build instruction.

Regards,

David


RE: LDCad 1.6 Alpha 3 (win+linux) - Roland Melkert - 2016-08-03

(2016-08-03, 22:16)David Manley Wrote: I'm wondering if the ROTSTEP viewing angle is a little off in LDCAD?

I think these slight differences are caused by one or more of the following things:

Field of view settings (LDCad's default is quite wide).
Overall projection kind (iso/perspective).
The way the orientation is calculated (LDPub seems to use longitude latitude (for use with LDView) instead of direct matrix manipulation like the MLCad spec states).
The models center or lookat might be different. (Might be slightly better in Alpha 4 as it will rezoom visible parts per step change if 'Auto step rotation' is enabled)


Not relevant here as you are using ABS, but the REL variant of the meta seems to behave different in LPub then described in the MLCad specs. Given that LPub is widely used and all the exiting models etc I tried to mimic the LPub way (basically the matrix multiplication order seems to be wrong in LPub or I'm missing something else).

But to make a long story short it probably does need some fine tuning. I will do some more comparisons using MLCad to see if I can find some logic in it all Smile