3D Graphic issues when object is far

This topic is locked from further discussion.

Avatar image for Gonzafan
Gonzafan

1503

Forum Posts

0

Wiki Points

0

Followers

Reviews: 11

User Lists: 0

#1 Gonzafan
Member since 2008 • 1503 Posts

In many games I played or watched that are 3D, most faraway objects tend to degrade quality or disappear from view. Why does this happen?

Avatar image for SaltyMeatballs
SaltyMeatballs

25165

Forum Posts

0

Wiki Points

0

Followers

Reviews: 5

User Lists: 0

#2 SaltyMeatballs
Member since 2009 • 25165 Posts
IDK... Ram?
Avatar image for Skittles_McGee
Skittles_McGee

9136

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#3 Skittles_McGee
Member since 2008 • 9136 Posts
Draw distance. Everything thats on your screen has to be "loaded", and that takes up memory. Its done because there isn't enough memory for said objects to be on screen.
Avatar image for teuf_
Teuf_

30805

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#4 Teuf_
Member since 2004 • 30805 Posts

It's called LOD, which stands for "Level of Detail". The idea is that drawing any particular object has a certain cost associated with it. There's some CPU cost for figuring out an object is visible and submitting commands to the GPU, there's some shader cost on the GPU for transforming vertices and shading the pixels, and there's bandwidth cost for sampling texures and writing the final resut to the frame buffer. The more you have to do all of that stuff, the longer it takes to render a frame and therfore the lower your framerate. So the point of LOD is to lower the cost for far-away objects, since far-away objects will be in the background which means you no longer need fine details. This might include lowering the polygon count, removing detail textures, not using normal mapping, and using mipmaps (mipmaps are lower-resolution versions of a texture). All of those do a pretty good job of reducing GPU-side costs, but don't remove them completely. And they do nothing for CPU-side costs. So eventually for a game you have to draw a line somewhere and say "things that are X far away just won't be drawn at all". This is why in some games you will see objects fading in, or popping in.

Avatar image for Gonzafan
Gonzafan

1503

Forum Posts

0

Wiki Points

0

Followers

Reviews: 11

User Lists: 0

#5 Gonzafan
Member since 2008 • 1503 Posts
Draw distance. Everything thats on your screen has to be "loaded", and that takes up memory. Its done because there isn't enough memory for said objects to be on screen.Skittles_McGee
That means, that the ability to see certain faraway objects requires much more memory? This happens on various 3D games and platforms which I observed.
Avatar image for Brownesque
Brownesque

5660

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#6 Brownesque
Member since 2005 • 5660 Posts

It's called LOD, which stands for "Level of Detail". The idea is that drawing any particular object has a certain cost associated with it. There's some CPU cost for figuring out an object is visible and submitting commands to the GPU, there's some shader cost on the GPU for transforming vertices and shading the pixels, and there's bandwidth cost for sampling texures and writing the final resut to the frame buffer. The more you have to do all of that stuff, the longer it takes to render a frame and therfore the lower your framerate. So the point of LOD is to lower the cost for far-away objects, since far-away objects will be in the background which means you no longer need fine details. This might include lowering the polygon count, removing detail textures, not using normal mapping, and using mipmaps (mipmaps are lower-resolution versions of a texture). All of those do a pretty good job of reducing GPU-side costs, but don't remove them completely. And they do nothing for CPU-side costs. So eventually for a game you have to draw a line somewhere and say "things that are X far away just won't be drawn at all". This is why in some games you will see objects fading in, or popping in.

Teufelhuhn

Teufelhuhn has given you an expert-level lecture on LoD, don't waste it! I'm gonna learn now *sits and reads*

Thank you for your post Teufelhuhn. Nothing more needs to be said.

Avatar image for teuf_
Teuf_

30805

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#7 Teuf_
Member since 2004 • 30805 Posts

Draw distance. Everything thats on your screen has to be "loaded", and that takes up memory. Its done because there isn't enough memory for said objects to be on screen.Skittles_McGee


Well you can't really immediately load things (or unload them) the instant they need to be on-screen. Either the game has to load in an entire level (or chunk of a level) into memory all at once, or it has to stream things in well in advance. Usually games that stream will mostly stream textures, and not the geometry so much. This way they can still draw something, and then as the higher mipmaps of a texture come in they can fade in more detail.

Avatar image for Skittles_McGee
Skittles_McGee

9136

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#8 Skittles_McGee
Member since 2008 • 9136 Posts

[QUOTE="Skittles_McGee"]Draw distance. Everything thats on your screen has to be "loaded", and that takes up memory. Its done because there isn't enough memory for said objects to be on screen.Teufelhuhn



Well you can't really immediately load things (or unload them) the instant they need to be on-screen. Either the game has to load in an entire level (or chunk of a level) into memory all at once, or it has to stream things in well in advance. Usually games that stream will mostly stream textures, and not the geometry so much. This way they can still draw something, and then as the higher mipmaps of a texture come in they can fade in more detail.

Why you gotta be hatin', always trying to make me look bad :x

Avatar image for Brownesque
Brownesque

5660

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#9 Brownesque
Member since 2005 • 5660 Posts

[QUOTE="Teufelhuhn"]

[QUOTE="Skittles_McGee"]Draw distance. Everything thats on your screen has to be "loaded", and that takes up memory. Its done because there isn't enough memory for said objects to be on screen.Skittles_McGee



Well you can't really immediately load things (or unload them) the instant they need to be on-screen. Either the game has to load in an entire level (or chunk of a level) into memory all at once, or it has to stream things in well in advance. Usually games that stream will mostly stream textures, and not the geometry so much. This way they can still draw something, and then as the higher mipmaps of a texture come in they can fade in more detail.

Why you gotta be hatin', always trying to make me look bad :x

Look at the bright side, now you're smarter : ) Just copy-paste what he said next time and then you'll look good.

Avatar image for teuf_
Teuf_

30805

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#10 Teuf_
Member since 2004 • 30805 Posts

[QUOTE="Teufelhuhn"]

[QUOTE="Skittles_McGee"]Draw distance. Everything thats on your screen has to be "loaded", and that takes up memory. Its done because there isn't enough memory for said objects to be on screen.Skittles_McGee



Well you can't really immediately load things (or unload them) the instant they need to be on-screen. Either the game has to load in an entire level (or chunk of a level) into memory all at once, or it has to stream things in well in advance. Usually games that stream will mostly stream textures, and not the geometry so much. This way they can still draw something, and then as the higher mipmaps of a texture come in they can fade in more detail.

Why you gotta be hatin', always trying to make me look bad :x



Listen, you made yourself look bad. 8)

Avatar image for SaltyMeatballs
SaltyMeatballs

25165

Forum Posts

0

Wiki Points

0

Followers

Reviews: 5

User Lists: 0

#11 SaltyMeatballs
Member since 2009 • 25165 Posts

[QUOTE="Skittles_McGee"]

[QUOTE="Teufelhuhn"]

Well you can't really immediately load things (or unload them) the instant they need to be on-screen. Either the game has to load in an entire level (or chunk of a level) into memory all at once, or it has to stream things in well in advance. Usually games that stream will mostly stream textures, and not the geometry so much. This way they can still draw something, and then as the higher mipmaps of a texture come in they can fade in more detail.

Teufelhuhn

Why you gotta be hatin', always trying to make me look bad :x



Listen, you made yourself look bad. 8)

oooooh

http://blogs.sj-r.com/offtheclock/wp-content/uploads/agent_orange_2006-05-12.jpg

Avatar image for Skittles_McGee
Skittles_McGee

9136

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#12 Skittles_McGee
Member since 2008 • 9136 Posts

[QUOTE="Skittles_McGee"]

[QUOTE="Teufelhuhn"]

Well you can't really immediately load things (or unload them) the instant they need to be on-screen. Either the game has to load in an entire level (or chunk of a level) into memory all at once, or it has to stream things in well in advance. Usually games that stream will mostly stream textures, and not the geometry so much. This way they can still draw something, and then as the higher mipmaps of a texture come in they can fade in more detail.

Teufelhuhn

Why you gotta be hatin', always trying to make me look bad :x



Listen, you made yourself look bad. 8)

:|

*prepares angry response*

*looks at tag*

Low blow. You win this round :x

Avatar image for imprezawrx500
imprezawrx500

19187

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#13 imprezawrx500
Member since 2004 • 19187 Posts
console ram limitation I'd say since it don't really happen in pc games.
Avatar image for Shad0ki11
Shad0ki11

12576

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#14 Shad0ki11
Member since 2006 • 12576 Posts

In many games I played or watched that are 3D, most faraway objects tend to degrade quality or disappear from view. Why does this happen?

Gonzafan

In real life you're able to see more detail in objects that are closer to you than objects that are off in the distance.:|

Avatar image for CDUB316
CDUB316

6589

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#15 CDUB316
Member since 2009 • 6589 Posts

things have to disappear eventually....this happens in real life too ya know...LMAO

Avatar image for bigblunt537
bigblunt537

6907

Forum Posts

0

Wiki Points

0

Followers

Reviews: 7

User Lists: 0

#16 bigblunt537
Member since 2003 • 6907 Posts

console ram limitation I'd say since it don't really happen in pc games. imprezawrx500

What he's speaking about happens in EVERY pc game... Yes including the beloved Crysis.

Avatar image for imprezawrx500
imprezawrx500

19187

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#17 imprezawrx500
Member since 2004 • 19187 Posts

[QUOTE="imprezawrx500"]console ram limitation I'd say since it don't really happen in pc games. bigblunt537

What he's speaking about happens in EVERY pc game... Yes including the beloved Crysis.

yeah but the point is it happens much closer in consoles games, pointing to ram limitations. mass effect for example does it much worse on xbox than pc.
Avatar image for 2beers_in_hand
2beers_in_hand

2950

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#18 2beers_in_hand
Member since 2007 • 2950 Posts

Lets now sit and discuss those unfortunate few who have no depth perception who will never be able to witness 3d TV...

Avatar image for bigblunt537
bigblunt537

6907

Forum Posts

0

Wiki Points

0

Followers

Reviews: 7

User Lists: 0

#19 bigblunt537
Member since 2003 • 6907 Posts

[QUOTE="bigblunt537"]

[QUOTE="imprezawrx500"]console ram limitation I'd say since it don't really happen in pc games. imprezawrx500

What he's speaking about happens in EVERY pc game... Yes including the beloved Crysis.

yeah but the point is it happens much closer in consoles games, pointing to ram limitations. mass effect for example does it much worse on xbox than pc.

Well you said it doesn't really happen in pc games I'm just pointing out it happens in every pc gaming. It's actually the number 1 graphical flaw that bothers me with gaming and I can't wait until it's a thing of the past.

Avatar image for fiscope
fiscope

2426

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#20 fiscope
Member since 2006 • 2426 Posts

As objects are farther away, the higher-quality models and textures are swapped for similar, low-quality ones. This allows developers to focus more power on things that are closer to you, instead of wasting it on things that are far.

Usually, LOD, as it's called, is done well, and you don't notice the swaps. When it's done poorly, it looks silly.