VGX and ImageVision
#1
VGX and ImageVision
I was browsing Issue 11 of IRIS Universe (early 1990) from archive.org

It contains an article on the then-new PowerVision graphics for the PowerSeries, better known as VGX. This article introduces the ImageVision library said to come with PowerVision graphics. It looks like it allows you to offload vector math operations to the graphics pipe rather than running them on the CPU(s):

   

I'm always interested in things to demonstrate the unique capabilities of my old systems, so I dug a little deeper but I can't find a trace of this library. Mind you, I have several versions of the ImageVision library. ImageVision Version 1.0 is for IRIX 4.0 and dated December 1991. The introduction of VGX was in Q1 1990, with IRIX 3.3. Nearly 2 years earlier.

The ImageVision 1.0 CD (part # 812-0040-001, you can find it on jrra.zone) is not a C or Fortran library as described in the article. it's C++ only and deals with images, not vector math. It will install on any graphics hardware, not VGX only. It was ImageVision 2.0 (01/1993) that first introduced "C" bindings.

I can't find any trace of the calls in Table 1 in the GL either.

So, anybody know what happened here?
jan-jaap
SGI Collector

Trade Count: (0)
Posts: 1,051
Threads: 37
Joined: Jun 2018
Location: Netherlands
Website Find Reply
09-04-2025, 01:57 PM
#2
RE: VGX and ImageVision
If it's C++ and from that era does that presumably mean that it would be a cfront type library?

It makes me wonder why SGI was such a huge advocate of C++ when it was still very new and experimental at the time

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,252
Threads: 535
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
09-04-2025, 02:58 PM
#3
RE: VGX and ImageVision
I think so. At the time SGI had C++ Translator 2.1.1 (812-0001-003, 11/91). Pretty sure that's cfront from here. I think it wasn't until IRIX 5.3 that they started using something built from an EDG frontend. In between we also had the DeltaCC compiler.

See also https://techpubs.jurassic.nl/library/man...ml#id89018

They were all pretty miserable.
jan-jaap
SGI Collector

Trade Count: (0)
Posts: 1,051
Threads: 37
Joined: Jun 2018
Location: Netherlands
Website Find Reply
09-04-2025, 03:31 PM
#4
RE: VGX and ImageVision
(09-04-2025, 02:58 PM)Raion Wrote:  If it's C++ and from that era does that presumably mean that it would be a cfront type library? 

It makes me wonder why SGI was such a huge advocate of C++ when it was still very new and experimental at the time

You could argue that C++ is still a cfront type library!  Biggrin

Thing about it is, and this was a design intent from the start, programmers can use (or ignore) whatever feature(s) of C++ (the whole "it's a better C" thing), they feel would benefit them (or not benefit them). It's just as useful as a procedural language as it is an object-oriented language. In fact Bjarne himself has always said C++ is not an object oriented language, it's a language with features that support object oriented programming. And really, an object is nothing more (or less) than a user-defined type...

Project: Temporarily lost at sea
Plan: World domination! Or something...
(This post was last modified: 09-04-2025, 04:01 PM by vishnu.)
vishnu
Tezro, Octane2, 2 x Onyx4

Trade Count: (0)
Posts: 1,253
Threads: 42
Joined: Dec 2017
Location: Minneapolis, Minnesota USA
Find Reply
09-04-2025, 03:59 PM
#5
RE: VGX and ImageVision
(09-04-2025, 03:31 PM)jan-jaap Wrote:  I think so. At the time SGI had C++ Translator 2.1.1 (812-0001-003, 11/91). Pretty sure that's cfront from here. I think it wasn't until IRIX 5.3 that they started using something built from an EDG frontend. In between we also had the DeltaCC compiler.

See also https://techpubs.jurassic.nl/library/man...ml#id89018

They were all pretty miserable.

Yeah I've messed with that era of code, it ain't fun.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,252
Threads: 535
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
09-04-2025, 04:15 PM
#6
RE: VGX and ImageVision
(09-04-2025, 03:59 PM)vishnu Wrote:  You could argue that C++ is still a cfront type library!  Biggrin

I didn't care so much about the C++ to C translation aspect of it, but at the time I was working on a large code base of scientific simulation software that we supported on Windows, OS/2 (both Watcom compiler), IRIX, HP-UX, Solaris and AIX (usually native compilers, sometimes GCC). All of these compilers had their own moronic deviations from the standards. All of them used different APIs for threading and many other OS primitives. All of them had different implementations of C++ templates or were lacking in various aspects. All were broken in subtle ways that could make them generate incorrect object code from correct source code. Don't get me started on the bugs in early IRIX 6.0 and MIPSpro when targeting a PowerChallenge (it didn't help that very few code was 64 bit clean in those days).

It was a pain is the ass, and often if you fixed something or worked around the limitations of one platform you'd break something on another.

Compilers have come a long way. Adherence to standards has too. And don't forget that many of the tools you take for granted these days like static analyzers, valgrind, CI/CD, version management systems that understand change sets of more than a single file, didn't exist back then or were much much more limited
jan-jaap
SGI Collector

Trade Count: (0)
Posts: 1,051
Threads: 37
Joined: Jun 2018
Location: Netherlands
Website Find Reply
09-04-2025, 07:48 PM
#7
RE: VGX and ImageVision
(09-04-2025, 07:48 PM)jan-jaap Wrote:  All of them had different implementations of C++ templates...

When the FSF decided to add templates to their compiler, they took the entirety of the STL code from SGI and dumped it into their compiler completely untouched. 
 
And of course the STL is just one of the overwhelming number of reasons why C++ "is a better C."

Project: Temporarily lost at sea
Plan: World domination! Or something...
vishnu
Tezro, Octane2, 2 x Onyx4

Trade Count: (0)
Posts: 1,253
Threads: 42
Joined: Dec 2017
Location: Minneapolis, Minnesota USA
Find Reply
09-04-2025, 08:31 PM


Forum Jump:


Users browsing this thread: 1 Guest(s)