Viewed 4k times. Improve this question. Add a comment. Active Oldest Votes. If quads are faster, use those. If not, don't. Improve this answer. Sean Middleditch Sean Middleditch Nicol Bolas Nicol Bolas Which you can do, but it limits the hardware. Sign up or log in Sign up using Google.
Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Explaining the semiconductor shortage, and how it might end. For example in wireframe they do not have the additional edge, that 2 triangles would have. This makes it more complicated to support in hardware. I would not have any problems, if gl would simply turn quads into 2 triangles, even in wireframe mode.
It would be better, than having no quads at all. Edit: Ah wait. I just started thinking and know the answer. My guess is that there is an overhead in the drivers : it converts the quad to 2 triangles. Since it is fast, I guess they pregenerate an index buffer or something of the sort.
About the wireframe mode, i dont think anyone cares so much about it; it is mostly a debug functionality. They could state in the specification that the implementation is free to do whatever it want in this case: it can remove the diagonal edges if it wishes so, but it is not required to.
A quad can have an error 0,0,0 1,0,0 1,1,0 0,1,92 Does not lie on a plane and is broken. This is not an issue. In practice all implementations regard the quads as 2 triangles. In the case where you pass 4 non-coplanar vertices you just get 2 non-coplanar triangles and thats all.
Not a big deal. The program can go off and issue some other commands. Not the best explanation ever, but my advice: try to learn this new rendering pipeline instead. It's superior to immediate mode by far. I recommend tutorials like:.
Literally try to forget what you know so far, immediate mode is long deprecated and shouldn't be used anymore, instead, focus on the new technology ;. Edit Excuse me if I used 'intermediate' instead of 'immediate', I think its actually called 'immediate', I tend to mix them up. I had to modify more than one hundred files while I was porting my old project to PHP 5. Asked 3 Months ago Answers: 5 Viewed 21 times. So they're trying to streamline the API. Paraphrased from Brian Button: They are generally used as a global instance, why is that so bad?
Aniket Thakur. Only authorized users can answer the question. Please sign in first, or register a free account. Not the answer you're looking for?
0コメント