home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!sgi!fido!cashew.asd.sgi.com!kurt
- From: kurt@cashew.asd.sgi.com (Kurt Akeley)
- Newsgroups: comp.graphics.opengl
- Subject: Re: OpenGL and GL tmesh
- Date: 21 Dec 1992 17:43:47 GMT
- Organization: Silicon Graphics, Inc.
- Lines: 46
- Distribution: inet
- Message-ID: <1h4vojINN9s5@fido.asd.sgi.com>
- References: <APM.92Dec19175627@kikka.hut.fi>
- NNTP-Posting-Host: cashew.asd.sgi.com
-
- --
-
- In article <APM.92Dec19175627@kikka.hut.fi>, apm@kikka.hut.fi (Antti Miettinen) writes:
- |> 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.
-
- Sorry, it's 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?
-
- Not necessarily. Our experience with implementing swaptmesh() on our
- own machines is that it is easy and straighforward on pipeline machines,
- (such as the GT for which it was designed) but difficult and complex on
- the more parallel machines that we have designed more recently (VGX,
- Elan, RealityEngine).
-
- |> 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?
-
- We agree that the savings aren't very great. We decided, when we were
- designing the OpenGL, that the savings in vertexes wouldn't be worth the
- cost in both implementation complexity and the likely overall reduction
- in implementation performance.
-
- |> 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".
-
- Yup, and a blatant one at that! The NOTE is correct, the ERRORS entry
- is wrong. EdgeFlag would be useless if it could not be called between
- Begin and End. Thanks for calling this to our attention.
-
- -- Kurt Akeley kurt@sgi.com (415) 390-3612 M/S 7U-550
-