My *.TIM File Problem
Posted: April 1st, 2018, 9:44 am
Hello, everyone. I am very new here, and this is my first thread and post on the PSXDEV Network.
I am quite new to the PS1 Homebrew section, but have been learning the C programming language for over the past. That being said, I am familiar with C code, and have been working with other systems that use C. So, I decided to try PS1. Amazingly, it is much easier than programming for the N64, and I wish I had started PS1 sooner. Anyways...
I have already done my research (I think), and have been looking around for samples that show how to properly setup and use textures in the PS1. I have recently been studying the *.tim file format (Thank you, Shadow, for the link), and have been looking at ddoom's sample "3D Projection & Textured Quad". I have the proper programs to convert my *.bmp files into the proper *.tim format, but even when I use my own texture (That is 8-bits like ddoom's texture), and draw that instead; mine refuses to show up no matter what.
I'm certain the problem has an easy fix somewhere... But, to be completely honest - I'm stumped.
Any help at all is greatly appreciated, even if it is small and simple. Thank you, everyone.
Edit: I managed to get my texture up, but it's constantly flickering. I'll keep working on it and see if I can resolve it.
Edit_2: I've managed to get the primitive showing without flickering, but now the primitive is black. I'm wondering if I have a transparency problem. How can I make sure my texture is completely opaque?
I am quite new to the PS1 Homebrew section, but have been learning the C programming language for over the past. That being said, I am familiar with C code, and have been working with other systems that use C. So, I decided to try PS1. Amazingly, it is much easier than programming for the N64, and I wish I had started PS1 sooner. Anyways...
I have already done my research (I think), and have been looking around for samples that show how to properly setup and use textures in the PS1. I have recently been studying the *.tim file format (Thank you, Shadow, for the link), and have been looking at ddoom's sample "3D Projection & Textured Quad". I have the proper programs to convert my *.bmp files into the proper *.tim format, but even when I use my own texture (That is 8-bits like ddoom's texture), and draw that instead; mine refuses to show up no matter what.
I'm certain the problem has an easy fix somewhere... But, to be completely honest - I'm stumped.
Any help at all is greatly appreciated, even if it is small and simple. Thank you, everyone.
Edit: I managed to get my texture up, but it's constantly flickering. I'll keep working on it and see if I can resolve it.
Edit_2: I've managed to get the primitive showing without flickering, but now the primitive is black. I'm wondering if I have a transparency problem. How can I make sure my texture is completely opaque?