project-navigation
Personal tools

Author Topic: Texture not appearing correctly  (Read 5228 times)

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Texture not appearing correctly
« on: March 03, 2010, 12:52:40 pm »
I'm hoping someone can help me figure out why I'm getting a problem with how a certain texture is displayed. I've tried recreating the texture and it's been made and saved in the same exact ways that other (working) textures have.

Please see the attached image. I've got a texture that is resulting in a red and black checkered box, which suggests to me that the texture is not being found (but it's there, sitting right next to the other new texture that works). Also, some of the faces are simply not showing up. You can see in Radiant that they have no surface or content flags that would make them not appear.

Any ideas?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Texture not appearing correctly
« Reply #1 on: March 04, 2010, 07:40:45 am »
i will have a look when i'm at home from work today.

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Texture not appearing correctly
« Reply #2 on: March 04, 2010, 12:06:20 pm »
Sorry about making troubles, but I also have bugs regarding the textures in UFORadiant  :'(, although I do not know if it is the same bug I am suffering from...
I checked the stuff first on 2 different computers, both running Win XP SP3, but one having a ATI 3400, the other having a Nvidia GTX-260 GFX-Card with the latest drivers installed, the problem is the same on both of them. I am uploading some screenshots, maybe someone could help  ::)

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Texture not appearing correctly
« Reply #3 on: March 04, 2010, 12:09:15 pm »
The textures are not messed up on all models, but on most of them, here some more screenshots:

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Texture not appearing correctly
« Reply #4 on: March 04, 2010, 07:51:20 pm »
that's a known bug in radiant - but that's a minor issue as the models are shown correctly in the game.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Texture not appearing correctly
« Reply #5 on: March 04, 2010, 08:08:02 pm »
i'm not sure whether it's a problem with the texture or with the brushes - have you tried to rebuild the brushes like this? (this would also reduce face/brush count ;) )

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Texture not appearing correctly
« Reply #6 on: March 04, 2010, 08:12:33 pm »
loading your pngs into gimp shows this:
Quote
wall_ind01_pillars.png
lcms: skipping conversion because profiles seem to be equal:
 sRGB IEC61966-2.1
 sRGB built-in

they also have an unused alpha channel (should not do anything bad, except that it might result in smaller files removing them)

resaving the image with gimp produces round 100kb smaller files for the above given file.

btw. nice, sharp textures ;)

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Texture not appearing correctly
« Reply #7 on: March 04, 2010, 08:32:54 pm »
Thanks Martin, I'll try re-PNGing everything via Gimp. Just an extra step in the process, but that's alright. I do it for the normalmaps anyway. I'll rebuild the columns as you suggest. Hopefully it will all come out alright.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Texture not appearing correctly
« Reply #8 on: March 04, 2010, 10:32:45 pm »
please let me know whether this worked for you.