basic drawing primitives on Irix

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
shutitalldown
Posts: 177
Joined: Sat Feb 10, 2018 3:28 am

basic drawing primitives on Irix

Unread postby shutitalldown » Tue Mar 20, 2018 5:06 pm

is there an example of good code which provides basic drawing routines such as lines, circles or polygons surfaces and adding a couple other useful functions for zooming images for example and doing basic image processing on byte arrays?
I am tattooed in reverse, cause if you break rules you don't know where it leads.
But, say, all the venus in furs are so manically depressed and manically dressed.

User avatar
spiroyster
Donor
Donor
Posts: 197
Joined: Thu May 03, 2012 8:24 am
Location: Somerset, UK

Re: basic drawing primitives on Irix

Unread postby spiroyster » Wed Mar 21, 2018 1:58 pm

Do you want to create your own gimp? or use someone elses gimp... :lol:

Its quite a fun exercise creating your own editor... look up painters algorithm, alpha mixing/blending, flood fill and convolution matrices... in that order... to begin with :D

If you cba, then get an image library, there are a few, but I couldn't tell which ones available on Irix... and look up bliting and how to do it with Irix (X/Motif).

Then there's that old chestnut
OpenG...something... the name escapes me... either way its not just a 3D api.... but texturing would be useful (bitmapfonts) if you need any form of GUI and are relying entirely on an OpenG...something... context.
CLICK HERE to find out what click bait is. You will not believe what you discover.
#NaN singles in your area are already making gazzilions by using this trick.

Cambridge Analytica approved!!

robespierre
Posts: 1698
Joined: Mon Sep 12, 2011 2:28 pm
Location: Boston

Re: basic drawing primitives on Irix

Unread postby robespierre » Wed Mar 21, 2018 2:21 pm

The recommended way is to use GLUT. GLUT is simple.
There is also GLFW, which has been ported to Irix although I don't see it packaged here.
:PI: :O2: :Indigo2IMP: :Indigo2IMP:

User avatar
vishnu
Donor
Donor
Posts: 3378
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

Re: basic drawing primitives on Irix

Unread postby vishnu » Wed Mar 21, 2018 2:40 pm

Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

:Tezro: :Octane2:

User avatar
foetz
Moderator
Moderator
Posts: 6709
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Re: basic drawing primitives on Irix

Unread postby foetz » Wed Mar 21, 2018 3:16 pm

i don't think he meant using some 3rd party stuff but actually wants to do that with irix.

so, installing the gl dev stuff should be enough to get you started. including examples.

User avatar
shutitalldown
Posts: 177
Joined: Sat Feb 10, 2018 3:28 am

Re: basic drawing primitives on Irix

Unread postby shutitalldown » Wed Mar 21, 2018 4:55 pm

foetz wrote:but actually wants to do that with irix.


Precisely :D

I could even use SDL, but I'd prefer learning how to use native libraries, provided by Irix >= v6.5.22.
I am tattooed in reverse, cause if you break rules you don't know where it leads.
But, say, all the venus in furs are so manically depressed and manically dressed.

User avatar
spiroyster
Donor
Donor
Posts: 197
Joined: Thu May 03, 2012 8:24 am
Location: Somerset, UK

Re: basic drawing primitives on Irix

Unread postby spiroyster » Thu Mar 22, 2018 3:06 am

If you want to do OpenG...something... in X, and you like dead trees... get whats known as the Green book.
CLICK HERE to find out what click bait is. You will not believe what you discover.
#NaN singles in your area are already making gazzilions by using this trick.

Cambridge Analytica approved!!

User avatar
shutitalldown
Posts: 177
Joined: Sat Feb 10, 2018 3:28 am

Re: basic drawing primitives on Irix

Unread postby shutitalldown » Thu Mar 22, 2018 3:33 am

spiroyster wrote:Green book.


Thanks! It's in my shopping basket now :D
I am tattooed in reverse, cause if you break rules you don't know where it leads.
But, say, all the venus in furs are so manically depressed and manically dressed.


Return to “SGI: Development”

Who is online

Users browsing this forum: No registered users and 1 guest