2025-07-21 20:04 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001535Spring engineGeneralpublic2009-11-28 11:38
Reporterhoijui 
Assigned Tohoijui 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.79.1.0+git 
Target VersionFixed in Version0.80.5+git 
Summary0001535: FarTexture broken
DescriptionFar Texture (the thing between normal view of units when near, and icons, when far), turn up as a few small black particles, sometimes only a single dot.
See the attached screenshot.It seems to happen with shadows on and off, if that is any help.
Steps To Reproducein spring settings:
set unit-details/unitLOD to 100,
and unit-icon-distance to 150.

start a game (tested with BA, Brazillian Battlefield).

slowly zoom out till you see the unit icons, then zoom back in just a bit, until they are gone.
you should now see the black particles.
Additional InformationIt seems to happen with shadows on and off, if that is any help.

I tested on two systems:
Windows XP
AMD Athlon XP 2500+
ATI Radeon 9600 (never had problems with spring)

Ubuntu 9.04
Intel Core Duo T2400
ATI Mobility Radeon X1400
Radeon Open Source drivers (poor OpenGL support)

To reproduce
------------
in spring settings:
set unit-details/unitLOD to 10 (UnitLodDist in ~/springrc),
and unit-icon-distance to 50 (UnitIconDist in ~/springrc).

start a game (tested with BA, Brazillian Battlefield).

zoom in, onto the commander.
you should now see the black particles=broken far-texture.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
has duplicate 0001524resolvedhoijui Graphics corruption on 2D model representation (lowest LOD) 
+Relationships

-Notes

~0003895

hoijui (reporter)

Is it possible that this is a similar issue like there was with icons on some ATI cards?
i mean the non-power-of-two texture size problem, which got fixed by JK.

~0004208

bartvbl (reporter)

Knipsel.jpg is a case where it happened to me.
My system specs:
- quad core (2,3 GHz)
- nVidia 9600 GT
- 4 Gb RAM
[please remove the other upload. I tried inserting the URL of a previous uploaded picture, but appearantly that didnt work :P]

~0004209

AreaFire (reporter)

Last edited: 2009-10-14 19:31

Happened to me. Posted a screen called "far texture.jpg". Included my system specs in the picture. I'll also mention that this is not just an occasional problem; it happens every time I play.

System:
Dell Latitude D820
Windows 7 Professional (32 bit)(release)
Intel Core Duo T2600 @ 2.16 GHz
2x2GB DDR2 PC6400
Nvidia Quadro NVS120M

I noticed that is happens depending on the size of the unit. For example, inside the red circle in my picture there's a flea (BA Mod) standing next to the LLT. It is bugged, but nothing else in that area is affected.

~0004329

hoijui (reporter)

i did some changes in spring master, but they only improve readability of the relevant code, and do not fix anything.

i also adde d6 more screenshot cut-outs, that show the normal view plus far-texture view of the Arm commander in 3 different orientations (there are 8 in total). The results suggest that some GL states are borked, and it looks like only dark/black stuff is rendered to black, and everything else is rendered to pink (-> transparent).

82 - 126
rts/Rendering/FartextureHandler.cpp

~0004354

hoijui (reporter)

<jk`gentoo@IRC> afaik it is caused by glreadpixels
<jk`gentoo@IRC> it should use a fbo instead
<[ARP]hoijui> sounds like easy to do :D
<jk`gentoo@IRC> yup
<jk`gentoo@IRC> easier than that glreadpixels stuff ;)

~0004381

hoijui (reporter)

jk did it! :D
it is now done with FBO, and works for me :-)
commit: 9e20b212685bb21de74e3286f63d31cc8f005271
+Notes

-Issue History
Date Modified Username Field Change
2009-08-12 00:31 hoijui New Issue
2009-08-12 00:32 hoijui File Added: screen_FarTexture.png
2009-08-12 00:33 hoijui File Added: screen_normal.png
2009-08-12 00:34 hoijui File Added: screen_Icons.png
2009-08-12 00:35 hoijui Additional Information Updated
2009-08-12 10:06 hoijui Note Added: 0003895
2009-10-13 15:47 bartvbl File Added: file[1].php_id=2726
2009-10-13 15:47 bartvbl File Added: Knipsel.JPG
2009-10-13 15:51 bartvbl Note Added: 0004208
2009-10-13 18:04 patmo98 File Deleted: file[1].php_id=2726
2009-10-13 18:33 AreaFire File Added: far texture.jpg
2009-10-13 18:34 AreaFire Note Added: 0004209
2009-10-13 18:38 AreaFire Note Edited: 0004209
2009-10-14 05:52 AreaFire Note Edited: 0004209
2009-10-14 19:31 AreaFire Note Edited: 0004209
2009-11-14 15:11 hoijui File Added: back_far.png
2009-11-14 15:12 hoijui File Added: back_nor.png
2009-11-14 15:12 hoijui File Added: front_far.png
2009-11-14 15:12 hoijui File Added: front_nor.png
2009-11-14 15:12 hoijui File Added: side_far.png
2009-11-14 15:13 hoijui File Added: side_nor.png
2009-11-14 15:20 hoijui Note Added: 0004329
2009-11-14 15:23 hoijui Additional Information Updated
2009-11-16 17:28 hoijui Relationship added duplicate of 0001524
2009-11-18 23:37 hoijui Note Added: 0004354
2009-11-28 11:38 hoijui Note Added: 0004381
2009-11-28 11:38 hoijui Duplicate ID 0 => 1524
2009-11-28 11:38 hoijui Status new => resolved
2009-11-28 11:38 hoijui Fixed in Version => 0.80.5+git
2009-11-28 11:38 hoijui Resolution open => fixed
2009-11-28 11:38 hoijui Assigned To => hoijui
2009-11-28 11:39 hoijui Relationship replaced has duplicate 0001524
+Issue History