home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!news.funet.fi!funic!sauna.cs.hut.fi!news.cs.hut.fi!apm
- From: apm@kikka.hut.fi (Antti Miettinen)
- Newsgroups: comp.graphics.opengl
- Subject: OpenGL and GL tmesh
- Date: 19 Dec 92 17:56:27
- Organization: Helsinki University of Technology, Finland
- Lines: 22
- Distribution: inet
- Message-ID: <APM.92Dec19175627@kikka.hut.fi>
- NNTP-Posting-Host: kikka.hut.fi
-
- I can't find any mention about a counterpart for GL swaptmesh() in the
- OpenGL manual pages that I got from sgi.com. Does this mean that
- swaptmesh() is going away and I should avoid it? It seems that you can
- draw triangle strips and fans but no longer combinations.
-
- Please say it's not true. Fiddling with trimeshes has been so much
- fun. I mean.. the intellectual challenge of drawing some geometry as
- one single trimesh and figuring out the correct swaps and.. But
- seriously - wouldn't it be pretty easy to provide the counterpart
- provided that an OpenGL implementation has to offer strips and fans?
- And it would save sending a couple of vertices here and there.
- Propably typically not a great saving but if it is easy to provide and
- increases compatibility then wouldn't it be a good idea to include it?
-
- First I thought that glEdgeFlag() could be used for the purpose but
- the manual page states that it is significant only if polygon mode is
- point or line. Hmm.. is the following a contradiction? First the man
- page states that "In particular, glEdgeFlag may be called between a
- call to glBegin and the corresponding call to glEnd" and in the ERRORS
- section "GL_INVALID_OPERATION is generated if glEdgeFlag is called
- between a call to glBegin and the corresponding call to glEnd".
-
-