Game Development Community

Some sprites look way too pixelated.

by Nicolas Olhaberry · in Torque Game Builder · 04/09/2007 (8:37 pm) · 2 replies

Hi guys. I'm having this sort of weird problem with my game running it in a certain computer which I don't have much access to, so debugging the game there is not really an option. I wanted to know if anybody had the same problem before and could give me some pointers to figure it out.

What's happening is that some sprites in the game look way too pixelated on that particular computer, as if the image had half the resolution it actually has. All the sprites looking pixelated are using the same imagemap, so probably the problem is there, but I cannot find anything wrong with it. What's even weirder is that on some levels the sprites using that imagemap look okay but in others don't. And I'm not even using TGB to load different levels, the whole game runs within one TGB level. By the way, the levels where those particular sprites look pixelated are always the same, but I can't find anything particular in the way the sprites are created on those levels either.

The imagemap is a 23KB 135x135 png file. Every frame, I'm using it in cell mode, displays with the same pixelation. I'm listing the imagemap properties just in case somebody spots something wrong there:

imageMode = "CELL";
frameCount = "-1";
filterMode = "NONE";
filterPad = "1";
preferPerf = "0";
cellRowOrder = "1";
cellOffsetX = "0";
cellOffsetY = "0";
cellStrideX = "0";
cellStrideY = "0";
cellCountX = "3";
cellCountY = "-1";
cellWidth = "45";
cellHeight = "45";
preload = "1";
allowUnload = "0";

Has anybody here experienced this before? If so, what was the source of the problem? Thanks in advance, guys.

#1
04/09/2007 (8:53 pm)
I'd try filterMode=SMOOTH. If that doesn't help, it seems like it's most likely to be an issue with the computer itself, though without knowing the specs it's hard to say.
#2
04/10/2007 (12:15 pm)
Thank you Thomas for your reply. I changed the filter mode to smooth as you suggested, and the image looks right again. The thing is I would rather not filter it, since it looks too blurry because the original image is already very antialiased.

I'm attaching the dxdiag info for said computer, I'm running a build of the game there made with TGB v1.1.3. Well, actually I'm just adding the beginning of it, since it exceeds the maximum length allowed. Hope it helps anyway.

------------------
System Information
------------------
Time of this report: 4/10/2007, 11:53:06
Machine name: MEMEX
Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 2 (2600.xpsp_sp2_gdr.061219-0316)
Language: English (Regional Setting: English)
System Manufacturer: TOSHIBA
System Model: PORTEGE M200
BIOS: v1.60
Processor: Intel(R) Pentium(R) M processor 1.80GHz
Memory: 512MB RAM
Page File: 798MB used, 448MB available
Windows Dir: C:\WINDOWS
DirectX Version: DirectX 9.0c (4.09.0000.0904)
DX Setup Parameters: Not found
DxDiag Version: 5.03.2600.2180 32bit Unicode

------------
DxDiag Notes
------------
DirectX Files Tab: No problems found.
Display Tab 1: No problems found.
Sound Tab 1: No problems found.
Music Tab: No problems found.
Input Tab: No problems found.
Network Tab: No problems found.

--------------------
DirectX Debug Levels
--------------------
Direct3D: 0/4 (n/a)
DirectDraw: 0/4 (retail)
DirectInput: 0/5 (n/a)
DirectMusic: 0/5 (n/a)
DirectPlay: 0/9 (retail)
DirectSound: 0/5 (retail)
DirectShow: 0/6 (retail)

---------------
Display Devices
---------------
Card name: NVIDIA GeForce FX Go5200 32M/64M
Manufacturer: NVIDIA
Chip type: GeForce FX Go5200 32M/64M
DAC type: Integrated RAMDAC
Device Key: Enum\PCI\VEN_10DE&DEV_0328&SUBSYS_00101179&REV_A1
Display Memory: 32.0 MB
Current Mode: 1280 x 1024 (32 bit) (60Hz)
Monitor: Plug and Play Monitor
Monitor Max Res: 1600,1200
Driver Name: nv4_disp.dll
Driver Version: 6.14.0010.4591 (English)
DDI Version: 9 (or higher)
Driver Attributes: Final Retail
Driver Date/Size: 10/17/2003 17:02:00, 3889900 bytes
WHQL Logo'd: Yes
WHQL Date Stamp: n/a
VDD: n/a
Mini VDD: nv4_mini.sys
Mini VDD Date: 10/17/2003 17:02:00, 1371740 bytes
Device Identifier: {D7B71E3E-4068-11CF-2663-1A2000C2CB35}
Vendor ID: 0x10DE
Device ID: 0x0328
SubSys ID: 0x00101179
Revision ID: 0x00A1
Revision ID: 0x00A1
Video Accel: ModeMPEG2_A ModeMPEG2_B ModeMPEG2_C ModeMPEG2_D
Deinterlace Caps: {212DC722-3235-44A4-BD29-E1652BBCC71C}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,2) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
{212DC723-3235-44A4-BD29-E1652BBCC71C}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_MedianFiltering
{335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
{212DC722-3235-44A4-BD29-E1652BBCC71C}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,2) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
{212DC723-3235-44A4-BD29-E1652BBCC71C}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_MedianFiltering
{335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
{335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YV12,0x32315659) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
{212DC722-3235-44A4-BD29-E1652BBCC71C}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,2) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
{212DC723-3235-44A4-BD29-E1652BBCC71C}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_MedianFiltering
{335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
Registry: OK
DDraw Status: Enabled
D3D Status: Enabled
AGP Status: Enabled
DDraw Test Result: Not run
D3D7 Test Result: Not run
D3D8 Test Result: Not run
D3D9 Test Result: Not run

-------------
Sound Devices
-------------
Description: SoundMAX Digital Audio
Default Sound Playback: Yes
Default Voice Playback: Yes
Hardware ID: PCI\VEN_8086&DEV_24C5&SUBSYS_02C51179&REV_03
Manufacturer ID: 65535
Product ID: 65535
Type: WDM
Driver Name: smwdm.sys
Driver Version: 5.12.0001.5160 (English)
Driver Attributes: Final Retail
WHQL Logo'd: Yes
Date and Size: 6/23/2004 10:42:46, 266880 bytes
Other Files:
Driver Provider: Analog Devices
HW Accel Level: Full
Cap Flags: 0xF5F
Min/Max Sample Rate: 100, 200000
Static/Strm HW Mix Bufs: 0, 0
Static/Strm HW 3D Bufs: 0, 0
HW Memory: 0
Voice Management: No
EAX(tm) 2.0 Listen/Src: No, No
I3DL2(tm) Listen/Src: No, No
Sensaura(tm) ZoomFX(tm): No
Registry: OK
Sound Test Result: Not run

---------------------
Sound Capture Devices
---------------------
Description: SoundMAX Digital Audio
Default Sound Capture: Yes
Default Voice Capture: Yes
Driver Name: smwdm.sys
Driver Version: 5.12.0001.5160 (English)
Driver Attributes: Final Retail
Date and Size: 6/23/2004 10:42:46, 266880 bytes
Cap Flags: 0x41
Format Flags: 0xCCC

-----------
DirectMusic
-----------
DLS Path: C:\WINDOWS\SYSTEM32\drivers\GM.DLS
DLS Version: 1.00.0016.0002
Acceleration: n/a
Ports: Microsoft Synthesizer, Software (Not Kernel Mode), Output, DLS, Internal, Default Port
SoundMAX Digital Audio, Software (Kernel Mode), Output, DLS, Internal
Microsoft MIDI Mapper [Emulated], Hardware (Not Kernel Mode), Output, No DLS, Internal
Microsoft GS Wavetable SW Synth [Emulated], Hardware (Not Kernel Mode), Output, No DLS, Internal
Registry: OK
Test Result: Not run

-------------------
DirectInput Devices
-------------------
Device Name: Mouse
Attached: 1
Controller ID: n/a
Vendor/Product ID: n/a
FF Driver: n/a

Device Name: Keyboard
Attached: 1
Controller ID: n/a
Vendor/Product ID: n/a
FF Driver: n/a

Device Name: Wacom Penabled HID MiniDriver
Attached: 1
Controller ID: 0x0
Vendor/Product ID: 0x056A, 0x1002
FF Driver: n/a

Device Name: Wacom Penabled HID MiniDriver
Attached: 1
Controller ID: 0x0
Vendor/Product ID: 0x056A, 0x1002
FF Driver: n/a

Device Name: Wacom Penabled HID MiniDriver
Attached: 1
Controller ID: 0x0
Vendor/Product ID: 0x056A, 0x1002
FF Driver: n/a

Poll w/ Interrupt: No
Registry: OK