Graphics

support for the powerpc toolchain
Post Reply
Ghost6765

Graphics

Post by Ghost6765 » Sat Jul 31, 2010 7:13 pm

I've been trying to find out if GX is the only graphics language that can be used on devkitpro.If it is, can someone please tell me any good tutorials on how to program in GX because I don't seem to be able to find any.I use MSVC++ 2008 Express Edition if it helps at all.

Thanks,

Ghost 6765.

Lin
Posts: 18
Joined: Sat Feb 20, 2010 5:20 pm
Location: Salt Lake City

Re: Graphics

Post by Lin » Sat Jul 31, 2010 9:09 pm

As far as I know, GX is exactly how you operate the graphics processor. There aren't other languages or frameworks.

Here's where I started:
http://wiki.devkitpro.org/index.php/libogc/GX

Be warned, I'm not sure that this is all correct. I found this helpful because I was a complete n00b to 3D graphics with polygon primitives, for which GX (and openGL) are designed.

After that, I went through this:
http://gxr.brickmii.com/Tutorial/

It's incomplete. The main benefit it has is that it explains each of the commands, one section at a time. It only covers the basics, though.

After that, I scoured the examples. I looked a lot at the "neheGX" stuff, and "triangle" is a good basic one that relates to the BrickMii tutorial I mentioned above.

And after I did that, I have always been returning to the file gx.h. There's some good documentation in there. You can find it in your devkitPro distribution: devkitPro\libogc\include\ogc\gx.h.

User avatar
DeeKay
Posts: 4
Joined: Thu Aug 12, 2010 9:07 pm

Re: Graphics

Post by DeeKay » Thu Aug 26, 2010 10:58 pm

If you need more info start here: http://nehe.gamedev.net/

The link points to examples/lessons used as a base for the GX lessons port(If I am correct)
You might be able to use those to help you understand GX a bit more.

Yes, I know that GX isn't openGL but the lessons also contain links to sources for many compilers like Visual C++.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest