niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » SGI/IRIX » hardware
Crystal-Eyes as do-it-yourself project...
Post new topic   Reply to topic Page 1 of 2 [20 Posts] View previous topic :: View next topic
Goto page:  1, 2 Next
Author Message
thegoldbug
*nix forums beginner


Joined: 23 Jun 2005
Posts: 11

PostPosted: Thu Dec 01, 2005 1:11 am    Post subject: Re: Crystal-Eyes as do-it-yourself project... Reply with quote

"Erik Baigar" <erik@baigar.de> wrote in message
news:438C9C09.1F029A06@baigar.de...
Quote:

Hi SGI-fans,

since I run Indigo2 and Octane I wanted to have Crystal
Eyes for a long time. Since they are rare and expensive I
decided to do it as a electronics project. The outcome is
a small converter board which can directly plugged onto
graphics boards of the Impact series (including Solid-,
High- an Maximum-Impact and the Octane`s MXI, MXE, SI and
similar options). On the other side the board has a
small connector to accept cheap and readily available
LCD shutter glasses, made for the PC crap (Search eBay
for "LCD game virtual reality glasses 3D" or similar).

The implementation uses the 12V supply from the Indigo2
and a PIC processor generates the timing (600Hz switching
of LCD glasses and left/right switching synchronously
to the 3D-signal delivered by the SGI). OK, this might
be overkill, but in this way adaption to different
shutter glasses can be done via firmware (converter
ist tested with "Fanatic" and "Cyber Boy". The voltage
to the LCDs is driven by a CMOS-chip and can be adjusted
for optimum contrast.

I am willing to share the know howw if someone is
interested (see http://www.baigar.de/electronics/SGI3D-1.0.pdf).
Additionally I have four PCBs left which I'd trade for
some stuff - make offers. I am especially interested in
software supporting the glasses or/and a space mouse. At
the moment I have ac3d and battalion running with the
glasses and powerflip with the space mouse. I'd be
interested in a version of perfly for glasses and space
mouse...

Regards,

Erik.


P.S. Older Indigo-Style graphics (Extreme) should accept
the converter, too. One needs a adapter cable in this
case...
P.P.S. Of course I will share the firmware with everyone
interested...


Very nice Erik. Off the top of your head what is the approximate cost of
parts in the list. I've read about similar hacks and a couple for the Power
Glove but haven't gotten past the reading stage. I'm sorry to say I don't
have anything to trade but would be interested in one of the PCBs or even a
completed one.

thegoldbug
Back to top
Steven J. Hill
*nix forums beginner


Joined: 27 Jun 2005
Posts: 18

PostPosted: Thu Dec 01, 2005 4:20 am    Post subject: Re: Crystal-Eyes as do-it-yourself project... Reply with quote

thegoldbug wrote:
Quote:

Very nice Erik. Off the top of your head what is the approximate cost of
parts in the list. I've read about similar hacks and a couple for the Power
Glove but haven't gotten past the reading stage. I'm sorry to say I don't
have anything to trade but would be interested in one of the PCBs or even a
completed one.

I redesigned the serial Power Glove interface back in 1997. You can go

to my crappy old web page here at the bottom for the information.

-Steve

http://www.realitydiluted.com/projects/vrstuff/index.html
Back to top
Erik Baigar
*nix forums beginner


Joined: 19 May 2005
Posts: 31

PostPosted: Thu Dec 01, 2005 8:32 am    Post subject: Re: Crystal-Eyes as do-it-yourself project... Reply with quote

"Steven J. Hill" wrote:
Quote:
I redesigned the serial Power Glove interface back in 1997. You can go
to my crappy old web page here at the bottom for the information.

Hey Steven, that is still an interesting web-site. You collected
a lot of interesting information and links! You adapter connects
obviously to the serial port of a PC. The signals out of a
Indigo are somewhat different (12V supply and TTL for
left/right)...
I would definitively not call your site "crappy old web page":
In contrast to newer pages which are awfully loaded with
meaningless information it fun to look at!
Back to top
Erik Baigar
*nix forums beginner


Joined: 19 May 2005
Posts: 31

PostPosted: Thu Dec 01, 2005 8:40 am    Post subject: Re: Crystal-Eyes as do-it-yourself project... Reply with quote

thegoldbug wrote:
Quote:
Very nice Erik. Off the top of your head what is the approximate cost of
parts in the list. I've read about similar hacks and a couple for the Power
Total cost should be below $30 if you only implement

necessary things (i.e. do not place the cool flashing LEDs
onto the PCB). I bought LCD-glasses for EUR9.42 (i.e. approx
$12) on Germany's eBay in August. The cost is comparable to
Stevens 1997 version of the project...

Quote:
Glove but haven't gotten past the reading stage. I'm sorry to say I don't
have anything to trade but would be interested in one of the PCBs or even a
completed one.
Since the parts are sourface mounted, you should have some

experience with the solder iron if you want to do the job.
Than one needs no more than 1.5h to solder all parts onto
the PCB. For flashing the fimrware you need a flashing device
and some sort of cable to connect it to the PCB.

For those having an acceptable offer I'd solder the PIC to
the PCB and flash the Cyber-Boy-firmware prior to shipping...

Best regards,

Erik.
Back to top
J.A. Gutierrez
*nix forums beginner


Joined: 25 Mar 2003
Posts: 25

PostPosted: Thu Dec 01, 2005 3:53 pm    Post subject: Re: Crystal-Eyes as do-it-yourself project... Reply with quote

In comp.sys.sgi.hardware Erik Baigar <erik@baigar.de> wrote:

: some stuff - make offers. I am especially interested in
: software supporting the glasses or/and a space mouse. At

You may want to try "gdj" image viewer

<ftp://ivo.cps.unizar.es/pub/SPDsoft/gdj-1.1.tar.gz>
<ftp://ivo.cps.unizar.es/pub/SPDsoft/gdj-irix-mips3.tar.gz>

---------------------------------------------------------------------------
NAME
gdj - JPEG/JFIF file viewer

gdi - image file viewer

[...]
OPTIONS:

[...]
-3 Stereo, requires two equal size images.

-4 Stereo, without setmon (debug only).

-x Stereo, requires crossed-eye stereo image file
(*.jps).

-a Stereo, requires anaglyph image file, which is dis-
played as grayscale.
[...]
---------------------------------------------------------------------------

--
PGP and other useless info at \
http://webdiis.unizar.es/~spd/ \
finger://daphne.cps.unizar.es/spd \ Timeo Danaos et dona ferentes
ftp://ivo.cps.unizar.es/pub/ \ (Virgilio)
Back to top
Erik Baigar
*nix forums beginner


Joined: 19 May 2005
Posts: 31

PostPosted: Fri Dec 02, 2005 7:14 am    Post subject: Re: Crystal-Eyes as do-it-yourself project... Reply with quote

"J.A. Gutierrez" wrote:
Quote:

In comp.sys.sgi.hardware Erik Baigar <erik@baigar.de> wrote:

: some stuff - make offers. I am especially interested in
: software supporting the glasses or/and a space mouse. At

You may want to try "gdj" image viewer

ftp://ivo.cps.unizar.es/pub/SPDsoft/gdj-1.1.tar.gz
ftp://ivo.cps.unizar.es/pub/SPDsoft/gdj-irix-mips3.tar.gz


Thanks a lot for the hint! I got the files, but my machine
refuses to execute the irix-mips3-binary. A try to compile
the sources with gcc (instead of cc which I do not have)
leads to a binary causing a "bus error". Will look why
this happens on the weekend...
Back to top
Erik Baigar
*nix forums beginner


Joined: 19 May 2005
Posts: 31

PostPosted: Fri Dec 02, 2005 7:26 am    Post subject: Re: Crystal-Eyes as do-it-yourself project... Reply with quote

Erik Baigar wrote:
Quote:

"J.A. Gutierrez" wrote:

In comp.sys.sgi.hardware Erik Baigar <erik@baigar.de> wrote:

: some stuff - make offers. I am especially interested in
: software supporting the glasses or/and a space mouse. At

You may want to try "gdj" image viewer

ftp://ivo.cps.unizar.es/pub/SPDsoft/gdj-1.1.tar.gz
ftp://ivo.cps.unizar.es/pub/SPDsoft/gdj-irix-mips3.tar.gz


Thanks a lot for the hint! I got the files, but my machine
refuses to execute the irix-mips3-binary. A try to compile
the sources with gcc (instead of cc which I do not have)
leads to a binary causing a "bus error". Will look why
this happens on the weekend...

OK, found a machine with cc installed and licensed and
was able to compile there. Is anyone interested in a
gdj-irix6.5.tar.gz?
Back to top
J.A. Gutierrez
*nix forums beginner


Joined: 25 Mar 2003
Posts: 25

PostPosted: Fri Dec 02, 2005 9:52 am    Post subject: Re: Crystal-Eyes as do-it-yourself project... Reply with quote

In comp.sys.sgi.graphics Erik Baigar <erik@baigar.de> wrote:
: Erik Baigar wrote:
:>
:> > <ftp://ivo.cps.unizar.es/pub/SPDsoft/gdj-irix-mips3.tar.gz>

:> Thanks a lot for the hint! I got the files, but my machine
:> refuses to execute the irix-mips3-binary. A try to compile

I'm afraid it was my fault. The binary on that tarball was
not mips3, but ppc/darwin. Now it's fixed

mips3/n32 binary should work on any IRIX 6.5 with R4400 or
better CPU (I have tested it on R4600PC/IRIX6.2 and
R12000/IRIX 6.5.24f); but requires dynamic GLUT library.


--
PGP and other useless info at \
http://webdiis.unizar.es/~spd/ \
finger://daphne.cps.unizar.es/spd \ Timeo Danaos et dona ferentes
ftp://ivo.cps.unizar.es/pub/ \ (Virgilio)
Back to top
Erik Baigar
*nix forums beginner


Joined: 19 May 2005
Posts: 31

PostPosted: Mon Dec 05, 2005 6:34 pm    Post subject: Re: Crystal-Eyes as do-it-yourself project... Reply with quote

"J.A. Gutierrez" wrote:
Quote:

In comp.sys.sgi.graphics Erik Baigar <erik@baigar.de> wrote:
: Erik Baigar wrote:
:
:> > <ftp://ivo.cps.unizar.es/pub/SPDsoft/gdj-irix-mips3.tar.gz

:> Thanks a lot for the hint! I got the files, but my machine
:> refuses to execute the irix-mips3-binary. A try to compile

I'm afraid it was my fault. The binary on that tarball was
not mips3, but ppc/darwin. Now it's fixed

mips3/n32 binary should work on any IRIX 6.5 with R4400 or
better CPU (I have tested it on R4600PC/IRIX6.2 and
R12000/IRIX 6.5.24f); but requires dynamic GLUT library.

....sorry - may be I am doing something wrong but I am not able to
download the file now. My ftp is telling that it is switching
to passive mode and there it hangs forever (ftp from command line
and download via netscape).

In using my own compiled version (glut 3.7 from SGI's freeware page),
MipsPro-compiler. The call "gdj -b -v -s 5 -3 /tmp/curtin03.jps"
switches the Max-Impact to 3D for a short time (1s, Glasses sync
to the output) but no picture is displayed and the original settings
are restored immediately. The output of gdj is:

gdj:(c) SPDsoft, (Uses IJG code v6b), 1.1 Dec 2005
# SCREEN: 1280x1024
000 /tmp/curtin03.jps 563 1512 RGB image

The display is displayed perfectly if I omit the -3 option...
Do you have got 3D-glasses connected to your SGI's?
What setmon-resolution do you use? I tried all 3D-able...

Best regards,

Erik.
Back to top
Erik Baigar
*nix forums beginner


Joined: 19 May 2005
Posts: 31

PostPosted: Mon Dec 05, 2005 6:34 pm    Post subject: Re: Crystal-Eyes as do-it-yourself project... Reply with quote

"J.A. Gutierrez" wrote:
Quote:

In comp.sys.sgi.graphics Erik Baigar <erik@baigar.de> wrote:
: Erik Baigar wrote:
:
:> > <ftp://ivo.cps.unizar.es/pub/SPDsoft/gdj-irix-mips3.tar.gz

:> Thanks a lot for the hint! I got the files, but my machine
:> refuses to execute the irix-mips3-binary. A try to compile

I'm afraid it was my fault. The binary on that tarball was
not mips3, but ppc/darwin. Now it's fixed

mips3/n32 binary should work on any IRIX 6.5 with R4400 or
better CPU (I have tested it on R4600PC/IRIX6.2 and
R12000/IRIX 6.5.24f); but requires dynamic GLUT library.

....sorry - may be I am doing something wrong but I am not able to
download the file now. My ftp is telling that it is switching
to passive mode and there it hangs forever (ftp from command line
and download via netscape).

In using my own compiled version (glut 3.7 from SGI's freeware page),
MipsPro-compiler. The call "gdj -b -v -s 5 -3 /tmp/curtin03.jps"
switches the Max-Impact to 3D for a short time (1s, Glasses sync
to the output) but no picture is displayed and the original settings
are restored immediately. The output of gdj is:

gdj:(c) SPDsoft, (Uses IJG code v6b), 1.1 Dec 2005
# SCREEN: 1280x1024
000 /tmp/curtin03.jps 563 1512 RGB image

The display is displayed perfectly if I omit the -3 option...
Do you have got 3D-glasses connected to your SGI's?
What setmon-resolution do you use? I tried all 3D-able...

Best regards,

Erik.
Back to top
Erik Baigar
*nix forums beginner


Joined: 19 May 2005
Posts: 31

PostPosted: Mon Dec 05, 2005 6:57 pm    Post subject: Re: Crystal-Eyes as do-it-yourself project... Reply with quote

Erik Baigar wrote:
Quote:
Additionally I have four PCBs left which I'd trade for
some stuff - make offers. I am especially interested in
software supporting the glasses or/and a space mouse. At
the moment I have ac3d and battalion running with the
glasses and powerflip with the space mouse. I'd be
interested in a version of perfly for glasses and space
mouse...

Found out, that powerflip is able to handle SpaceMouse
AND stereo simultaneously. The binary is in SGI's demos
package and resides in /usr/demos/General_Demos/. You
find demo data in the directory /usr/demos/General_Demos/data
and can launch it in 3D stereo mode e.g. with
powerflip -S data/beethoven.ydl from the directory
/usr/demos/General_Demos/

Have fun,

Erik.
Back to top
Erik Baigar
*nix forums beginner


Joined: 19 May 2005
Posts: 31

PostPosted: Tue Dec 06, 2005 7:50 pm    Post subject: Re: Crystal-Eyes as do-it-yourself project... Reply with quote

Erik Baigar wrote:
Quote:

"J.A. Gutierrez" wrote:

In comp.sys.sgi.graphics Erik Baigar <erik@baigar.de> wrote:
: Erik Baigar wrote:
:
:> > <ftp://ivo.cps.unizar.es/pub/SPDsoft/gdj-irix-mips3.tar.gz

:> Thanks a lot for the hint! I got the files, but my machine
:> refuses to execute the irix-mips3-binary. A try to compile

I'm afraid it was my fault. The binary on that tarball was
not mips3, but ppc/darwin. Now it's fixed

mips3/n32 binary should work on any IRIX 6.5 with R4400 or
better CPU (I have tested it on R4600PC/IRIX6.2 and
R12000/IRIX 6.5.24f); but requires dynamic GLUT library.

...sorry - may be I am doing something wrong but I am not able to
download the file now. My ftp is telling that it is switching
to passive mode and there it hangs forever (ftp from command line
and download via netscape).

Today I was able to download your new version. With netscape I
got it. After unpacking it still refuses to launch, since it
claims, that glut can not be found:

1447:./gdj: rld: Fatal Error: Cannot Successfully
map soname 'libglut.so'

On th box I installed glut-3.7 as well and /usr/lib/libglut.a
exists and is accessible. How did you compile gdj? It is
looking for "libglut.so"?

The binary I mentioned in the last posting was compiled
on a Onyx without problems and there glut 3.7 is installed, too.
(/usr/lib/libglut.a). I used "MIPSpro Compilers: Version 7.30"...
Here the program starts, and using this binary on the Onyx
and my Indigo2 I can display images as mentioned in the last
posting (a.k.a without 3D):

Quote:
In using my own compiled version (glut 3.7 from SGI's freeware page),
MipsPro-compiler. The call "gdj -b -v -s 5 -3 /tmp/curtin03.jps"
switches the Max-Impact to 3D for a short time (1s, Glasses sync
to the output) but no picture is displayed and the original settings
are restored immediately. The output of gdj is:

gdj:(c) SPDsoft, (Uses IJG code v6b), 1.1 Dec 2005
# SCREEN: 1280x1024
000 /tmp/curtin03.jps 563 1512 RGB image

But 3D does not work... On the Onyx (which is far away)
I can not use Crystal Eyes and gdj says

/usr/gfx/setmon: No such device
graphics getboardinfo failed 2setmon attempt failed!

But this is normal I think, since the box has no
known gfx...
Back to top
J.A. Gutierrez
*nix forums beginner


Joined: 25 Mar 2003
Posts: 25

PostPosted: Wed Dec 07, 2005 9:27 am    Post subject: Re: Crystal-Eyes as do-it-yourself project... Reply with quote

In comp.sys.sgi.hardware Erik Baigar <erik@baigar.de> wrote:
: "J.A. Gutierrez" wrote:
:>
:> In comp.sys.sgi.graphics Erik Baigar <erik@baigar.de> wrote:
:> : Erik Baigar wrote:
:> :>
:> :> > <ftp://ivo.cps.unizar.es/pub/SPDsoft/gdj-irix-mips3.tar.gz>
:>
: download the file now. My ftp is telling that it is switching
: to passive mode and there it hangs forever (ftp from command line

Probably you will have to disable passive mode. Our firewall
may be filtering it...

: In using my own compiled version (glut 3.7 from SGI's freeware page),
: MipsPro-compiler. The call "gdj -b -v -s 5 -3 /tmp/curtin03.jps"
: switches the Max-Impact to 3D for a short time (1s, Glasses sync
: to the output) but no picture is displayed and the original settings
: are restored immediately. The output of gdj is:

: gdj:(c) SPDsoft, (Uses IJG code v6b), 1.1 Dec 2005
: # SCREEN: 1280x1024
: 000 /tmp/curtin03.jps 563 1512 RGB image

seems right.

: The display is displayed perfectly if I omit the -3 option...

that's wrong; I guess I will have to clarify this on
the man page.

The "-3" option is for using two separated jpg files for
left and righ images.

gdj -3 left.jpg right.jpg

For "jps" files you use "-x" option:

gdj -x foo.jps

: Do you have got 3D-glasses connected to your SGI's?
: What setmon-resolution do you use? I tried all 3D-able...

Yes, right now I have crystalEyes conected to an Octane

Graphics board 0 is "IMPACTSR" graphics.
Managed (":0.0") 1280x1024
Product ID 0x2, 1 GE, 1 RE, 0 TRAMs
MGRAS revision 4, RA revision 0

--
PGP and other useless info at \
http://webdiis.unizar.es/~spd/ \
finger://daphne.cps.unizar.es/spd \ Timeo Danaos et dona ferentes
ftp://ivo.cps.unizar.es/pub/ \ (Virgilio)
Back to top
J.A. Gutierrez
*nix forums beginner


Joined: 25 Mar 2003
Posts: 25

PostPosted: Wed Dec 07, 2005 9:37 am    Post subject: Re: Crystal-Eyes as do-it-yourself project... Reply with quote

In comp.sys.sgi.hardware Erik Baigar <erik@baigar.de> wrote:

: Today I was able to download your new version. With netscape I
: got it. After unpacking it still refuses to launch, since it
: claims, that glut can not be found:

: 1447:./gdj: rld: Fatal Error: Cannot Successfully
: map soname 'libglut.so'

Yes, you need a dynamic libglut (n32).

: On th box I installed glut-3.7 as well and /usr/lib/libglut.a
: exists and is accessible. How did you compile gdj? It is
: looking for "libglut.so"?

Yes. You should have compiled glut with dynamic libraries
support. Once you have the static library you can create
the dynamic one using "mkshlib32 libglut 3 7", where
mkshlib32 is:

---------------------------------------------------------------------------
#!/bin/sh
ld \
-mips3 -n32 \
-rpath /usr/local/lib32 \
-elf \
-shared \
-no_unresolved \
-rdata_shared \
-soname $1.so \
-o $1.so.$2.$3 \
-all $1.a \
-set_version sgi$2.$3 \
-lc

rm -f $1.so
ln -s $1.so.$2.$3 $1.so
---------------------------------------------------------------------------

You can find my own compiled glut 3.7 at:

<http://webdiis.unizar.es/pub/unix/graphics/3D/glut-3.7-irix6.tgz>
<ftp://webdiis.unizar.es/pub/unix/graphics/3D/glut-3.7-irix6.tgz>

(just unpack it on /usr/local)

:> In using my own compiled version (glut 3.7 from SGI's freeware page),

so, I guess this will be the most common glut for IRIX,
with no dynamic libraries included... Then I will have
to link statically gdj for the distributed binary.

:> MipsPro-compiler. The call "gdj -b -v -s 5 -3 /tmp/curtin03.jps"

see previous post. You have to use "-x", not "-3"

--
PGP and other useless info at \
http://webdiis.unizar.es/~spd/ \
finger://daphne.cps.unizar.es/spd \ Timeo Danaos et dona ferentes
ftp://ivo.cps.unizar.es/pub/ \ (Virgilio)
Back to top
Erik Baigar
*nix forums beginner


Joined: 19 May 2005
Posts: 31

PostPosted: Thu Dec 08, 2005 7:42 pm    Post subject: Re: Crystal-Eyes as do-it-yourself project... Reply with quote

"J.A. Gutierrez" wrote:
Quote:

---------------------------------------------------------------------------

You can find my own compiled glut 3.7 at:

http://webdiis.unizar.es/pub/unix/graphics/3D/glut-3.7-irix6.tgz
ftp://webdiis.unizar.es/pub/unix/graphics/3D/glut-3.7-irix6.tgz

(just unpack it on /usr/local)

Unpacking these gdj worked immediately ...


...

...

AND IT IS REALLY COOL

...

...


Already did experiments with own 3D pictures and it is
really fun. I can highly recommend Cesars pegamento
utility for aligning the two pictures. Pegamento is
one of the best programs I know at all - Using it on O2
it handles 50MegaPix pictures stitched together from
20 files absolutely smooth, even in rotating and zooming!

gdj and pegamento is a perfect combination for
making jps-files which are fun to watch with gdj!

Thanks a lot,

gdj is really great,

Erik.


Quote:
:> MipsPro-compiler. The call "gdj -b -v -s 5 -3 /tmp/curtin03.jps"

see previous post. You have to use "-x", not "-3"
OK, reading carefully it is obvious from the man page!
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 2 [20 Posts] Goto page:  1, 2 Next
View previous topic :: View next topic
The time now is Tue Jan 06, 2009 6:43 am | All times are GMT
navigation Forum index » *nix » SGI/IRIX » hardware
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Project organisation Rony python 7 Wed Jul 19, 2006 12:14 pm
No new posts Another USB midnight project Forrest Kenney VMS 0 Tue Jul 18, 2006 3:21 pm
No new posts New SourceForge project: Diet Python!!! The Eternal Squire python 11 Tue Jul 18, 2006 12:22 am
No new posts New Project - Pythoncard Backup Program daftspaniel@gmail.com python 0 Mon Jul 17, 2006 7:43 pm
No new posts little project Felipe Leon Debian 3 Sat Jul 15, 2006 10:10 pm

Myspace Layouts | Myspace Proxy | Advertising | Car Finance | 0 Credit Cards
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3236s ][ Queries: 16 (0.1755s) ][ GZIP on - Debug on ]