Upvote Upvoted 1 Downvote Downvoted
Blurry Crosshair
posted in Customization
1
#1
0 Frags +

I made a custom crosshair as a 64x64 tga and converted it to vtf with vtfedit. I set the crosshair scale to 32 expecting that the crosshair would be exactly like the tga. However, in game, the crosshair is blurred. The attached image has the tga image on the right and the in game screenshot on the left. Can this be fixed?

example:
http://imgur.com/yhAjKM6

my files:
tga: https://www.dropbox.com/s/y1z8gmqtf32o5q3/custom_01.tga?dl=0
vmt: https://www.dropbox.com/s/eyqcw1g547b841o/custom_01.vmt?dl=0
vtf: https://www.dropbox.com/s/p42i6fo9sew0y5g/custom_01.vtf?dl=0

I made a custom crosshair as a 64x64 tga and converted it to vtf with vtfedit. I set the crosshair scale to 32 expecting that the crosshair would be exactly like the tga. However, in game, the crosshair is blurred. The attached image has the tga image on the right and the in game screenshot on the left. Can this be fixed?

example:
http://imgur.com/yhAjKM6

my files:
tga: https://www.dropbox.com/s/y1z8gmqtf32o5q3/custom_01.tga?dl=0
vmt: https://www.dropbox.com/s/eyqcw1g547b841o/custom_01.vmt?dl=0
vtf: https://www.dropbox.com/s/p42i6fo9sew0y5g/custom_01.vtf?dl=0
2
#2
2 Frags +

When i make crosshairs i used ones that were already made as a template by opening the vtf in vtfedit and exporting as png then editing that png in GIMP or photoshop

chances are that the reason it is blurry is your VTFedit settings, these are the ones i use: http://imgur.com/a/vYNWG

I also have a VTF crosshair pack you can use that includes this crosshair

http://www.teamfortress.tv/35367/vtf-crosshair-pack

When i make crosshairs i used ones that were already made as a template by opening the vtf in vtfedit and exporting as png then editing that png in GIMP or photoshop

chances are that the reason it is blurry is your VTFedit settings, these are the ones i use: http://imgur.com/a/vYNWG

I also have a VTF crosshair pack you can use that includes this crosshair

http://www.teamfortress.tv/35367/vtf-crosshair-pack
3
#3
0 Frags +

I tried your crosshair and I get a similar result: http://imgur.com/HJsK40O
I think your crosshairs are behaving the same way. If you post a full resolution png, I could double check that we are getting the same thing.

Edit: As far as I can tell, it is not a problem with the crosshair, but with the game or game settings.

I tried your crosshair and I get a similar result: http://imgur.com/HJsK40O
I think your crosshairs are behaving the same way. If you post a full resolution png, I could double check that we are getting the same thing.

Edit: As far as I can tell, it is not a problem with the crosshair, but with the game or game settings.
4
#4
0 Frags +

I think I have figured out the answer. The pixels in the TF2 ui are not native resolution pixels. When I added a hud element that is 100 px in size, it shows up on my screen as 250 native pixels. So the ui elements are drawn in the abstract pixels (approx 640 x 480 grid) and then scaled up to the games actual resolution. Because the scale factor for my resolution (1920x1200) is 2.5, the scaled up image does not line up with native pixels. This means that is impossible to create pixel accurate ui elements like crosshairs.

This is obvious when making a hud crosshair. There the size is specified exactly in TF2 pixels. When adding a crosshair using the multiplayer options, the scaling from TF2 pixels to native pixels is hidden from the user.

Edit: On second thought, this does not explain why the multiplayer options crosshair is still blurred even on 640x480 game resolution. The crosshair added through multiplayer options is still blurry on 640x480 resolution, but the crosshair added as a hud element is pixel perfect. So hud elements are scaled only once, up from TF2 pixels. multiplayer option crosshairs must be getting scaled multiple times. weird

I think I have figured out the answer. The pixels in the TF2 ui are not native resolution pixels. When I added a hud element that is 100 px in size, it shows up on my screen as 250 native pixels. So the ui elements are drawn in the abstract pixels (approx 640 x 480 grid) and then scaled up to the games actual resolution. Because the scale factor for my resolution (1920x1200) is 2.5, the scaled up image does not line up with native pixels. This means that is impossible to create pixel accurate ui elements like crosshairs.

This is obvious when making a hud crosshair. There the size is specified exactly in TF2 pixels. When adding a crosshair using the multiplayer options, the scaling from TF2 pixels to native pixels is hidden from the user.

Edit: On second thought, this does not explain why the multiplayer options crosshair is still blurred even on 640x480 game resolution. The crosshair added through multiplayer options is still blurry on 640x480 resolution, but the crosshair added as a hud element is pixel perfect. So hud elements are scaled only once, up from TF2 pixels. multiplayer option crosshairs must be getting scaled multiple times. weird
5
#5
0 Frags +

I have the same issue. Can't seem to fix this

I have the same issue. Can't seem to fix this
6
#6
1 Frags +

When you export the vtf, enable the 'point sample' flag, so that it doesn't blend colors when it resizes it (keeps it as pixelated as possible). Though keep in mind if the borders aren't thick enough or the crosshair's size is too small, you might not see the outline at some places (but that should be able to be fixed by just making the outline thicker).

When you export the vtf, enable the 'point sample' flag, so that it doesn't blend colors when it resizes it (keeps it as pixelated as possible). Though keep in mind if the borders aren't thick enough or the crosshair's size is too small, you might not see the outline at some places (but that should be able to be fixed by just making the outline thicker).
Please sign in through STEAM to post a comment.