View Issue Details

IDProjectCategoryView StatusLast Update
0000663FSSCPgraphicspublic2005-12-29 20:29
ReporterAlpha0 Assigned Totaylor  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformDell Latitude D600 NotebookOSWindows 2000 ProfessionalOS Version5.00.2195 SP4
Product Version3.6.7 
Summary0000663: Lighting on ship insignias does not work on D3D.
DescriptionTaylor recently implemented lighting on ship insignias, so that they do not appear unnaturally bright. However, it seems that the implementation works only with OpenGL, while D3D rendering of insignias looks unchanged compared to what it was in the past.
Steps To ReproduceJust load any mission in D3D and you will notice immediately that ship insignias appear fully lit.
Additional InformationTest system: Dell Latitude D600 Notebook, Intel Centrino 1.6GHz, 512MB RAM, Windows 2000 Professional SP4, Mobility Radeon 9000 w/ 32MB for graphics, graphics drivers version 6.13.10.6279. DX version 8.1 (4.08.01.0881). I tested this with the CVS build of December 22.
TagsNo tags attached.

Activities

taylor

2005-12-29 11:08

administrator   ~0004069

I don't really have a good D3D to test this with since what I do have has really crappy lighting. The change I made isn't API specific but I would guess that D3D just isn't testing/using the RGB render flag like it should. If it doesn't then the lighting related color values won't get used.

...

Mmm, add TMAP_FLAG_GOURAUD to modelinterp.cpp line 2831 (tmap_flags |= TMAP_FLAG_RGB) and see if that makes it work. This looks to just be a problem with OpenGL actually, it should have the extra check and it doesn't. If adding that flag makes it work in D3D let me know and I'll go ahead and commit the change.

Alpha0

2005-12-29 15:10

reporter   ~0004070

Taylor, I tested your proposed fix and indeed it does work. I believe it is OK to commit your change.

taylor

2005-12-29 20:29

administrator   ~0004072

Fixered.

Issue History

Date Modified Username Field Change
2005-12-29 09:00 Alpha0 New Issue
2005-12-29 11:08 taylor Note Added: 0004069
2005-12-29 11:08 taylor Status new => assigned
2005-12-29 11:08 taylor Assigned To => taylor
2005-12-29 15:10 Alpha0 Note Added: 0004070
2005-12-29 20:29 taylor Status assigned => resolved
2005-12-29 20:29 taylor Resolution open => fixed
2005-12-29 20:29 taylor Note Added: 0004072