Wii Homebrew - Metaphrasis v0.1.0

Posted Jan 11, 2009 at 8:01PM by Mabie A. Listed in: Wii Tags: devkitPro
Ó


Metaphrasis v0.1.0 - Image 1No, this does not involve any caterpillars shedding off their cocoons to grow into pretty butterflies. Metaphrasis v0.1.0 is a "static conversion class for transforming RGBA image buffers into various GX texture formats for Wii homebrew development," so says Armin Tamzarian, the developer.

So, how to install the source code:
  1. Extract the Metaphrasis archive.
  2. Copy the contents of the src directory into your project's development path.
  3. Include the Metaphrasis header file in your code using syntax such as the following:
                      * include "Metaphrasis.h"

How to install the Library:
  1. Extract the Metaphrasis archive.
  2. Copy the contents of the lib directory into your devKitPro/libogc directory.
  3. Include the Metaphrasis header file in your code using syntax such as the following:
                        * include "Metaphrasis.h"

How to use:
  • Create a buffer full of 32-bit RGBA values noting both the pixel height and width of the buffer.
  • Call one of the many conversion routines from within your code. (Note: All methods within the Metaphrasis class are static and thus no class instance need be allocated)
    • uint32_t* rgba8Buffer = Metaphrasis::convertBufferToRGBA8(rgbaBuffer, bufferWidth, bufferHeight);
  • Free your temporary RGBA value buffer if you no longer need said values.
Currently supported conversion routines are as follows:
  • convertBufferToI4
  • convertBufferToI8
  • convertBufferToIA4
  • convertBufferToIA8
  • convertBufferToRGBA8
  • convertBufferToRGB565
  • convertBufferToRGB5A3

Download: Metaphrasis v0.1.0

Via WiiBrew

 
 
 

Comments

No Comments, be the first to Comment

Add New Comment




You must be logged in to post comments




Add QJ.NET
Add to My Yahoo!
Google Reader Subscribe with Bloglines
Add  to your Kinja digest Subscribe in NewsGator Online
Subscribe with Pluck RSS reader Add 'www.qj.net' to Newsburst from CNET News.com
Subscribe with SearchFox RSS del.icio.us www.qj.net
Add to Technorati Favorite! Add to My AOL
furl! it Stumble for Treehugger!