SGI Cube Demo

IRIX and IRIX software discussion including open source and commerical offerings.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
Martin Steen
Posts: 159
Joined: Tue Sep 25, 2007 2:00 am
Location: Braunschweig (Germany)
Contact:

SGI Cube Demo

Unread postby Martin Steen » Tue Aug 05, 2008 3:47 pm

Hi,

I just finished a little demo for Irix-machines.
It shows a spinning SGI-cube-logo using OpenGL.

http://www.martin-steen.de/sgi/3dlviewer-sgi.gz

The whole demo is compressed into a single executable file.
Just gunzip the file and start it. I have tested it on my Fuel
workstation. The picture below shows how the programm
should look like.

There are a few keys for interaction:
e - toggle environment-mapping
r - reset/toggle rotation
a - toggle anaglyph mode (red/cyan glasses required)
esc - quit
Left mousebutton + mousemove: rotate
Right mousebutton + mousemove: zoom

Image
(3D model made with Wings3D)

Best regards, Martin

P.S.: if glut libraries are missing, install the nekoware glut package:
ftp://ftp.nekochan.net/pub/downloads/Ne ... s3.tardist

User avatar
nekonoko
Site Admin
Site Admin
Posts: 8042
Joined: Thu Jan 23, 2003 1:31 am
Location: Pleasanton, California
Contact:

Re: SGI Cube Demo

Unread postby nekonoko » Tue Aug 05, 2008 10:41 pm

Looks fantastic on my Onyx2, thanks for sharing it! The only issue I noted is that on my system it segfaults after pressing escape. Not really a big deal though since it's supposed to be shutting down at that point anyway.

I'll post this up on the blog in a bit.
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.

User avatar
edefault
Posts: 609
Joined: Fri Nov 28, 2003 5:02 am
Location: Germany
Contact:

Re: SGI Cube Demo

Unread postby edefault » Wed Aug 06, 2008 1:53 am

afaik there once came a screen saver with IRIX (named "CPU eater") which was quite similar.
Or was it a background? On my Fuels, none of these seem to apply any more - light blue only.

The Cube: rotational axis is meant to be vertical, and no lone tree hanging from a desert ceiling ;)
Valueing life is not weakness; disregarding it is not strength. -Mirage-
Image

User avatar
fzalfa
Posts: 739
Joined: Sun Jun 19, 2005 11:38 am
Location: avignon ,provence, france
Contact:

Re: SGI Cube Demo

Unread postby fzalfa » Wed Aug 06, 2008 3:55 am

maybe can used as screensaver !!

Laurent
SGI or die !!!
:O2: :Octane2: :Octane: :Indigo2IMP: :Indigo2IMP: :Indigo: :Indigo: :Indy: :PI: :Crimson: :PWRSeries: :Onyx: :O2000R:
HP proliant DL 585 Quad Opteron dual core 2.5Ghz 16Gb

JacquesT
Posts: 305
Joined: Mon Jan 28, 2008 11:50 am
Location: Bristol. UK

Re: SGI Cube Demo

Unread postby JacquesT » Wed Aug 06, 2008 12:37 pm

Nice! Middle wheelmouse zooms in and out...

Would be nice if it spun with the speed of the mouse movement!

-Jacques
No SGI box currently...Snif!

User avatar
deBug
Posts: 840
Joined: Mon Feb 27, 2006 1:44 pm
Location: Sweden

Re: SGI Cube Demo

Unread postby deBug » Wed Aug 06, 2008 4:49 pm

Works fine on my fuel.
No segfault on exit on my box.
Everything is just dandy.

Any chance you could expand it with an option to read in a user determined image file to use as environment map?

Great job!

//Harry
Mein Führer, I can walk!

User avatar
Martin Steen
Posts: 159
Joined: Tue Sep 25, 2007 2:00 am
Location: Braunschweig (Germany)
Contact:

Re: SGI Cube Demo

Unread postby Martin Steen » Wed Aug 06, 2008 11:25 pm

@nekonoko: thank you for the blog report! :-) About the crash: there is no
crash on my own machines (fuel & octane). Strange.

@edefault:
@deBug: ok, I work on a new version where you can use your own image
and that has an improved rotation control.

@fzalfa: unfortunately, I don't know how to make a screensaver for Irix.
Maybe somefrom from the forum here knows.

Best regards, Martin

ramq
Posts: 771
Joined: Fri Jan 25, 2008 6:06 am
Location: Sweden

Re: SGI Cube Demo

Unread postby ramq » Wed Aug 06, 2008 11:30 pm

No problem whatsoever on my funky R12k-300/V6 Octane2. It's a bit slow performing, but otherwise OK.
As with deBug, I get no segfaults.

Question: Can you make the spinning controllable, like in the SGI-demo "powerflip"?

And the last one... when will this hit Nekoware? :D
:O3200: :Fuel: :Indy: :O3x02L:

User avatar
Martin Steen
Posts: 159
Joined: Tue Sep 25, 2007 2:00 am
Location: Braunschweig (Germany)
Contact:

Re: SGI Cube Demo

Unread postby Martin Steen » Thu Aug 07, 2008 1:28 am

ramq wrote:No problem whatsoever on my funky R12k-300/V6 Octane2. It's a bit slow performing, but otherwise OK.
As with deBug, I get no segfaults.


It runs VERY slow on my Octane1. Without environment-mapping (press e to switch off),
it runs fast, but it looks only half as nice, of course ;)

ramq wrote:Question: Can you make the spinning controllable, like in the SGI-demo "powerflip"?


Where can I find that powerflip demo?

ramq wrote:And the last one... when will this hit Nekoware? :D


I will ask Joerg if he can help me with that.

Best regards, Martin

User avatar
nekonoko
Site Admin
Site Admin
Posts: 8042
Joined: Thu Jan 23, 2003 1:31 am
Location: Pleasanton, California
Contact:

Re: SGI Cube Demo

Unread postby nekonoko » Thu Aug 07, 2008 1:50 am

The segfault could be something specific to InfiniteReality. Incidentally, Die Planeten does the same for me on exit. Not a big deal though, the programs still work as expected - just figured I'd mention it. Maybe someone else with IR can confirm.
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.

ramq
Posts: 771
Joined: Fri Jan 25, 2008 6:06 am
Location: Sweden

Re: SGI Cube Demo

Unread postby ramq » Thu Aug 07, 2008 3:05 am

Martin Steen wrote:It runs VERY slow on my Octane1. Without environment-mapping (press e to switch off),
it runs fast, but it looks only half as nice, of course ;)

It probably depends very much on what specific hardware you have. If you're using the older MGRAS-series of graphics (considering you mention specificly Octane1) I belive it can be slower. I don't believe it's that much CPU-bound cause the CPU isn't hitting top-spot, only using ~20-25% on R12k 300MHz.
(I'm no way certain, so anyone please correct me on this one)

Where can I find that powerflip demo?

It's part of the "Demonstration Programs" package on the Applications CD for IRIX 6.5.
Once installed you'll find the binary either through the desktop, or launch it using:

Code: Select all

/usr/demos/General_Demos/powerflip/RUN

Another feature I'd like to see is to make it run in a window mode as an option.
And be able to zoom beyond the border of the screen making a really deep detail view.
:O3200: :Fuel: :Indy: :O3x02L:

User avatar
edefault
Posts: 609
Joined: Fri Nov 28, 2003 5:02 am
Location: Germany
Contact:

Re: SGI Cube Demo

Unread postby edefault » Thu Aug 07, 2008 4:44 am

edefault wrote:afaik there once came a screen saver with IRIX (named "CPU eater") which was quite similar.


Anyone any idea where to this one vanished?
Valueing life is not weakness; disregarding it is not strength. -Mirage-
Image

User avatar
stuart
Posts: 912
Joined: Mon Aug 23, 2004 5:37 pm
Location: Cambridge, UK
Contact:

Re: SGI Cube Demo

Unread postby stuart » Thu Aug 07, 2008 5:22 am

Still here for me in 6.5.30!

Toolchest: Desktop -> Customize -> Background: CPU Eater

... just as you remember it ;)

User avatar
edefault
Posts: 609
Joined: Fri Nov 28, 2003 5:02 am
Location: Germany
Contact:

Re: SGI Cube Demo

Unread postby edefault » Thu Aug 07, 2008 7:21 am

regarding IRIX 6.5.22 on my ancient Indigo2 R10k you´re rigtht,
but no luck on IRIX 6.5.28 on my Fuel - there´s no CPU eater,
and the backround stays light blue regardless of what I choose.
Valueing life is not weakness; disregarding it is not strength. -Mirage-
Image

ramq
Posts: 771
Joined: Fri Jan 25, 2008 6:06 am
Location: Sweden

Re: SGI Cube Demo

Unread postby ramq » Fri Aug 08, 2008 1:34 am

I know I had the "cpu eater" as a possible screensaver option, but I'm trying to find out in what package it is hidden in. One way to find out is using swmgr and click "Manage installed software" and by using Ctrl+F search files from there. Be sure to include files in the search.

I know it lives in my Fuel, but it's at home and I've had little time to spare at evening time for some days now. All my install media are at home too, so I'm out of luck at the moment. (Some Octane Demos CD's maybe?)
:O3200: :Fuel: :Indy: :O3x02L:


Return to “IRIX and Software”

Who is online

Users browsing this forum: No registered users and 1 guest