Custom Image/Texture Format?
Posted: September 30th, 2018, 2:41 pm
Hello, everyone.
Forgive me if this has already been asked and/or answered before, but is it possible to create an image/texture in the form of an array? In other words, is it possible to set the colors of pixels directly to the texture sheet in just plain C code? To be honest, I would much rather prefer this.
For example, the Nintendo 64 uses arrays of colors for the textures. There is a function where you just apply the array, and the texture is drawn out over the polygon.
As far as PS1 development is concerned, I've had minor success with the program used to create/edit the texture sheets. Basically, some of my textures worked for the samples already in the PSY-Q SDK. However, when I went to make my own project, the textures would never display correctly. If it's possible to just load textures as arrays, and have it work, I would be more than glad to do it this way.
Thank you for your understanding.
Forgive me if this has already been asked and/or answered before, but is it possible to create an image/texture in the form of an array? In other words, is it possible to set the colors of pixels directly to the texture sheet in just plain C code? To be honest, I would much rather prefer this.
For example, the Nintendo 64 uses arrays of colors for the textures. There is a function where you just apply the array, and the texture is drawn out over the polygon.
As far as PS1 development is concerned, I've had minor success with the program used to create/edit the texture sheets. Basically, some of my textures worked for the samples already in the PSY-Q SDK. However, when I went to make my own project, the textures would never display correctly. If it's possible to just load textures as arrays, and have it work, I would be more than glad to do it this way.
Thank you for your understanding.