Page 1 of 1
Graphics
Posted: Sat Jul 31, 2010 7:13 pm
by Ghost6765
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.
Re: Graphics
Posted: Sat Jul 31, 2010 9:09 pm
by Lin
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.
Re: Graphics
Posted: Thu Aug 26, 2010 10:58 pm
by DeeKay
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++.