Subject:
|
Re: Type 5 lines, BFC relevance, and OpenGL
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Tue, 29 Mar 2005 14:53:38 GMT
|
Viewed:
|
2046 times
|
| |
| |
Hmmm, draw the edge twice and flip the stencil bit eh? It sounds
like it could work. I'll have to read up on edge flags. I haven't
used them for anything yet.
By the way, you should be able to get all the info you need from
the type 5 line itself, without examining the adjacent polygons
A and B. Remember the type 5 line has 4 points: Two on the line
itself, and two from the adjacent polys (or somewhere equivalent
enough for this algorithm).
Let's see it in some code.
Have fun,
Don
|
|
Message has 2 Replies: | | Re: Type 5 lines, BFC relevance, and OpenGL
|
| (...) You know, this got me thinking last night. I knew it sounded vaguely familiar, so I searched lugnet for "stencil buffer" and found this. (URL) I was so close, but somehow got distracted before I could work it out. Damn that attention deficit (...) (20 years ago, 30-Mar-05, to lugnet.cad.dev)
| | | Re: Type 5 lines, BFC relevance, and OpenGL
|
| (...) Well, I tried this in LDView, and it seems to work fine. I haven't yet put the new stuff in a display list, so it's drawing all the type 5 line geometry in immediate mode. Consequently, I'm not yet sure how fast it will be (it's very similar (...) (20 years ago, 1-Apr-05, to lugnet.cad.dev, FTX)
|
Message is in Reply To:
| | Type 5 lines, BFC relevance, and OpenGL
|
| I wanted to bounce something that has been percolating in my brain for a few days off somebody that might be able to offer me some feedback on it. I don't know if I'm the first person to think of this (I'm probably not), but as I haven't seen (...) (20 years ago, 28-Mar-05, to lugnet.cad.dev)
|
9 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
|
|
|
|