View Issue Details

IDProjectCategoryView StatusLast Update
0000322FSSCPgraphicspublic2005-03-14 00:40
ReporterKing of Fighters Assigned Totaylor  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000322: Failure to display GTF Hercules Mk. 1 models in mission.
DescriptionThe Hercules fighter model does not display in missions involving them. Only the engine flares are visible. This also results in the fighters being almost completely invincible to weapons. The model for the Hercules fighter is stored with the shine maps. However, the shine maps are incompatible with ATI Catalyst drivers 4.4 and higher, which I have. If I put the files containing the shine maps in the Freespace folder, the game will crash upon loading a mission. If the shine maps where placed in another file, the problem would be repaired.
TagsNo tags attached.

Activities

kasperl

2005-02-14 12:36

developer   ~0001647

What VP files are you using?

taylor

2005-02-22 19:53

administrator   ~0001674

Are you using OpenGL or D3D? Which build? Is this the hi-poly Herc or the normal one? Cmdline?

I've seen this if you aren't using -jpgtga with the hi-poly model. Also make sure that you are running the game in a 32-bit graphics mode rather than 16-bit as -jpgtga could get turned off otherwise.

x0563511

2005-02-26 21:55

reporter   ~0001690

Turn on -tpgtga

The new models for them don't seem to like having that disabled.

kasperl

2005-03-12 19:49

developer   ~0001743

Reminder sent to King of Fighters

Did the problem with this bug go away when you used the -jpgtga commandline?

taylor

2005-03-13 05:17

administrator   ~0001798

There are two basic problems here: 1) He's not using -jpgtga, otherwise it would show up properly, 2) That model doesn't provide PCX or DDS textures so that it can work in 16-bit color modes (ie. not using -jpgtga).

The easy fix is just to use -jpgtga. A code fix is to convert those 24 and 32-bit TGAs to 16-bit if needed. I've got that partially implemented in newer builds but it's not enabled just yet. It also works with TGAs and not JPGs so it only addresses part of the problem.

Guess I'll take this one and go ahead and enable the new code with an experimental cmdline option for the time being. It it works well then it can be enabled by default.

kasperl

2005-03-13 09:58

developer   ~0001813

So we could call this a media_vp error and call it fixed?

taylor

2005-03-13 14:43

administrator   ~0001817

This ship isn't in the MediaVP yet though I don't think. I'm really tempted to just call this Bob's problem since the model doesn't have compatible textures but it is something that can (and probably should) be handled by the code. If everyone uses DDS textures then it's not a problem but if they use TGA then another set has to be created for those with memory constraints that don't/can't use -jpgtga. Not really a good situation for anyone.

There is already code to fix this so it's not like it's a lot of trouble to deal with. Considering this a code issue is just a kick in the pants to get the current code completed and tested.

Lightspeed

2005-03-13 20:19

reporter   ~0001848

Could something akin to compress PCX implemented for those choosing to disable jpg/tga textures?

taylor

2005-03-13 23:10

administrator   ~0001860

Well the pcx2dds thing is in the video card. It saves video memory but not system memory. If people are not using -jpgtga then they are probably doing that to save system memory more than video memory.

I just commited the TGA conversion code to CVS though. It will have a new cmdline option in the launcher (-tga16, "Convert 32-bit TGAs to 16-bit") under the Experimental section. It works pretty well for ship textures and some effects but doesn't do transparency very well yet. Even when it does it will pretty much be transparent or not with pretty much nothing in between. I'll continue to make it better as reports come in. This is still TGA only and doesn't make JPG work without -jpgtga. Probably will eventually but it's certainly not a high priority.

taylor

2005-03-14 00:40

administrator   ~0001866

Fixered. Sorta.

Moral of the story, use -jpgtga to see the ship. In upcoming builds there will be a -tga16 cmdline option which will convert the graphics to 16-bit so that -jpgtga isn't needed though. When properly tested it will be on by default.

Issue History

Date Modified Username Field Change
2005-02-13 02:01 King of Fighters New Issue
2005-02-14 12:36 kasperl Note Added: 0001647
2005-02-22 19:53 taylor Note Added: 0001674
2005-02-26 21:55 x0563511 Note Added: 0001690
2005-03-12 19:49 kasperl Note Added: 0001743
2005-03-13 05:17 taylor Note Added: 0001798
2005-03-13 05:17 taylor Status new => assigned
2005-03-13 05:17 taylor Assigned To => taylor
2005-03-13 09:58 kasperl Note Added: 0001813
2005-03-13 14:43 taylor Note Added: 0001817
2005-03-13 20:19 Lightspeed Note Added: 0001848
2005-03-13 23:10 taylor Note Added: 0001860
2005-03-14 00:40 taylor Status assigned => resolved
2005-03-14 00:40 taylor Resolution open => fixed
2005-03-14 00:40 taylor Note Added: 0001866