| | Re: Checking 48\1-4ring4.dat
|
|
(...) My code matches your code exactly. Could you submit your file to the tracker? But please add an Author line for Sascha, he gets first-mover props. Steve (22 years ago, 19-Apr-02, to lugnet.cad.dev)
|
|
| | Re: Checking 48\1-4ring4.dat [DAT]
|
|
(...) Yes, I agree. My Excel spreadsheet created file is varying by 0.0001 to 0.0002. Paul 0 Hi-Res Ring 4 x 0.25 0 Name: 48\1-4ring4.dat 0 Author: Paul Easter 0 Unofficial Primitive 0 BFC CERTIFY CW 4 16 4 0 0 3.9658 0 0.5221 4.9572 0 0.6526 5 0 0 (...) (22 years ago, 19-Apr-02, to lugnet.cad.dev)
|
|
| | Re: Why Type 5 Lines?
|
|
(...) Actually, transparent surface should work fine. As long as they are set to write to the Z buffer when drawn, and their outlines are drawn with Z buffer testing enabled, they should work fine. The wireframe parts that aren't supposed to be (...) (22 years ago, 18-Apr-02, to lugnet.cad.dev)
|
|
| | Re: Why Type 5 Lines?
|
|
(...) One problem: transparent surfaces would show the wireframe backside. :\ Steve (22 years ago, 18-Apr-02, to lugnet.cad.dev)
|
|
| | Re: Why Type 5 Lines?
|
|
I was reading through this more, and while I still don't know exactly how it all works, I think I stumbled onto something. > I dont know how many of you have come across this technique before. I > remember finding an OpenGL demo that did this kind (...) (22 years ago, 18-Apr-02, to lugnet.cad.dev)
|
|
| | Re: Why Type 5 Lines?
|
|
(...) Yeah, the stencil buffer, that's gotta be it. If you've got BFC working then you can use the stencil buffer to count how many times an edge is draw in GL_LINE mode. Edges on back facing triangles won't be drawn, so you'll only count one edge (...) (22 years ago, 18-Apr-02, to lugnet.cad.dev)
|
|
| | Re: Why Type 5 Lines?
|
|
(...) That sounds like glPolygonOffset which would be part of the solution because it allows the edges to look clean. We all use that already. (...) I can see how you might accomplish some of that by manipulating glEdgeFlag when you define your (...) (22 years ago, 18-Apr-02, to lugnet.cad.dev)
|
|
| | Re: Why Type 5 Lines?
|
|
(...) OpenGL has glPolygonOffset, which does what you describe by allowing you to move the polygons further away in the Z direction, where the amount they move can depend on the slope of the polygon in the Z direction. This works great, and I use it (...) (22 years ago, 17-Apr-02, to lugnet.cad.dev)
|
|
| | Re: Why Type 5 Lines?
|
|
(...) The obvious case where it's useful is studs - without these lines, viewing any brick from the standard "oblique" position above & to the side, you would see a circle at the top & bottom of each stud, but no sides, which IMHO would not look (...) (22 years ago, 17-Apr-02, to lugnet.cad.dev)
|
|
| | Re: Why Type 5 Lines?
|
|
(...) Well, I believe that there is something called a 'Z offset' that can be used not to actually move the geometry, but to make sure the lines appear 'on top' of the faces. Before I go more into this I need to back up a bit. I currently use the (...) (22 years ago, 17-Apr-02, to lugnet.cad.dev)
|