I've gotten a application to load and display some colored polygons nicely but I need to now move on to *gulp* texture mapping.
I've learned a fair bit about it so far but I've had no luck getting it to work. All of the examples seem to use "romdisks" and from what I've heard they are basically just a folder of content that gets initialized and you can just grab stuff from it.
From the examples I see lines like this:
Code: Select all
png_to_texture("'/rd/whatever.png");
So I'm looking at the simplest way I can just load a texture from the disc into memory using PVR. I've looked through examples and stuff and I've looked around this forum for people with similar problems but I still can't get it to work.
Can somebody help me out with understanding how this all works? Do I and can I just grab data from the disc? Do I need to load a romdisk? is the romdisk loaded to memory when initialized? Do I need a pvr_dr_state_t object and write directly to the buffer for this? etc
Thanks and any help is really appreciated.