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?
My *.TIM File Problem
-
LameGuy64 Verified
- Psy-Q Enthusiast
- Posts: 388
- Joined: Apr 10, 2013
- I am a: Hobbyist Game Developer
- Motto: Commercial or not, play it!
- PlayStation Model: H2000/7000
- Location: Philippines
- Contact:
How do you arrange your TIM image and clut in TIMTOOL? Make sure it does not overlap on the display buffers (usually marked as colored squares, actual size differs on the mode you're running at on the PSX.
Also, you may want to take a look at img2tim. Its similar to bmp2tim but supports a wide variety of image formats and it even supports alpha channel for easy transparency masks.
Also, you may want to take a look at img2tim. Its similar to bmp2tim but supports a wide variety of image formats and it even supports alpha channel for easy transparency masks.
Please don't forget to include my name if you share my work around. Credit where it is due.
Dev. Console: SCPH-7000 with SCPH-7501 ROM, MM3, PAL color fix, Direct AV ports, DB-9 port for Serial I/O, and a Xplorer FX with Caetla 0.35.
DTL-H2000 PC: Dell Optiplex GX110, Windows 98SE & Windows XP, Pentium III 933MHz, 384MB SDRAM, ATI Radeon 7000 VE 64MB, Soundblaster Audigy, 40GB Seagate HDD, Hitachi Lite-on CD-RW Drive, ZIP 250 and 3.5" Floppy.
Dev. Console: SCPH-7000 with SCPH-7501 ROM, MM3, PAL color fix, Direct AV ports, DB-9 port for Serial I/O, and a Xplorer FX with Caetla 0.35.
DTL-H2000 PC: Dell Optiplex GX110, Windows 98SE & Windows XP, Pentium III 933MHz, 384MB SDRAM, ATI Radeon 7000 VE 64MB, Soundblaster Audigy, 40GB Seagate HDD, Hitachi Lite-on CD-RW Drive, ZIP 250 and 3.5" Floppy.
- MrQuetch
- Active PSXDEV User
- Posts: 42
- Joined: Apr 01, 2018
- I am a: Programmer and artist.
- Motto: You can accomplish anything.
- Location: United States
Hi, LameGuy64.LameGuy64 wrote: ↑April 1st, 2018, 11:20 am How do you arrange your TIM image and clut in TIMTOOL? Make sure it does not overlap on the display buffers (usually marked as colored squares, actual size differs on the mode you're running at on the PSX.
Also, you may want to take a look at img2tim. Its similar to bmp2tim but supports a wide variety of image formats and it even supports alpha channel for easy transparency masks.
Thank you for the quick reply. I really appreciate it. Before I began working with textures, I learned how to do colored triangles and vertices; thanks to one of your early 3D samples.
As far as the textures are concerned, I do have the IMG2TIM and BMP2TIM programs - I will admit that I overlooked the TIMTOOL program. Would you happen to have a link to that? I can't seem to find it. I will try and find it on my own though.
Again, thank you.
Edit: I found it in the PSY-Q SDK. I honestly thought it was a program that was just a separate download (Probably on the internet). I will let you know if I have any trouble with my textures, etc.
Edit_2: Okay. I have my image in it's own project file, along with it's CLUT. The project is saved, so do I just add it to my project with the PS1 source code?
- MrQuetch
- Active PSXDEV User
- Posts: 42
- Joined: Apr 01, 2018
- I am a: Programmer and artist.
- Motto: You can accomplish anything.
- Location: United States
Okay, after looking at how other people set up their images in the TIMTOOL, I finally have my textures working. I created the simple mistake of putting the actual texture and pallet on the left side (Yellow and green squares) instead of the right side (Blue squares).
Thank you for all who have helped. Additionally, I have learned how to multiply vertex color with textures - which will create some pretty neat effects later on.
Thank you for all who have helped. Additionally, I have learned how to multiply vertex color with textures - which will create some pretty neat effects later on.
Who is online
Users browsing this forum: No registered users and 3 guests