Subject:
|
Re: Lines in patterns
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Fri, 3 Jan 2003 12:27:54 GMT
|
Viewed:
|
416 times
|
| |
| |
In lugnet.cad, Niels Karsdorp writes:
> When making lots of parts BFC compliant I noticed
> that many parts have lines in the patterns.
> Most of these lines are surrounded by polygons.
> What is the use of lines in (flat) 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 sequence.
In June 2002 I suggested a META statement to point out these lines,
see http://news.lugnet.com/cad/dev/?n=7378
> (L3P/POV ignore lines, right?)
Right. Lines have no thickness and thus cannot be seen in 3D.
Therefore there are no lines in PovRay.
> Am I right if I think that lines are used to mark
> edges and corners of the parts.
That is the original purpose.
> Should I leave the lines in the patterns, or may
> I remove them?
A META statement could signal their special purpose.
Renderers could treat them correctly, i.e. draw them lastly.
/Lars
|
|
Message has 3 Replies: | | Re: Lines in patterns
|
| (...) Why should a renderer *NOT* draw lines last? Original LDraw did (IMMSMR). Better fix the renderers once than to burden the part authors with yet another META command each time they make a patterned part. Those lines in patterns served a good (...) (22 years ago, 3-Jan-03, to lugnet.cad)
| | | Re: Lines in patterns
|
| (...) 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 (...) (22 years ago, 3-Jan-03, to lugnet.cad)
| | | Re: Lines in patterns
|
| (...) In parts like 2431p02 2431p51 2431bp52 And perhaps more parts, have lines around the pattern polygons. The polygons on these parts seem large enough to me that the lines in these cases are not required for Lars' explanation. (I'll convert (...) (22 years ago, 4-Jan-03, to lugnet.cad)
|
Message is in Reply To:
| | Lines in patterns
|
| When making lots of parts BFC compliant I noticed that many parts have lines in the patterns. Most of these lines are surrounded by polygons. What is the use of lines in (flat) patterns? (L3P/POV ignore lines, right?) Am I right if I think that (...) (22 years ago, 3-Jan-03, to lugnet.cad)
|
8 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
|
|
|
|