View Issue Details

IDProjectCategoryView StatusLast Update
0000380FSSCPDirectXpublic2005-07-01 20:48
ReporterWMCoolmon Assigned Totaylor  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformPCOSWindows 2000OS VersionVarious
Summary0000380: Distorted images under DirectX nonstandard res
DescriptionOriginally I was only experiencing this in the lab, but the splash screen image in the 3.6.6 VPs is also incorrectly scaled in 1280x1024. This does not occur under OGL; I suspect it's either a bug in the lowlevel D3D texturing functions, or some esoteric setting I have somewhere. (Since I have yet to hear anyone else complain about this)

The easiest way to tell whether the bug exists is by checking whether or not the nose of the Sobek is cut off.

The display code appears to be reading the actual and desired size of the image properly, but past the setting of the desired coordinates to vertex points, I can't verify that things are scaling properly.

This is a new problem in all recent builds.
Steps To ReproduceUse the 3.6.6 mv_core.
TagsNo tags attached.

Activities

Bobboau

2005-05-31 23:17

developer   ~0002551

when did this start?

WMCoolmon

2005-06-02 01:48

developer   ~0002565

Sometime around when the rect_lists came up.

Bobboau

2005-06-02 02:27

developer   ~0002567

Last edited: 2005-06-02 02:43

alright, looking through some of the code,
gr_screen.custom_size of something other than -1 means were useing something other than 640 or 1024, and gr_screen.res is an index to wich of the two graphics coordanants to use, would it be a good idea for us to remove the 640 option (internaly force the use of 1024 coords, then resize them to whatever there suposed to actualy be) and use rescaled 1024 coords for all 2d stuff?

edited on: 06-01-05 22:43

taylor

2005-06-02 03:06

administrator   ~0002568

Umm, I don't think the 1024 coords scale very well to the 640 positions. At least not the way I remember it after playing with it for icculus.org stuff. I can think of a few places that it won't scale worth a crap actually but I don't know to what extent this is throughout the code.

If you mean using 1024 coords for all non-standard resolutions then it's likely to have to same display issues in 800x600 as it would in 640x480. The 1024 graphics aren't made to scale below 1024 so there would be real problems getting everything to look/work right.

Bobboau

2005-06-03 04:22

developer   ~0002579

well what if we used 640 coords for everything less than 1024, and 1024 coords for everything >=

WMCoolmon

2005-06-03 04:27

developer   ~0002580

AFAIK the only difference between that and what we're doing now would be between 640x480 and 1024x768.

taylor

2005-07-01 20:48

administrator   ~0002730

Fixered.

Issue History

Date Modified Username Field Change
2005-04-23 09:23 WMCoolmon New Issue
2005-05-30 17:55 administrator Status new => assigned
2005-05-30 17:55 administrator Assigned To => Bobboau
2005-05-31 23:17 Bobboau Note Added: 0002551
2005-06-02 01:48 WMCoolmon Note Added: 0002565
2005-06-02 02:27 Bobboau Note Added: 0002567
2005-06-02 02:43 Bobboau Note Edited: 0002567
2005-06-02 03:06 taylor Note Added: 0002568
2005-06-03 04:22 Bobboau Note Added: 0002579
2005-06-03 04:27 WMCoolmon Note Added: 0002580
2005-07-01 11:22 taylor Assigned To Bobboau => taylor
2005-07-01 20:48 taylor Status assigned => resolved
2005-07-01 20:48 taylor Resolution open => fixed
2005-07-01 20:48 taylor Note Added: 0002730