home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.windows.x.pex:529 comp.unix.aix:9387 alt.graphics:337 comp.graphics:9445
- Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!fhg!igd!pfuetz
- From: pfuetz@igd.fhg.de (Matthias Pfuetzner)
- Newsgroups: comp.windows.x.pex,comp.unix.aix,alt.graphics,comp.graphics
- Subject: IBM's graPHIGS package, problem with GPNBS, any hint?
- Message-ID: <1484@igd.fhg.de>
- Date: 4 Sep 92 13:14:24 GMT
- Sender: news@igd.fhg.de
- Followup-To: poster
- Organization: Zentrum fuer Graphische Datenverarbeitung, Darmstadt, FRG
- Lines: 41
-
- Hi Everybody!
-
- I have a problem with IBM RS/6000 graPHIGS library and the GPNBS call.
-
- Simply said: The above call inserts the corresponding element into the
- structure store, but I don't see nothing on the screen!
-
- I checked whether the currently open workstation supports non-uniform B-spline
- surfaces (it does), what the maximum order is (6, I only use 2x3 and sometimes
- 3x3), so that I'm sure, this primitive is available.
-
- Before inserting the GPNBS I inserted "pfill_area_set3" using the ISO C
- Binding provided under /usr/lpp/graPHIGS/samples/cbinding, so that I can use
- mixed calls for those routines that are currently not supported in ISO C
- Binding form. This fill_area_set3 is properly drawn, so that I'm sure the
- workstation is opened correctly. The data I supply for the B-spline surface is
- OK, as I am also using libphigs.a (producing PEX calls) on the IBM and on Sun
- workstations with X11R5 by MIT. With these libraries I see my surface!
-
- I never use trimcurves, so I don't use GPTNBS.
-
- Here is the call:
- #if defined( AIXV3 ) && defined( USE_GRAPHIGS )
- GPNBS( (Pint)2, (Pint)3, uknots.num_floats - 2, vknots.num_floats - 3,
- uknots.floats, vknots.floats, 0, 0, 0, 1, 4, grid.points.point4d,
- uknots.floats[0], uknots.floats[uknots.num_floats - 1],
- vknots.floats[0], vknots.floats[vknots.num_floats - 1] );
- #else
- pnuni_bsp_surf( (Pint)2, (Pint)3, &uknots, &vknots, PRATIONAL, &grid,
- (Pint) 0, (Ptrimcurve_list *) 0 );
- #endif
-
- Any hint is highly appreciated!
-
- Sincerly,
- Matthias
- --
- Matthias Pfuetzner | @work: +49 6151 155-150 | @home: +49 6151 75717
- 6100 Darmstadt, FRG | ZGDV, Wilhelminenstrasse 7 | Lichtenbergstrasse 73
- pfuetzner@igd.fhg.de, pfuetzner@zgdvda.UUCP | Keith Packard said:
- R5 is different from R4. That's why we changed the release number :-)
-