Game Development Community

Texture problem with Quark

by Laralyn McWilliams · in Torque Game Engine · 06/11/2005 (10:17 pm) · 3 replies

I'm just starting out with TGE, so I'll probably have a ton of questions over the next few weeks. :-)

I've got Quark set up correctly, and when I export the start room (automatically created when you make a new map), it shows up correctly in Torque. I even changed the texture of the walls in the start room to test, and the new texture showed up in Torque.

I've made a larger map, and it only has one texture so far--on the floor. I haven't taken the time to align the texture or anything. I just selected the floor pieces and applied the texture, which displays correctly in Quark. When I export the file, however, it comes into Torque with what looks like flat, untextured shading. The color resembles the texture of the floor, but the texture itself is not rendered. I copied the texture and map files correctly into Torque, and recalculated the lighting.

I even retested the starter map to see if some settings had gone astray in Quark, but it still exports and displays correctly. So I went back to my larger level and added a single smaller cube with a different texture, and it also seems to be flat shaded.

Could I have run into a size issue? I broke the floor into pieces because I got a lightmap size error, and I no longer get the error. It's not at all a high poly level--just some cubes for now to block it out, and that single texture.

Any idea how I can fix this? Thanks!

#1
06/11/2005 (10:28 pm)
Im not really sure if this will help your problem but the texture you applied to the floor has to be in the same directory as the model. So if you placed your interrior file in the data/interiors folder you would also need to copy your texture to that folder. Also the textures need to be powers of 2 like 128,256,768,1024 and so on.
#2
06/12/2005 (6:48 am)
Thanks for the quick response! I'm putting the textures into the correst folder, and I'm using default textures that came with Torque. The texture shows up fine when it's applies to the sample room--just not on my interior.
#3
05/12/2006 (5:51 am)
I notice also that SOME textures won't show up on interiors, some textures "band" on the terrain and some textures cause minute errors on terrain, but they are all 256x256 - not yet sure what's the problem, merely corroborating