Hey all,
After some consideration I've decided to start a new coding project: a general purpose image viewer for IRIX. I do realise there are a bunch of other programs out there that already do good job, but by writing my own thing I'm hoping to increase my coding skill so I can maybe tackle a larger graphics-related project in the future.
I've considered refactoring/extending my Comix cbr/cbz viewer. But perhaps it's best to start fresh with a new Motif/ViewKit/C++ UI. I figure I'll use Graphicsmagick's magicke++ C++ binding to do any image manipulation. I know that IRIX has the image library and IFL but my primitive benchmarking seems to indicate that Graphicsmagick is almost twice as fast for the rotation/scaling stuff I might want to include in the viewer. And it gives me a ready-made Image class which offers a range of functionality for 'free'.
Of course there's a ton of things I need to read up about, but I thought I'd try the novel approach of asking the nekochanners for some advice and guidance first. Some of my specific questions are:
1. I'm not sure whether I should use OpenGL for this. And if yes, what parts of the application might benefit most.
2. I definitely don't know enough to decide whether I should be using glDrawPixels or quads & textures to display stuff.
3. Will I run into issues with memory handling for large images? Say, the 12 or 16 megapixel images that come out of my Lumix G6...
4. Though I'll be developing on my Fuel, should I be worrying about other IPxx at this stage?
Any advice and other topical hints/tips would be greatly appreciated.
J.
After some consideration I've decided to start a new coding project: a general purpose image viewer for IRIX. I do realise there are a bunch of other programs out there that already do good job, but by writing my own thing I'm hoping to increase my coding skill so I can maybe tackle a larger graphics-related project in the future.
I've considered refactoring/extending my Comix cbr/cbz viewer. But perhaps it's best to start fresh with a new Motif/ViewKit/C++ UI. I figure I'll use Graphicsmagick's magicke++ C++ binding to do any image manipulation. I know that IRIX has the image library and IFL but my primitive benchmarking seems to indicate that Graphicsmagick is almost twice as fast for the rotation/scaling stuff I might want to include in the viewer. And it gives me a ready-made Image class which offers a range of functionality for 'free'.
Of course there's a ton of things I need to read up about, but I thought I'd try the novel approach of asking the nekochanners for some advice and guidance first. Some of my specific questions are:
1. I'm not sure whether I should use OpenGL for this. And if yes, what parts of the application might benefit most.
2. I definitely don't know enough to decide whether I should be using glDrawPixels or quads & textures to display stuff.
3. Will I run into issues with memory handling for large images? Say, the 12 or 16 megapixel images that come out of my Lumix G6...
4. Though I'll be developing on my Fuel, should I be worrying about other IPxx at this stage?
Any advice and other topical hints/tips would be greatly appreciated.
J.
redbox
800Mhz 4Gb V12