[0957] Floating texture over trees - Yamalia

If you find a bug within PR:BF2 (including PRSP), please report it here.
Post Reply
SnipeHunt
Posts: 801
Joined: 2009-02-02 15:35

[0957] Floating texture over trees - Yamalia

Post by SnipeHunt »

Don't know what the heck I was thinking.
This is from Yamalia, not Lashkar.
Will a courteous MOD please adjust the title.
Thanks in advance.




I have noticed this for a while and just decided that maybe it is not me. Wondering if maybe this has something to do with the lag I and alot of peeps get on this map?

There is some stuff that can be seen at a distance. Looks like something at the very edge of the view distance, but when I get closer to examine it it disappears. Here are a few screenies.

WIN 7 32bit
GTX460
4GB ram
All settings on high, but AA off.

here some is
Image
Now it disappears
Image
Here is more
Image
Last edited by SnipeHunt on 2010-12-26 04:01, edited 1 time in total.
Reason: wrong map
Best line yet...
Me: "Hey APC, Can I get a ride to squad 6?"
Unknown: "This APC ain't no Taxi!"
VapoMan
Retired PR Developer
Posts: 1139
Joined: 2009-05-29 07:11

re: [0957] Floating texture over trees - Yamalia

Post by VapoMan »

This a problem with quite a few trees, its caused by the distant LOD (the low quality version of the tree you see at distance).

Image"Eight glorious sides and eight stunning angles!"Image
SnipeHunt
Posts: 801
Joined: 2009-02-02 15:35

re: [0957] Floating texture over trees - Yamalia

Post by SnipeHunt »

There isn't a tree there. It is floating above a small bush on the first screenshot....
I know about the LOD stuff, this isn't it.
Best line yet...
Me: "Hey APC, Can I get a ride to squad 6?"
Unknown: "This APC ain't no Taxi!"
VapoMan
Retired PR Developer
Posts: 1139
Joined: 2009-05-29 07:11

re: [0957] Floating texture over trees - Yamalia

Post by VapoMan »

Bushes and trees are overgrowth, some types of bushes and some types of trees have this problem.

In your first picture you can see the bush looks low quality, its the distant LOD.
In the second picture the bush looks fine because you've moved closer.

So I would say that it is a problem with the distant LOD for that bush.

Image"Eight glorious sides and eight stunning angles!"Image
SnipeHunt
Posts: 801
Joined: 2009-02-02 15:35

re: [0957] Floating texture over trees - Yamalia

Post by SnipeHunt »

Why would the bush have an LOD that is two times as tall and an odd square shape.
But for the heck of it I'll look at it in the editor in a few...
Best line yet...
Me: "Hey APC, Can I get a ride to squad 6?"
Unknown: "This APC ain't no Taxi!"
Tim270
PR:BF2 Developer
Posts: 5166
Joined: 2009-02-28 20:05

re: [0957] Floating texture over trees - Yamalia

Post by Tim270 »

Looks like a 'Artifact' from the alpha channel.
Last edited by Tim270 on 2010-12-26 16:55, edited 1 time in total.
Image
Outlawz7
Retired PR Developer
Posts: 17261
Joined: 2007-02-17 14:59

re: [0957] Floating texture over trees - Yamalia

Post by Outlawz7 »

No Tim, it's an overgrowth atlas bug, something do with some offset/texture bleeding. Guess the atlas needs recompiling from scratch.
Image
Tim270
PR:BF2 Developer
Posts: 5166
Joined: 2009-02-28 20:05

re: [0957] Floating texture over trees - Yamalia

Post by Tim270 »

Ah ok, didt know that stuff was all put in atlas.
Image
splatters
Posts: 529
Joined: 2010-01-19 08:02

Re: [0957] Floating texture over trees - Yamalia

Post by splatters »

I get this too, most noticably on the trees (fir?) on Fools Road that all use the same texture and some grass undergrowth on Fallujah.

BTW, which atlas are those textures in? Does every map have their own overgrowth (and undergrowth) atlas or what?
VapoMan
Retired PR Developer
Posts: 1139
Joined: 2009-05-29 07:11

Re: [0957] Floating texture over trees - Yamalia

Post by VapoMan »

splatters wrote:I get this too, most noticably on the trees (fir?) on Fools Road that all use the same texture and some grass undergrowth on Fallujah.

BTW, which atlas are those textures in? Does every map have their own overgrowth (and undergrowth) atlas or what?
OvergrowthAtlas0.dds is a file that gets all the textures for the overgrowth in the map.

Yamalia's OvergrowthAtlas0.dds:
Image

Then there is OvergrowthAtlas.tai a textbased file that tells the game the coordinates in the dds file for the textures to go onto the right trees.

Yamalia's OvergrowthAtlas.tai:

Code: Select all

# mods/pr/levels\yamalia\overgrowth\OvergrowthAtlas.tai
# 
# 
# <filename>		<atlas filename>, <atlas idx>, <woffset>, <hoffset>, <width>, <height>
# 
# Texture <filename> can be found in texture atlas <atlas filename>, i.e.,
# <group><idx>.dds with texture coordinates boundary given by:
#   A = ( <woffset>, <hoffset> )
#   B = ( <woffset> + <width>, <hoffset> + <height> )
# 
# where coordinates (0,0) and (1,1) of the original texture map correspond
# to coordinates A and B, respectively, in the texture atlas.


objects/vegitation/pr/textures/pinebush_le.dds		levels\yamalia\overgrowth\OvergrowthAtlas0.dds, 0, 0, 0, 0.25, 1
objects/vegitation/pr/textures/camonet_lod.dds		levels\yamalia\overgrowth\OvergrowthAtlas0.dds, 0, 0.25, 0, 0.125, 0.5
objects/vegitation/asia/textures/ncpineleaf01lodde.dds		levels\yamalia\overgrowth\OvergrowthAtlas0.dds, 0, 0.25, 0.5, 0.125, 0.25
objects/vegitation/pr/textures/largebush_lod.dds		levels\yamalia\overgrowth\OvergrowthAtlas0.dds, 0, 0.25, 0.75, 0.125, 0.25
objects/vegitation/asia/textures/tile_ncbark01de_lod.dds		levels\yamalia\overgrowth\OvergrowthAtlas0.dds, 0, 0.375, 0, 0.125, 0.125
objects/vegitation/pr/textures/bush_branches_lod.dds		levels\yamalia\overgrowth\OvergrowthAtlas0.dds, 0, 0.375, 0.125, 0.0625, 0.25
objects/vegitation/pr/textures/wildgrasses02_lod.dds		levels\yamalia\overgrowth\OvergrowthAtlas0.dds, 0, 0.5, 0, 0.25, 0.03125
So im guessing that this is a problem in one of these two files, there could be some pixel bleeding or the coordinates are slightly off. But then wouldnt the problem be seen on the trees up close and far away. It only seems to be visable at a distance.

Image"Eight glorious sides and eight stunning angles!"Image
Post Reply

Return to “PR:BF2 Bugs”