SGI image viewer plugin

Viewer and VFS (Virtual File System) plugins.

SGI image viewer plugin

Postby joctee » 21 Feb 2007, 01:09

This plugin lets you read .rgb, .rgba, .int, .inta, and .sgi pictures in dopus!

Please let me know if you find it useful! :)

About the format:
http://en.wikipedia.org/wiki/Silicon_Graphics_Image

Release 1.0.1 is now available

* Alpha is rendered correctly
* Faster loading times.
* Statically linked (means that it will probably work for all of you that were unable to use the previous version)

Download rgb-x64.zip for 64-bit Directory Opus and rgb.zip for 32-bit Directory Opus.
Attachments
rgb-x64.zip
SGI image viewer plugin for dopus. (64-bit)
(102.12 KB) Downloaded 275 times
rgb.zip
SGI image viewer plugin for dopus. (32-bit)
(85.96 KB) Downloaded 1162 times
Last edited by joctee on 25 Nov 2008, 16:17, edited 3 times in total.
User avatar
joctee
 
Posts: 8
Joined: 01 Feb 2005, 08:23

Postby artstorm » 27 Mar 2007, 10:33

Awesome! This is much appreciated.

While you are at it, you haven't considered to make viewers for other useful graphic working formats like .exr and .hdr? :)
User avatar
artstorm
 
Posts: 15
Joined: 20 Oct 2005, 01:17
Location: Sweden
OS: Windows 7 64-bit
Opus: Directory Opus 9.x

Postby joctee » 29 Mar 2007, 00:48

Glad you liked it!

It is not impossible that I will make a hdr plugin later this year. Time will tell.
User avatar
joctee
 
Posts: 8
Joined: 01 Feb 2005, 08:23

Re: SGI image viewer plugin

Postby leo » 29 Mar 2007, 02:25

joctee wrote:* Alpha is rendered black, not as alpha.


Is that because it's difficult to get the alpha channel from the image format, or because you don't know how to send it to Opus?

There's a flag DVPFIF_HasAlphaChannel which plugins can set when returning bitmaps to tell Opus that the pixels are 32-bit RGBA values. (i.e. the Reserved byte in the RGBQUAD struct is the alpha value for each pixel.)
User avatar
leo
Admin
 
Posts: 14449
Joined: 07 Nov 2004, 01:30
Location: London, UK
OS: Windows 7 64-bit
Opus: Illuminati

Postby joctee » 29 Mar 2007, 02:50

Is that because it's difficult to get the alpha channel from the image format, or because you don't know how to send it to Opus?


I have the alpha channel from the image format, but I haven't cared about finding out how to send it to dopus.

There's a flag DVPFIF_HasAlphaChannel which plugins can set when returning bitmaps to tell Opus that the pixels are 32-bit RGBA values. (i.e. the Reserved byte in the RGBQUAD struct is the alpha value for each pixel.)


Your hints are appreciated, thanks! I will have a look at it when I get some hours of spare time.
User avatar
joctee
 
Posts: 8
Joined: 01 Feb 2005, 08:23

Postby joctee » 29 Mar 2007, 15:31

I made a new version where alpha is working. See the top most post for download link. (Thanks Nudel for the alpha hints)
User avatar
joctee
 
Posts: 8
Joined: 01 Feb 2005, 08:23

Postby Cageman » 03 Nov 2007, 13:04

Wow coolness!

SGI and PNG are my favourite images when rendering. Cool to be able to view SGI in Dopus directly! Thanks a bunch!
Cageman
 
Posts: 5
Joined: 03 Nov 2007, 12:44
Location: Malmö, SWEDEN

Postby joctee » 25 Nov 2008, 16:12

x64 version is now available. See top most post for download link.
User avatar
joctee
 
Posts: 8
Joined: 01 Feb 2005, 08:23


Return to Plugins