Hi XBCT, or anyone else interested
The reason I specifically put XBCT in the title is cause I saw he’s working on a Q3 viewer.
My question is how do you get all the proper textures? I’ve got alot of the texture reading in but I am not getting them all. Here is the process I use.
Get the shader name from the bsp file. Try to see if that is a .jpg file if it is then I got it. Other wise I go to the scripts directory and then get the approprite .shader file. After that I parse the proper shader from the file looking for .tga files. I thought that would get me all the textures I need. But it doesn’t.
One example of a texture that doesn’t load anything are the ramps that you can bounce off of in q3dm17.bsp.
I don’t really care about getting shaders working yet, I just want the basic textures to work for now. Do you had a better/differnet way or see what I’m missing?
One last thing, though this one isn’t very important right now. Some of my textures aren’t mapping properly. THey get really streched out in one direction. Is there a some trick to this, i’m just mapping the textures to the tex coordinates in the .bsp file. Don’t think too hard on this one though cause it’s likely related to me not reading in all the textures or a stupid mistake (since I havn’t looked for this problem yet.)