Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: --Steve-O-- on April 19, 2007, 09:54:07 am

Title: texture problems
Post by: --Steve-O-- on April 19, 2007, 09:54:07 am
i made a custom texture from a UV map template to see if i got this textureing business down, and it seems to have worked, it shows up in the PCS veiw window, but when i plop the test cube into fred and then the game itself, the texture is invisible...but all the tiled spots show.
the texture originated as a BMP in Gimp, converted to PCX, and dropped into Data/Maps, and renamed to CubeText.pcx, and even renamed in PCS's texture slot...nada.
what did i miss?
Title: Re: texture problems
Post by: Water on April 20, 2007, 01:03:48 am
i made a custom texture from a UV map template to see if i got this textureing business down, and it seems to have worked, it shows up in the PCS veiw window, but when i plop the test cube into fred and then the game itself, the texture is invisible...but all the tiled spots show.
the texture originated as a BMP in Gimp, converted to PCX, and dropped into Data/Maps, and renamed to CubeText.pcx, and even renamed in PCS's texture slot...nada.
what did i miss?
Save as tga and delete pcx. See if that works.
Title: Re: texture problems
Post by: --Steve-O-- on April 20, 2007, 12:32:40 pm
converted over to TGA same deal...
it lists the texture in pcs and model view it just doesn't show them, renders it invisible in both, as well as fred, ingame its like a big black panel...the texture shows fine in truespace however.
Title: Re: texture problems
Post by: Snail on April 20, 2007, 12:41:27 pm
Dunno if it matters anymore, but in retail it had to be in the Indexed color palette.
Title: Re: texture problems
Post by: Water on April 21, 2007, 04:57:43 am
Dunno if it matters anymore, but in retail it had to be in the Indexed color palette.

Yes it still seems to matter.

@--Steve-O--
Unless you change the image mode to indexed in the Gimp, it will save as a 24bit, and the game won't see it.

The 24bit pcx has to be deleted from the map directory otherwise the game will find it instead of the tga.

If you deleted the pcx from the map dir and the game still doesn't see the tga, you may need to post the cube ship and texture.
Title: Re: texture problems
Post by: --Steve-O-- on April 21, 2007, 08:00:48 am
just tried to resave the texture as indexed...still nothing. well now it shows as a white panel in PCS viewer. i guess that is some kind of progress.
here is what model view says
(http://i67.photobucket.com/albums/h308/t64smyhotrod/hereiswhatMVsays-1.jpg)
Title: Re: texture problems
Post by: Water on April 21, 2007, 09:11:08 am
just tried to resave the texture as indexed...still nothing. well now it shows as a white panel in PCS viewer. i guess that is some kind of progress.
here is what model view says
ok tga is no good for model view.
Modelview will list a 24bit pcx texture but it won't show it on the model.
It's saying there is no cubetext (pcx) image file in freespace's \data\maps directory


Since you do not have cubetext.pcx in the \data\maps directory, what do you have?

(if you already know this bit - cool, otherwise )
In Gimp - convert image to indexed mode.
Image>Mode>Indexed - leave it at optimum palette - then save to cubetext.pcx (.pcx extension)



Title: Re: texture problems
Post by: --Steve-O-- on April 21, 2007, 09:34:40 am
AH HA!!! that did the trick. and know i know how do this thing right.
thank you much!
Title: Re: texture problems
Post by: Snail on April 21, 2007, 11:39:27 am
I thought the indexed problem was resolved in SCP. Meh, guess I never checked. :o