Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!vax5!cnsy From: cnsy@vax5.CIT.CORNELL.EDU Newsgroups: comp.sys.hp Subject: Re: Starbase fractal viewer Message-ID: <18671@vax5.CIT.CORNELL.EDU> Date: 24 May 89 14:55:46 GMT References: <4310038@hpindda.HP.COM> <47500010@uxe.cso.uiuc.edu> Sender: news@vax5.CIT.CORNELL.EDU Reply-To: cnsy@vax5.cit.cornell.edu (Eric Haines) Organization: 3D/Eye Inc Lines: 29 In article <47500010@uxe.cso.uiuc.edu> spirit@uxe.cso.uiuc.edu writes: > > >Hello, > >Just a note about the above viewer... >We tried to compile it on our HP9000/835 and >SRX. We have Starbase and GKS. > >Unfortunately and include file "sbdl.c.h" >and a library "-lsbdl" are required. Does >anybody have these things? Sorry about that--I forgot that the Starbase Display List software is not a standard product on every HP machine. One solution would be to rip out all the interactive code in lookat.c (mouse calls, and associated loops to refresh the segment), all SBDL *_segment() code, and to perform the lights setup in draw_object() immediately upon encountering a "f" command in the *.nff files (not fool-proof, but all my NFF generators from the SPD package do not output any "f" (fill color) commands until all lights are output). Alternately, wait a few days and I'll post my lookonce.c code, which does not have any sbdl calls (it's not interactive, though). BTW, if you're doing anything 3D & interactive, you should seriously consider getting the SBDL package, as it'll save you a lot of reinventing the wheel. Eric Haines, 3D/Eye Inc