project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Bugs
14 Oct 2019, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Bugs If you find a bug within PR:BF2 (including PRSP), please report it here.

Reply
 
Thread Tools Display Modes
Old 2010-12-26, 02:58   #1
SnipeHunt
Supporting Member

SnipeHunt's Avatar
Default [0957] Floating texture over trees - Yamalia

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

Now it disappears

Here is more

Best line yet...
Me: "Hey APC, Can I get a ride to squad 6?"
Unknown: "This APC ain't no Taxi!"
SnipeHunt is offline
Last edited by SnipeHunt; 2010-12-26 at 03:01.. Reason: wrong map
Reply With Quote
Old 2010-12-26, 03:14   #2
VapoMan
Retired PR Developer

VapoMan's Avatar
Send a message via MSN to VapoMan
Default re: [0957] Floating texture over trees - Yamalia

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).

"Eight glorious sides and eight stunning angles!"
VapoMan is offline Reply With Quote
Old 2010-12-26, 03:30   #3
SnipeHunt
Supporting Member

SnipeHunt's Avatar
Default re: [0957] Floating texture over trees - Yamalia

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!"
SnipeHunt is offline Reply With Quote
Old 2010-12-26, 03:40   #4
VapoMan
Retired PR Developer

VapoMan's Avatar
Send a message via MSN to VapoMan
Default re: [0957] Floating texture over trees - Yamalia

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.

"Eight glorious sides and eight stunning angles!"
VapoMan is offline Reply With Quote
Old 2010-12-26, 03:58   #5
SnipeHunt
Supporting Member

SnipeHunt's Avatar
Default re: [0957] Floating texture over trees - Yamalia

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!"
SnipeHunt is offline Reply With Quote
Old 2010-12-26, 14:08   #6
Tim270
Retired PR Developer

Tim270's Avatar
Default re: [0957] Floating texture over trees - Yamalia

Looks like a 'Artifact' from the alpha channel.

Tim270 is offline
Last edited by Tim270; 2010-12-26 at 15:55..
Reply With Quote
Old 2010-12-26, 15:43   #7
[R-DEV]​Outlawz7
PR:BF2 Developer

Outlawz7's Avatar
Default re: [0957] Floating texture over trees - Yamalia

No Tim, it's an overgrowth atlas bug, something do with some offset/texture bleeding. Guess the atlas needs recompiling from scratch.

Outlawz7 is offline Reply With Quote
Old 2010-12-26, 15:53   #8
Tim270
Retired PR Developer

Tim270's Avatar
Default re: [0957] Floating texture over trees - Yamalia

Ah ok, didt know that stuff was all put in atlas.

Tim270 is offline Reply With Quote
Old 2010-12-27, 05:51   #9
splatters

splatters's Avatar
Default Re: [0957] Floating texture over trees - Yamalia

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?
splatters is offline Reply With Quote
Old 2010-12-27, 08:00   #10
VapoMan
Retired PR Developer

VapoMan's Avatar
Send a message via MSN to VapoMan
Default Re: [0957] Floating texture over trees - Yamalia

Quote:
Originally Posted by splatters View Post
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:


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:
# 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.

"Eight glorious sides and eight stunning angles!"
VapoMan is offline Reply With Quote
Reply


Tags
0957, floating, lashkar, stuff, texture, trees, yamalia
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 05:57.