Subject:
|
Re: Lines in patterns
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Fri, 3 Jan 2003 14:10:18 GMT
|
Viewed:
|
337 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
In lugnet.cad, Lars C. Hassing writes:
> The lines are there to have something drawn when the polygon would
> otherwise be too small to be rendered (at low magnification).
>
> Personally I don't like them in the present form,
> because they rely on renderers to draw objects in a certain sequence.
> In June 2002 I suggested a META statement to point out these lines,
> see http://news.lugnet.com/cad/dev/?n=7378
>
> A META statement could signal their special purpose.
> Renderers could treat them correctly, i.e. draw them lastly.
You don't actually have to draw them last. Just offset them in
the Z buffer a bit toward the camera. It's cheap, and fast, and
I think it looks pretty good. Opengl does it for you with
glPolygonOffset but you can examine some homemade code that does
the same thing in the original ldlite sources.
Don
|
|
Message is in Reply To:
![](/news/x.gif) | | Re: Lines in patterns
|
| (...) The lines are there to have something drawn when the polygon would otherwise be too small to be rendered (at low magnification). Personally I don't like them in the present form, because they rely on renderers to draw objects in a certain (...) (21 years ago, 3-Jan-03, to lugnet.cad)
|
8 Messages in This Thread: ![Lines in patterns -Niels Karsdorp (3-Jan-03 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Lines in patterns -Lars C. Hassing (3-Jan-03 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: Lines in patterns -Tore Eriksson (3-Jan-03 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Lines in patterns -Lars C. Hassing (3-Jan-03 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![You are here](/news/here.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Lines in patterns -Niels Karsdorp (4-Jan-03 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Lines in patterns -Lars C. Hassing (4-Jan-03 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![New META, was Re: Lines in patterns -Niels Karsdorp (5-Jan-03 to lugnet.cad)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|