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:
Message is in Reply To:
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
|
|
|
|