Jump to content

Home

What's LOD-support?


|GG|Carl

Recommended Posts

LOD stands for Level of Detail... Which means in terms of player models that the further away the character is the less detail is needed so therefore the amount of polgons is cut down which in turn takes thestrain off your graphics card.

Link to comment
Share on other sites

JK2's LOD system requires that player and weapon models have varying degress of lower polygon models included in the models file to reduce the impact the model has on your video card if it is further away.

 

When a modeller creates a model, he should include smaller polygon versions of the same model as additional "LOD" levels.

 

However, JK2's implementation of LOD is not 'true' LOD support, as it relies heavily on the artist to do something technical to save runtime (while the game is running) cpu cycles. I can pretty much guarantee that it is possible to create a more complex model and trick the game in to thinking that one is to be displayed further away, thus creating the reverse of the intended effect.

 

"True" LOD support would be calculated on the fly, and would result in lower FPS, in theory, if the CPU was able to handle the calculations without breaking a sweat. As far as the video card goes, it says "Whooopeeeeeee! Fewer Polygons!"

Link to comment
Share on other sites

Originally posted by wudan

"True" LOD support would be calculated on the fly, and would result in lower FPS, in theory, if the CPU was able to handle the calculations without breaking a sweat. As far as the video card goes, it says "Whooopeeeeeee! Fewer Polygons!"

 

...and isn't that what Half-Life 2 is supposed to do? The've been talking about their "LOD System" so it must be an on-the-fly calculation system.

 

This would be sweet, since the modeler only would only have to worry about one version of his model, if I'm understanding correctly, since the engine will do all the dirty work, thus saving much of the artist's time...

 

:holosid:

Link to comment
Share on other sites

exactly. yeah that was the other attractive thing about it. kind of like a graphics bungie cord - it stretches & shrinks based on the capabilites of your hardware... it will be exciting to see what they've come up with!!!

 

(ov course, i'll prolly still be working on jodfmod, but that's another issue entirely...)

 

:D

Link to comment
Share on other sites

I believe the engines with progressive mesh or LODs on the fly have the same features that the polygon optimizing tools for max or any other 3d editors have.

 

Basically the tool starts collapsing vertices and edges using certain criterias, like excluding the borders of a mesh, keeping UV coordinates or using an axis of simmetry.

 

I think the engine calculates how many pixels does certain edge uses on the screen, and collapses it if that edge is within a treshold.

 

we'll know for sure as soon as the HL2 SDK is released. And that is before the game is released.

Link to comment
Share on other sites

Originally posted by CortoMaltes

Basically the tool starts collapsing vertices and edges using certain criterias, like excluding the borders of a mesh, keeping UV coordinates or using an axis of simmetry.

 

Well, there are a number of publicly available algorythms for reducing polygons with emphasis on maintaining structure.

 

Essentially, first thing decided in almost all of them that I've read is to determine which edges are most important to the over all visual appearance.

Link to comment
Share on other sites

Actually, some of the code included in Neo's package is from Ste Cork, at Raven, it's a quick and dirty way (it does not interpolate) to see where the hit zones are, alternatively, you could just run modview with Kyle on the lowest LOD with Interpolation off.

 

Corto, an on-the-fly LOD calculation algo is only as good as the values you give it. It may even be set per model, or per type of item - it depends on how you use it, but the main goal of reducing triangles rendered is met even by agressive culling methods, poly reduction is technically more efficient on the gfx card if you only reduce 1 triangle drawn, but the CPU would probably disagree.

Link to comment
Share on other sites

Anyway, I don't know how the LOD system work in JK2. My latest model has 3 levels of detail of 3391, ~2600 and ~2100 polys. But I can tell the difference when it gets far away from me while I'm playing. Can someone tell me at what distance does the LOD change?

Link to comment
Share on other sites

Here's an image I made, for a tutorial I'm thinking about writing...

 

http://wat.midco.net/eggnog1/lodtest.jpg

 

It was made using an altered version of my Kyle that would change colors when the LOD changed.

 

The SP LODs are roughly the same as the MP LODs.....

 

Also, the next lower geometric detail setting in your game options moves the next lowest LOD up one.. so LOD 2 becomes 1, etc....

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...