JOE@oregon.uoregon.edu (Joe St Sauver) (03/06/90)
An update on NCSA's X Image on the NeXT: The wrongheadedness of rebuilding X Image from scratch finally dawned on me: since NCSA makes a Sun 3 binary available, this was an excellent opportunity to exercise atom to convert the Sun 3 binary to NeXT format. It even worked![*] If you'd like to experiment with X Image on your NeXT's X server, try the following: % ftp zaphod.ncsa.uiuc.edu user: anonymous password: whatever cd /XImage/v1.0/bin binary get ximage.v1.0.3.sun3.Z <-- this is the Sun V3 executable you want cd ../samples get bubble400x399.Z <-- this is a sample data file quit % uncompress ximage.v1.0.3.sun3 % uncompress bubble400x399.Z % atom ximage.v1.0.3.sun3 ximage % (use ls -l to confirm that ximage is executable, otherwise use chmod) % setenv DISPLAY unix:0.0 % (launch your X server from the dock) % ximage & <-- start X Image in the background When X Image starts up, put the gumby on Image, and click the left button. An X file directory will come up. Click on bubble400x399 to highlight it. Put the finger on open and click the left button. Now move the cursor to the width box and enter 400 then move the cursor to the height button and enter 399. Move the cursor to OK and click the left button. You'll now get another window. DO NOT use the Display Cartesian or Display Polar options -- they'll require some hacks to accomodate the less-than-8-plane display the NeXT uses. However, the graph option (and the Display Data Set option) will work. Put the finger on graph and click the left button. When yet another window opens, put the finger on Contour and click. Go to the window it opens and put the cursor in the Number of Levels box. Enter 25 (or whatever strikes your fancy). Now come down to OK and click. You'll see a topographic-map-like image appear. Use the Done boxes to back out of it. [*] NOTE: When I say it "works", there are a couple of things you should know: When you "Done" the original X Image window, you'll get an "X Error: BadColor" error and the X server will croak. Also note that the some of the image options aren't usable. Still, it isn't a bad beginning if you need to work with HDF format files! Joe