![]() |
Problem with perspective in LPub3D - Printable Version +- LDraw.org Discussion Forums (https://forums.ldraw.org) +-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html) +--- Forum: Rendering Techniques (https://forums.ldraw.org/forum-20.html) +--- Thread: Problem with perspective in LPub3D (/thread-23725.html) |
Problem with perspective in LPub3D - Stefan Weinert - 2019-10-27 Hello Lego Fans, I have a problem with the perspective in LPub3D. the escape point seems to be wrong. As a result, the farther rear part looks larger than the closer front part. I had the same effect synonymous in studio 2.0, but could help me johann there and you could fix it by switching to the camera icon. Can anyone tell me what I am doing wrong? LDCad 1.6c, LPub3D 2.3.6 (i don´t want to use the newest Version, because this Version has the fewest Side-Effects), used Render-Tool LDView best regards Stefan RE: Problem with perspective in LPub3D - Roland Melkert - 2019-10-27 (2019-10-27, 11:34)Stefan Weinert Wrote: I have a problem with the perspective in LPub3D. the escape point seems to be wrong. The Field Of View (FOV) angle seems to be very low, (e.g 15 degrees). Don't know how you change that, might even be using the current default of LDView. But if you can find the setting change it to something like 45 degrees. RE: Problem with perspective in LPub3D - Stefan Weinert - 2019-10-27 (2019-10-27, 21:09)Roland Melkert Wrote: The Field Of View (FOV) angle seems to be very low, (e.g 15 degrees). Many thanks for the answer! Unfortunately, I am not familiar with the LDView at all, so I have to search for this setting first RE: Problem with perspective in LPub3D - Travis Cobbs - 2019-10-28 (2019-10-27, 11:34)Stefan Weinert Wrote: Hello Lego Fans, I'm not exactly sure what you are asking. LPub3D intentionally uses a very small FOV (probably something like 0.1) for step images when using LDView as a renderer (to simulate orthographic projection). The General tab of LDView's preferences has a "Field of View" setting, and values between 30 and 45 generally look pretty reasonable for a non-orthographic look. I'm not sure if LPub3D allows you to touch the field of view on step images, though, because all LEGO instructions use orthographic projection, and it is trying to replicate that look. RE: Problem with perspective in LPub3D - Stefan Weinert - 2019-10-28 (2019-10-28, 6:48)Travis Cobbs Wrote: I'm not exactly sure what you are asking. LPub3D intentionally uses a very small FOV (probably something like 0.1) for step images when using LDView as a renderer (to simulate orthographic projection). The General tab of LDView's preferences has a "Field of View" setting, and values between 30 and 45 generally look pretty reasonable for a non-orthographic look. I'm not sure if LPub3D allows you to touch the field of view on step images, though, because all LEGO instructions use orthographic projection, and it is trying to replicate that look. My knowledge of LDView and LPub3D are unfortunately very low. What can I do to correct the perspective? RE: Problem with perspective in LPub3D - Philippe Hurbain - 2019-10-28 (2019-10-28, 14:19)Stefan Weinert Wrote: My knowledge of LDView and LPub3D are unfortunately very low. What can I do to correct the perspective?Looks like a orthographic/perspective switch has been added to LPub3D relatively recently. See https://github.com/trevorsandy/lpub3d/issues/175 (description of setting at the end of the (long) page) RE: Problem with perspective in LPub3D - Stefan Weinert - 2019-10-28 (2019-10-28, 14:57)Philippe Hurbain Wrote: Looks like a orthographic/perspective switch has been added to LPub3D relatively recently. See https://github.com/trevorsandy/lpub3d/issues/175 (description of setting at the end of the (long) page) Oh, thank you for the answer! That explains it. So I have to install a more recent version but probably. the 2.3.6 did a good job for me RE: Problem with perspective in LPub3D - Stefan Weinert - 2019-10-29 (2019-10-28, 15:30)Stefan Weinert Wrote: Oh, thank you for the answer! That explains it. So I have to install a more recent version but probably. the 2.3.6 did a good job for me Unfortunately I still have the same effect despite version 2.3.13, where I can switch between "perspective" and "orthographic". I have again put my settings in the appendix RE: Problem with perspective in LPub3D - Trevor Sandy - 2019-10-30 (2019-10-29, 8:50)Stefan Weinert Wrote: Unfortunately I still have the same effect despite version 2.3.13, where I can switch between "perspective" and "orthographic". I have again put my settings in the appendix Hello Stefan, With v2.3.13 you can set the LDView renderer to use a non-ortho projection using the new “Additional renderer arguments” dialogue - See GitHub Ticket #332. The setting is -FOV=<a>, where a is a degree between 0.01 and 90. Here is the FOV documentation from LDView help: Quote:Field of view (Default: 45): In LPub3D, when you set the renderer projection to Perspective and your Preferred Renderer as LDView, the default FOV (0.01) is replaced with the FOV you specify -e.g. from the CSI/PLI context menu; however, this value is assigned to the L3P Camera Angle setting -ca<a> which, I recently discovered, behaves differently from directly using the LDView FOV setting described above. UPD: GitHub ticket #373 provides a better example of how to use the additional renderer dialogue. cheers, RE: Problem with perspective in LPub3D - Stefan Weinert - 2019-10-30 (2019-10-30, 22:15)Trevor Sandy Wrote: Hello Stefan,Hello Trevor, it does not work for me unfortunately. See the attachment. LDView is on "perspective", i have played through all extreme (0.1 ... 90). even with "<>" and without. Best regards Stefan RE: Problem with perspective in LPub3D - Johann Eisner - 2019-10-31 (2019-10-30, 22:57)Stefan Weinert Wrote: Hello Trevor,Hi Stefan I opened a Ticket on Github #378. Problem should be solved with the next release 2.3.14. RE: Problem with perspective in LPub3D - Trevor Sandy - 2019-10-31 (2019-10-31, 7:48)Johann Eisner Wrote: Hi Stefan I forgot to mention that it is also necessary to set "Apply Camera Angles" to Renderer. As LPub3D is rotating the model before calling the renderer, there is no difference when the projection is changed. Nevertheless, this setting will not address all the unexpected behaviour. You are likely to generate an empty page because of the LPub3D calculated camera distance. This behaviour has been corrected - See GitHub ticket #378 for the latest status. Cheers, RE: Problem with perspective in LPub3D - Stefan Weinert - 2019-10-31 (2019-10-31, 12:45)Trevor Sandy Wrote: I forgot to mention that it is also necessary to set "Apply Camera Angles" to Renderer. As LPub3D is rotating the model before calling the renderer, there is no difference when the projection is changed.Hello Trevor, many Thanks for your help! I will try your workaround in ticket 378! Kind regards Stefan RE: Problem with perspective in LPub3D - Stefan Weinert - 2019-10-31 (2019-10-31, 16:14)Stefan Weinert Wrote: Hello Trevor,Hello Trevor, have the steps from ticket # 378 performed, so the two !LPUB-lines inserted. when I clicked "Reset Page Image Cache", only the error message came up (see appendix). could only end the program with the taskmanager. have I missed a step? |