We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to draw lines with rounded end in 3D mode, but they always seem to have square ends. (In ordinary default 2D mode lines can have rounded ends).
If I use strokeCap(ROUND) and then draw lines in P3D mode after I have called "size(1920,1080,P3D);" the line ends are square:
size(1920,1080,P3D);
...
stroke(160 , 30, 155 );
strokeWeight(strokeweight1);
strokeCap(ROUND);
line(x1,y1, Zcoord, x2,y2, Zcoord );
Am I missing a command? Could it be that Round-ended lines are not supported in 3D?
Thanks!
Answers
https://forum.Processing.org/two/discussion/15473/readme-how-to-format-code-and-text
https://forum.Processing.org/two/discussion/8967/lines-in-p3d-only-in-rectangular-mode
https://forum.Processing.org/two/discussion/18718/strokecap-round-failure
Thanks GoToLoop.
Pithy, but complete, response!
I'll think I'll implement a very simple pseudo-perspective, simply shrinking X and Y towards the origin according to Z value. Not doing any rotations that wouldn't work properly with this, so it should work... I think...
Thanks again,
Marc