Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!well!levine From: levine@well.sf.ca.us (Ron Levine) Newsgroups: comp.graphics Subject: Re: SunPHIGS problem Summary: May be outside of view volume Message-ID: <24837@well.sf.ca.us> Date: 17 May 91 17:23:44 GMT References: Distribution: comp Lines: 42 In article , amir@taux01.nsc.com (Amir J. Katz (Xpert)) writes: > > I am a new user of SunPhigs 1.3. While trying to create a new Phigs program > I encountered the following problem : > > When I create elements inside the Phigs structure, using my modeling > coordinates space, if the modeling coordinates size is larger > than ~100, then the element is not displayed on the window. > > When I use small coordinates as the modeling coordinates , > then the display is o.k. ....... > -- > Amir J. Katz, System Manager Amir: I don't have the SunPHIGS examples manual you refer to, so I'm not sure exacly what primitive you are using, what attributes you are setting, what modeling transformations you are specifying, or what you are doing about the view definition, but I suspect that you are simply putting all of the visible points of your square outside of the view volume. Understand that in the default view, only points lying in the unit cube in world space, 0 <= x,y,z <= 1 are visible. In any view, only points which map to the unit cube in NPC space can be visible. If your primitive is a polyline or a fill area with interior style empty or hollow, then only the edges of the square are visible. You are probably making the square so large that the edges all fall outside the defined view volume, whatever it is. Ron Levine (415)-535-1350