Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!IRIS.KTH.DK!operator From: operator@IRIS.KTH.DK (Martin Liversage) Newsgroups: comp.sys.sgi Subject: Re: Putting an image onto the IRIS root window Message-ID: <9011270928.AA03513@iris.kth.dk> Date: 27 Nov 90 09:28:19 GMT References: <3016@uc.msc.umn.edu> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 32 > Is there a way to place an image onto the root window of a 4D series > IRIS? There are (as far as I know) two ways. To get more info on both read the 4Sight Programmers Guide. 1) Use imakebackground from some process you run in the background. 2) Redefine PaintRoot in your user.ps file. /PaintRoot { % Your own PostScript code to draw background % plain blue background 0.0 0.3 0.5 rgbcolor setcolor clipcanvaspath fill % replace with code to draw image % e.g. insert file image.ps gotten from 'tops image.bw image.ps' % tops has recently been made available from sgi.com, directory % graphics, login ftp (see message <75885@sgi.sgi.com> for more % details) } def You probably don't want to do any complicated drawing on the root as it has to be redrawn every time it gets exposed. Try some of the roots in the Windows toolchest and see the results. Martin Liversage Royal Dental College Copenhagen Department of Pediatric Dentistry Norre Alle 20 DK-2200 Kobenhavn N