re animation with xputimage in article mlb semi harris com jmartin egret imagesrus john martin writes animation is most frequently done by copying the the client resident ximages into server resident pixmap s using xputimage once this is done the original ximages can be deleted and the animation loop can be performed using xcopyarea from the pixmaps to the windows drawable hope this is helpfull john i just implemented this and it seems i can just about achieve the display rates x x frames sec on ipx that i get with sunview though it s a bit choppy at times also loading the data making an ximage then xput ing it into a pixmap is a bit cumbersome so the animation is slower to load than with sunview is there a better way to load in the data rgooch rp csiro au richard gooch writes if you need speed and your client can run on the same host as the x server you should use the shared memory extension to the sample x server mit shm xdpyinfo will tell you if your server has this extension this is certainly available with the sample mit x server running under sunos a word of warning make sure your kernel is configured to support shared memory and another word of warning openwindows is slower than the mit server i have written an imaging tool using xview for the gui by the way which yields over frames per second for bit images running on a sparc ipc half the cpu grunt of an ipx this has proved quite sufficient for animations regards richard gooch shared memory putimage also mentioned by nkissebe delphi beckman uiuc edu nick kisseberth looks interesting but i need someone to point me to some documentation is this method likely to give better results than server resident pixmaps i d also be interested in looking at the xview code mentioned above thanks for the help so far if i get something decent put together i ll definitely post it to the net derek c richardson tel x institute of astronomy fax cambridge u k cb ha e mail dcr mail ast cam ac uk
