home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!agate!stanford.edu!rock!concert!sas!mozart.unx.sas.com!sasa3d
- From: sasa3d@morisot.unx.sas.com (Ali Dogrusoz)
- Subject: Re: Concave Polygon Problems
- Originator: sasa3d@morisot.unx.sas.com
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Message-ID: <BxLyto.LrI@unx.sas.com>
- Date: Thu, 12 Nov 1992 14:56:11 GMT
- References: <1992Nov12.115254.1@vaxa.strath.ac.uk>
- Nntp-Posting-Host: morisot.unx.sas.com
- Organization: SAS Institute Inc.
- Lines: 58
-
-
- In article <1992Nov12.115254.1@vaxa.strath.ac.uk>, ccas20@vaxa.strath.ac.uk writes:
- |> CONCAVE POLYGON RENDERING
- |>
- |> Having recently upgraded to 4.0.5 we have come across a new problem in
- |> rendering concave polygons. This appears in FORTRAN and C code by
- |> different authors and is demonstrable on INDIGOs with entry level and
- |> ELAN graphics. This code has worked fine on 4.0.1 with no apparent
- |> problems, also a 4D50 and 4D25 cope just fine.
- |>
- |> Given a concave polygon (yes the GL concave command is set to
- |> TRUE) then as the object is rotated you can see that the polygon is
- |> decomposed into triangles. As the object is viewed from different
- |> angles some of these triangles will not be drawn. I am not the only
- |> one to notice these problems but the UK hotline has been silent for
- |> over a month.
- I've reported this to Mt.View in early Oct. also.
- |>
- |> The polygons are drawn using bgnpol/endpol delimiters and are not
- |> self intersecting, but may share vertices (like a C with the ends
- ^^^^^^^^^^
- |> drawn together to form an O), no illegal functions are called between
- |> delimiters,
- |>
- |> Has anyone else come across this phenomena or is it yet another
- |> example of GL becoming stricter in the way it handles duff code?
- We experience the same behavior on the LG (entry indigo). It does not seem to
- happen on the xg subsys (ie. XS, XS-24, elan) especially when we are
- trying to create figures like "O" "e" "D'...that have shared vertices.
- Here is an ascii graphic of an example polygon. Btw/ it only happens in
- 4.0.5 ( also it was not a problem at 4.0.1)
-
- both vertices at the same location
- _____________VV______________
- / || \
- | || |
- | __________||__________ |
- | / \ |
- | | | |
- | \______________________/ |
- \____________________________/
-
-
- |>
- |> All clues, hints, workarounds or abuse for stupidty most welcome.
- I would welcome them also. I don't want to ship out a product like that!
-
-
- Thanks
-
- Ali
- --
- -------------------------------------------------------------------------------
- Ali Dogrusoz | SAS Institute Inc. | Phone (919) 677-8000 |sasa3d@unx.sas.com
- | SAS Campus Dr | |
- | Cary, NC 27513 | |
- -------------------------------------------------------------------------------
-
-