To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 14704
14703  |  14705
Subject: 
Re: LDraw File Format Spec 1.0 DRAFT - Call for Public Comments
Newsgroups: 
lugnet.cad
Date: 
Tue, 21 Aug 2007 14:48:01 GMT
Viewed: 
3628 times
  
Rob Ross wrote:
But, one thing I have learned so far is that the rule about non-concave quads is
actually a limitation of OpenGL. It doesn't support them.

Actually I find it quite logically it's not supported. And I don't think
it's a specific OpenGL thing.

Once the vertices's are not concave, you basically stop having a Quad
all to getter. It becomes a polygon, and how is the hardware supposed to
know how to divide it in triangles (Far I know all hardware processes
only triangles).

Just look at a test openGL project, you will see it will draw 2
triangles but they will overlap because it guesses wrong.

You could correct it by rearranging the order of vertices's but I don't
know of all implementations 'divide' their quads the same way (e.g V 1 2
3  and V 2 3 4).

So like Rob Ross wrote, it would basically be a lot easier for us
rendering people to process line type 3 in those cases :)

Roland



Message has 1 Reply:
  Re: LDraw File Format Spec 1.0 DRAFT - Call for Public Comments
 
(...) I'm not sure yet what we on the LSC will decide with respect to concave quads. It may be that we'll change that paragraph to a recommendation. I personally don't like them, but I can see Orion's point. I may write a utility program to (...) (17 years ago, 21-Aug-07, to lugnet.cad)

Message is in Reply To:
  Re: LDraw File Format Spec 1.0 DRAFT - Call for Public Comments
 
(...) Hi there. I'm just getting up to speed with OpenGL so it will be a little while before I can really sink my teeth into this. But, one thing I have learned so far is that the rule about non-concave quads is actually a limitation of OpenGL. It (...) (17 years ago, 21-Aug-07, to lugnet.cad)

55 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR