Feature Creep / A LOD (Level of Detail) System

Author
Message
R.E.Z.
9
Years of Service
User Offline
Joined: 9th Apr 2015
Location:
Posted: 18th Jul 2016 21:01
Hello,

making a LOD (Level of Detail) System avilable, would be great.
Having different LOD Stages for each model. If You look from far away to a model, it is diplayed, using a LOD with a lower resolution. Comming closer, a LOD with a higher resolution is used.
F.e. LOD 0 = very high details, LOD 1= medium details and LOD 2 = low details.

Best regards,
R.E.Z.
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 19th Jul 2016 10:01 Edited at: 19th Jul 2016 10:01
There is already a lod system in GG, it just requires the model to support it.
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 19th Jul 2016 10:58
As smallg said, GameGuru already has LOD built in, but it requires the model to have LOD elements to work.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
Wolf
Forum Support
16
Years of Service
User Offline
Joined: 8th Nov 2007
Location: Luxemburg
Posted: 19th Jul 2016 17:27
Already in the package.
"When I contradict myself, I am telling the truth"
"absurdity has become necessity"
R.E.Z.
9
Years of Service
User Offline
Joined: 9th Apr 2015
Location:
Posted: 19th Jul 2016 19:48
Hello,

thank You for Your answers ))
that is very great !

Quote: "but it requires the model to have LOD elements to work"


-->> How do the different LOD-Elements have to be set up or named?
Like *LOD0.fpe ... *LOD1.fpe ... *LOD2.fpe ?

Best regards,
R.E.Z.
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 19th Jul 2016 21:55 Edited at: 20th Jul 2016 06:22
No, you don't need multiple fpe's.

Basically you create a model that is multiple copies of the same model as different objects with different levels of detail, each object should be appened with _LOD1 _LOD2 _LOD3 and so on.
So if you had an object called ball and 2 LODS then you would name them the following:

ball
ball_LOD1
ball_LOD2

You then export the model to .x (making sure ALL objects are selected for export).

Then in the FPE add the line LOD code (optional, for changing distances)



The in GameGuru when you test it should automatically switch between the two models depending on the distance set in the FPE
.
Here's a video of a test I made quite a while ago with the LOD system:


Here is Lee's official LOD video from when it was added:

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
Wolf
Forum Support
16
Years of Service
User Offline
Joined: 8th Nov 2007
Location: Luxemburg
Posted: 20th Jul 2016 00:05
Quick and easy Belidos! I like this very much.
I am compiling Data for a community tutorial PDF and will add this in the mix if you are okay with that?



-Wolf
"When I contradict myself, I am telling the truth"
"absurdity has become necessity"
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 20th Jul 2016 06:15 Edited at: 20th Jul 2016 09:39
Sure go for it, that is just the very basic principle, there's more than that depending on the software you use. I've added Lee's video from when it was released, that has a little more detail in it than my description.

(I also amended my previous post, I'd written a couple of things wrong because I was in a hurry)

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
R.E.Z.
9
Years of Service
User Offline
Joined: 9th Apr 2015
Location:
Posted: 20th Jul 2016 08:58 Edited at: 20th Jul 2016 09:07
Hello,

@ Belidos: Thank You alot for the great explanation and help
That is very kind of You and very helpfull to me

Best Regards,
R.E.Z.
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 20th Jul 2016 09:38
Quote: "Hello,

@ Belidos: Thank You alot for the great explanation and help
That is very kind of You and very helpfull to me

Best Regards,
R.E.Z."


You're welcome, hopefully I got it all right, I haven't bothered with LOD for quite a while, but I think I got it all down right and nothing's changed that I kow of.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.

Login to post a reply

Server time is: 2024-04-24 20:48:08
Your offset time is: 2024-04-24 20:48:08