LDraw.org Discussion Forums
Problem with LDView primitive substitution - 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: Problem with LDView primitive substitution (/thread-26031.html)



Problem with LDView primitive substitution - Philippe Hurbain - 2022-02-10

It seems that primitive substitution doesn't work on some hires cones. Case in point, 48\1-4con19 used in this part: https://www.ldraw.org/cgi-bin/ptdetail.cgi?f=parts/2745.dat
At high substitution levels cone no longer matches cylinder.
This concerns all LDView versions I could test, from 4.1 to 4.4.1beta2


RE: Problem with LDView primitive substitution - Gerald Lasser - 2022-02-10

I observed a similar thing back in 2016.

https://forums.ldraw.org/thread-18463-post-18463.html?highlight=cones#pid18463

Conclusion was that a certain combination of options led to the display issue.


RE: Problem with LDView primitive substitution - Philippe Hurbain - 2022-02-10

(2022-02-10, 15:30)Gerald Lasser Wrote: I observed a similar thing back in 2016.
https://forums.ldraw.org/thread-18463-post-18463.html?highlight=cones#pid18463
Conclusion was that a certain combination of options led to the display issue.
Clearly the same problem. 48\ cone primitives are neither substituted nor smoothed for radius >= 10, though it works fine for normal res. Substitution is correctly done for rings.
Code:
1 14 0 5 0 1 0 0 0 2 0 0 0 1 48\4-4con5.dat
1 14 0 0 0 1 0 0 0 2 0 0 0 1 48\4-4con9.dat
1 14 0 -5 0 1 0 0 0 2 0 0 0 1 48\4-4con10.dat
1 14 0 -10 0 1 0 0 0 2 0 0 0 1 48\4-4con12.dat
1 16 0 -15 0 1 0 0 0 2 0 0 0 1 48\4-4con20.dat

1 14 30 -15 0 1 0 0 0 2 0 0 0 1 4-4con5.dat
1 14 30 -10 0 1 0 0 0 2 0 0 0 1 4-4con9.dat
1 14 30 -5 0 1 0 0 0 2 0 0 0 1 4-4con10.dat
1 14 30 0 0 1 0 0 0 2 0 0 0 1 4-4con12.dat
1 16 30 5 0 1 0 0 0 2 0 0 0 1 4-4con20.dat



RE: Problem with LDView primitive substitution - Travis Cobbs - 2022-02-11

(2022-02-10, 10:20)Philippe Hurbain Wrote: It seems that primitive substitution doesn't work on some hires cones. Case in point, 48\1-4con19 used in this part: https://www.ldraw.org/cgi-bin/ptdetail.cgi?f=parts/2745.dat
At high substitution levels cone no longer matches cylinder.
This concerns all LDView versions I could test, from 4.1 to 4.4.1beta2

I'll investigate. I think my filename parsing is broken for the 48 cones with a 2-digit size.