SGI: Computer Graphics

GopherVR port to IRIX

For those of you unfamiliar with GopherVR, visit http://www.floodgap.com/software/gophervr/ (Gopher-compatible client strongly advised; Firefox 3 will suffice :D as will OverbiteFF for Firefox 4+/TenFourFox/SeaMonkey). Originally only available for classic Mac OS, the source code finally resurfaced whole in 2009. I ported it to OS X, and another user fixed it up for Linux, but the Irix port didn't work ... until this evening. With some hacking it now builds and appears to work normally with MIPSPro 7.4.4m on IRIX 6.5.mumble. At 1024x768 this R4400 Indy manages around 8-10fps (all in software).

http://www.floodgap.com/iv/1830

Before I release source and a MIPSIII-compatible binary, a few notes:

- libtracker doesn't seem to work. I have libaudio.so, but I'm missing /usr/include/dmedia. Was this on the IRIX CDs? Which package/CD am I looking for? Right now it just builds a dummy module with no audio, but it *should* work.

- Which is the preferred image viewer for IRIX that people like?
smit happens.

:Fuel: bigred , 800MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
So it's a 3D viewer for gopher file listings, like the one Lex used in Jurassic Park?

Which is the preferred image viewer for IRIX that people like?

The IRIX default image viewer, followed by XV, then Photoshop, failing that I use my Linux box... :mrgreen:
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...
vishnu wrote: The IRIX default image viewer, followed by XV, then Photoshop, failing that I use my Linux box... :mrgreen:

vishnu, vishnu, vishnu ... what're we gonna do with you ? Linux ? You'll go blind doing that :shock:

Go to /beta, grab the graphics magick tardist and install.

< gm display filename > will open a window displaying the file you ask for.

Or < gm display > will hop up a frog. Click on his window, you'll get a menu of choices. Lots of choices. Graphics Magick will display and manipulate just about anything. (XBM and XPM as well as all the modrun stuff, for instance.)

I agree that imgview is probably the best choice. Comes with Irix and displays just about any graphic you want. It's also fast.
ClassicHasClass wrote: - Which is the preferred image viewer for IRIX that people like?


Surely you should use whatever we set as our preference, system environment variable $IMGVIEWER :
utilities.png
Default 4DWM utilities
utilities.png (8.88 KiB) Viewed 1044 times
:Octane: halo , oct ane Image knightrider , d i g i t a l AlphaPC164, pond , soekris net6501, misc cool stuff in a rack
N.B.: I tend to talk out of my ass. Do not take it too seriously.
Oh, even better. I'll just throw a getenv("IMGVIEWER") in there then.

So it's a 3D viewer for gopher file listings, like the one Lex used in Jurassic Park?


Yep, except it's better: you move around in it like a FPS, double clicking on elements to interact with them. You can even jump up in the air to see an overhead view.
smit happens.

:Fuel: bigred , 800MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
I didn't get around to fixing the preferences yet, there's still no audio, and the help system has a subtle buffer overflow bug that I can't figure out (so it's temporarily disabled), but it doesn't crash anymore, so you can try a binary of it. Firefox 3 on Irix will speak gopher, or you can use cURL, or OverbiteFF with Firefox 4+, SeaMonkey 2.1+ or TenFourFox. Built on my 6.5.10 Indy with MIPSPro. Runs fine on the Fuel with 6.5.30. The G5, however, spanks both of them in frame rate. Interestingly, the Indy will drive the G5's 1080p display over X11 over the network at nearly 24fps, implying that display speed is fill-rate-limited.

Make sure that futura.hfont and gophervr.help are in the same directory, or see INSTALL. If people like it, I'll see about making it nekoware-aware. It has no prerequisites and should run on any Irix 6.5 machine.

gopher://gopher.floodgap.com/9/gophervr ... rix.tar.gz

I'm waiting for my Arch Linux porter to sign off, and then there will be source, too.
smit happens.

:Fuel: bigred , 800MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...


Thanks! It works on my O2 (R10k/250, IRIX 6.5.27) very well! The framerate is about 15fps.
:O2: :Indy: :Indy:
jirka wrote: Thanks! It works on my O2 (R10k/250, IRIX 6.5.27) very well! The framerate is about 15fps.


I added these lines to mu ~/.Xdefaults and it now looks like other SGI apps:

Code: Select all

gophervr*sgiMode:       true
gophervr*useSchemes:    all
gophervr*Background:    gray85


The screenshot from my O2 is here: http://www.flickr.com/photos/[email protected]/8731392645/
:O2: :Indy: :Indy:
Yes, that looks much better. I'll look at making this default in the app as well. Thanks for testing it out.
smit happens.

:Fuel: bigred , 800MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
It should not be necessary to set the *Background explicitly, it should just be taken automatically from the scheme.
I didn't get around to these Irix fixes (the biggest priority was getting it working again with XQuartz on OS X), but there are lots of general fixes in 0.5.0, and there is an Irix binary of that. Tested on the Indy and the Fuel, built with MIPSPro.

gopher://gopher.floodgap.com/1/gophervr

gophervr-irix.png
Notice the oozing sex
smit happens.

:Fuel: bigred , 800MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Ha ha motif blue, yeesh! Shades of 1994.

No way to free the source yet? :?:
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...
smit happens.

:Fuel: bigred , 800MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
ClassicHasClass wrote: ... there is an Irix binary of that. Tested on the Indy and the Fuel, built with MIPSPro.

You really know how to hurt a guy :(

Code: Select all

Resolving gopher.floodgap.com... 66.166.122.165
Connecting to gopher.floodgap.com|66.166.122.165|:80... connected.
HTTP request sent, awaiting response... 403 Blacklisted
2015-02-09 10:40:58 ERROR 403: Blacklisted.


edit : the flop finally got it. 33.6 baud modem, here we come :D

Another triumph for Irix, thank you !

If you want to get rid of the blue, your standard xdefaults should do the trick. I didn't do anything to gopher, just opened it.

If you made it work with a spaceball, that would be cool, Mr Classy. Spaceballs are grrrrr-ate for 3d manipulation.
he said I like it, I want it, I'll take it off your hands ...
Port 80? Gopher's on 70!

What do you mean, a spaceball?
smit happens.

:Fuel: bigred , 800MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
ClassicHasClass wrote: What do you mean, a spaceball?

Space balls, , it's a movie with the unspeakably gorgeous Daphne Zuniga... :mrgreen:

Har, check this out:
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...
you'll want Overbite for modern Firefox-on-Gopher fun
No SGIs here.
ClassicHasClass wrote: Port 80? Gopher's on 70!

Config file error but the flop finally got it so I din't bother fixing ...

What do you mean, a spaceball?


spaceballs.jpg
spaceballs.jpg (9.81 KiB) Viewed 122 times

imo, the hot ticket for manipulating objects in three dimensions. USB doesn't work on Irix but the serial ones still do.

vishnu wrote: Space balls, , it's a movie with the unspeakably gorgeous Daphne Zuniga... :mrgreen:

Daphne Eurydice Zuniga ... only in Berserkely :P

Har, check this out:

Yeah, had to ditch that old cruft so they had space to incorporate important stuff, like ... umm ... well ... errr ... oh heck, I'm sure they had some reason.
I never thought that a fat man's face would ever look so sweet ...
That would be very cool. I'll have to find a serial one. Are there any libraries for reading their data (I assume something like quadrature)?

vishnu, what foetz said. https://addons.mozilla.org/en-US/firefo ... verbiteff/
smit happens.

:Fuel: bigred , 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
ClassicHasClass wrote: That would be very cool. I'll have to find a serial one. Are there any libraries for reading their data (I assume something like quadrature)?

Tons.

3D Connexion has a driver, free for Yewnix now, and an sdk.

On Irix it's easy -> add serial device -> choose "Magellan" (original name for these things) and away ya go. Shows up in confidence tests even. It's an xinput extension to X and pretty standard, so other Unix-like systems should have something similar.

On Loonix, there's a few : libSBall and at least one other :

http://jedi.ks.uiuc.edu/~johns/projects/libsball/

http://xray.bmc.uu.se/markh/notes/joy/spaceball.html

I built the libsball thingy and a demo once, it worked on Irix also.

I am pretty sure that an Irix usb driver would not be that difficult but am too stupid and lazy to accomplish that ...
I never thought that a fat man's face would ever look so sweet ...