Subject:
|
Re: Type 5 lines at the edge of primitives
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Mon, 6 May 2002 01:15:57 GMT
|
Viewed:
|
663 times
|
| |
| |
In lugnet.cad.dev, Travis Cobbs writes:
> In lugnet.cad.dev, Ross Crawford writes:
> > I'm not sure if I understand this properly - if the second "test" point is
> > down the line where the cylinder joint (between two rects) would be if it
> > was attached to a cylinder, won't that work? It'll mean the same line may
> > occasionally be displayed twice, but generally it'd be displayed by one or
> > the other hemisphere - if one misses it, the other would get it, wouldn't it?
> >
> > Or am I totally missing the problem?
>
> Well, I did as you suggested, and it solved the problem without introducing
> any new ones. I was also able to then visualize why it worked on a
> continuing sphere once I had it working.
Cool! Glad I could help!
And after looking at the discussion Don linked to, I'm wondering if a similar
thing could be done for type 5s on cylinder edges - make the second test point
on the plane where a rectangle would be if it was butted up against the
cylinder - ie at *half* the angle between two adjacent cylinder rectangles.
That way two adjacent cylinder segments "co-operate" to draw the line in the
same way.
I also realised that this will still cause problems if the adjacent object
connects on the same plane as the last rect in the cylinder (/ sphere) - the
only possible solutions I can see for that is extra primitives without type 5s,
or inlining the code & removing them manually. But I would think that's pretty
rare with LEGO bricks, anyway?
ROSCO
|
|
Message has 1 Reply: | | Re: Type 5 lines at the edge of primitives
|
| (...) Yeah; I actually posted a response to that thread suggesting just this. (...) Well, it's only a problem if you don't add another type 5 line to the edge. And I agree that it's probably rare. --Travis Cobbs (23 years ago, 6-May-02, to lugnet.cad.dev)
|
Message is in Reply To:
| | Re: Type 5 lines at the edge of primitives
|
| (...) Well, I did as you suggested, and it solved the problem without introducing any new ones. I was also able to then visualize why it worked on a continuing sphere once I had it working. --Travis Cobbs (tcobbs@REMOVE.halibut.com) (23 years ago, 5-May-02, to lugnet.cad.dev)
|
12 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|