|
 |
William F Pokorny <ano### [at] anonymous org> wrote:
> 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...
I would say that that makes sense.
As I have discussed with jr, and perhaps brought up in other posts, I would like
to have default values for things like the disc radii and surface normal if they
are not provided. That might be a parser thing in addition to a .cpp thing.
Useful would be a swept annulus - a tube {}
Simply because it seems to be a common shape and it can be cumbersome if one has
a lot of them to make - especially for a newbie.
One of the things that I have read about in CS courses, and elsewhere, is that
they have that "regularized Boolean" variant, which I think we could immensely
benefit from - given that it would get rid of the residual coincident surface
problem when doing differences.
Alternately, would be some hierarchical CSG logic, whereby the last object
specified in any given CSG operation takes precedence. I guess it would be sort
of like a z-buffer for CSG. It's also how I code differences in my editor - the
differencing objects get indented after the parent object. So, in a coincident
surface contest, the parent object should always lose.
Getting better at reading and interpreting the source, though I don't see the
big picture in terms of information flow.
-bw
Post a reply to this message
|
 |