On 9/24/25 09:40, Bald Eagle wrote:
> So, I need to question the whole top row.
> I refer to the disc {} in its form with a hole using the mathematically accurate
> term "annulus".
I think the answer to most (all?) of your questions about the disc is
the inside test is supposed to be equivalent to a plane{}'s inside test
using the disc{}'s normal.
In yuqk I'm leaning heavily toward changing the disc{} to a patch object
with an inside test that always returns false. To fix it, I suspect I'd
have add internal dual cylinder bounding, but cost wise this will be not
much different than a CSG difference with two cylinders...
FYI. You are correct the issue in v3.8 beta2 is bounding related.
Attached an image rendered with yuqk using the '-b' flag to turn
bounding off. The yuqk fork turns bounding 'completely' off with '-b'
where v3.7 and v3.8 made code changes which pushed the last level of
bounding for shapes outside the +-b flag's control(*). The yuqk fork has
restored the v3.6 and prior behavior - and the restoration is certainly
helpful here for debugging.
(*) - The change offered a performance optimization in some situations.
---
Ah, I see the cone is doing something weird where the two radii are
negative. We should probably just not allow negative radii arguments in
the parser - for any shape.
Bill P.
Aside 1: Long on my todo list is breaking apart the cylinder and cone
code. Today it's all munged together making both slower and more complex
than they need be.
Aside 2: clipka fixed something with the cone behavior (my memory
otherwise fails) in v3.8. I expect v3.7 cone behavior is different in
some aspect.
Post a reply to this message
Attachments:
Download 'discoddnessnoboundingcsg_yuqk.png' (58 KB)
Download 'coneoddnesscsg_v38.png' (63 KB)
Preview of image 'discoddnessnoboundingcsg_yuqk.png'

Preview of image 'coneoddnesscsg_v38.png'

|