claudia@fornax.UUCP (Claudia Morawetz) (02/22/90)
Hi apollo world! I have problem that is beyond my capacity to debug. I hope someone can help. Please mail your response to me as I don't read this newsgroup. We have an Apollo 590, and have just converted from SR9.7 to SR10.1. We are running in the BSD4.3 environment. We have Dialog v2.01, C compiler v6.7, and GMR v2.6.1 (don't know if this is relevant, but you never know!) The problem: we have a large piece of software (about 20,000 lines of code) that ran fine on SR9.7. After installing SR10.1 and all the above named software it doesn't work. In particular, our program runs dialog and has a GRAPHICS_AREA window with a viewport. In that viewport, we display a shaded object with bilinear shading, filled render mode, and Z-buffer hidden surface. Under the new operating system, the object just does not appear at all. This is the same code! Just recompiled under new operating system. I tried changing the gmr_$viewport_set_shading_mode so that there is no hidden surface. Then the object displays (incorrectly, because Z-buffering is not enabled, but at least the object is there). This is why I suspect it is something to do with Z-buffering. To be sure it wasn't any memory problem with the rest of our code, I have written a very small test program using dialog and a GRAPHICS_AREA (gmr) window, and display one polygon. Same thing. The object appears if Z-buffering is disabled, but disappears when I set Z-buffering on. Any help/suggestions (via e-mail) would be greatly appreciated. Thanks! Claudia claudia@cs.sfu.ca