Homeworld: Rebirth
Would you like to react to this message? Create an account in a few clicks or log in to continue.

LODs for Hgn ships •••••(complete) Battlecry, Chimas

+4
Battlecry
IGBC
assasing123
Nakamura
8 posters

Page 1 of 2 1, 2  Next

Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Nakamura Sun May 05, 2013 1:59 pm

The source of lag in complex is the following : certain hiigaran models have no LOD settings, and are overly complicated. This contributes in no way to the looks, and makes rendering take up too much, causing the game to lag.

Right now I don't have a list of all affected ships, but the Ark and BS are priorities.

Proof : Vaygr vs Vaygr is largely devoid of lag.

Assign LODs to hgn ships that don't have them, and the lag will be gone. There is no lag in games where there are no hiigarans.


Last edited by Nakamura on Tue Nov 19, 2013 4:15 am; edited 6 times in total
Nakamura
Nakamura

Posts : 1233
Reputation : 19
Join date : 2013-03-01
Age : 30
Location : Norway

http://www.moddb.com/mods/hw2rebirth

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by assasing123 Tue May 14, 2013 6:25 am

question, if the lag is just a graphical issue... does that mean that a pc with an extremely powerful GPU would not suffer this lag?
assasing123
assasing123

Posts : 171
Reputation : 0
Join date : 2013-05-14
Age : 36
Location : Costa Rica

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Nakamura Tue May 14, 2013 7:43 am

No, it doesn't. The engine can't get this right : there is no support for multi core CPUs, and the cpu even does rendering in HW2. If someone had the best single core CPU ever, the game would not lag.
Addition of LOD settings will not "dumb down" the models in any way. It will merely eliminate lag.
Nakamura
Nakamura

Posts : 1233
Reputation : 19
Join date : 2013-03-01
Age : 30
Location : Norway

http://www.moddb.com/mods/hw2rebirth

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by assasing123 Thu May 16, 2013 10:43 am

I sort of eliminated lag by overclocking a single core to 5900mhz on an I5 2500k....
assasing123
assasing123

Posts : 171
Reputation : 0
Join date : 2013-05-14
Age : 36
Location : Costa Rica

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Nakamura Thu May 16, 2013 11:29 am

That is absolutely not an option for most players.
Yes, it is a solution, and the lag WILL be gone on systems with extremely strong CPUs, or to be more exact, strong individual cores.
Adding the LODs would not influence the quality of the affected models, and the game would be way more playable for everyone.
Nakamura
Nakamura

Posts : 1233
Reputation : 19
Join date : 2013-03-01
Age : 30
Location : Norway

http://www.moddb.com/mods/hw2rebirth

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by IGBC Thu May 16, 2013 7:58 pm

I've got a 2 .4, GHz ivy bridge, and no lag.
IGBC
IGBC

Posts : 252
Reputation : 2
Join date : 2013-05-09
Location : Burried in the Code somwhere

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Nakamura Fri May 17, 2013 12:18 am

Try a 4 player map with only hiigarans and tell me that at game year 30+
Nakamura
Nakamura

Posts : 1233
Reputation : 19
Join date : 2013-03-01
Age : 30
Location : Norway

http://www.moddb.com/mods/hw2rebirth

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by IGBC Sat Jul 13, 2013 3:39 am

I think this is a job for Odie, he as already proved he is a good 3D/2D artist
IGBC
IGBC

Posts : 252
Reputation : 2
Join date : 2013-05-09
Location : Burried in the Code somwhere

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Nakamura Thu Aug 15, 2013 11:01 pm

Battlecry(from TFS) will supply us with a Battleship fix!
Nakamura
Nakamura

Posts : 1233
Reputation : 19
Join date : 2013-03-01
Age : 30
Location : Norway

http://www.moddb.com/mods/hw2rebirth

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Battlecry Mon Aug 19, 2013 12:41 pm

I have uploaded the modified hgn_battleship.HOD file to the ComplexEnhanced dropbox folder, which contains a reduced level of detail .obj file along with a lower-resolution texture to be used with it.

I am also in the process of fixing and optimizing the vgr_alkhalid model for use in TFS v2.9, including adding a LOD file, fixing the position of several antennas and other features that are too far off the main .obj file, and adding an engine thruster glow effect. When that is finished Complex Enhanced is more than welcome to make use of it.
Battlecry
Battlecry

Posts : 18
Reputation : 0
Join date : 2013-08-01
Age : 36
Location : United States

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Nakamura Tue Aug 20, 2013 3:14 am

The new hod feels a bit funny. Why does the color change so heavily when zooming out? 

Look : 

close up : 

https://i.servimg.com/u/f71/16/54/29/05/ss003911.jpg

medium distance : 

https://i.servimg.com/u/f71/16/54/29/05/ss003912.jpg

Far out : 

https://i.servimg.com/u/f71/16/54/29/05/ss003913.jpg
Nakamura
Nakamura

Posts : 1233
Reputation : 19
Join date : 2013-03-01
Age : 30
Location : Norway

http://www.moddb.com/mods/hw2rebirth

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Battlecry Tue Aug 20, 2013 12:22 pm

The medium distance LOD uses the same texture as the base model (close up LOD). The long-distance LOD uses a small 128x128 texture and will not look very pretty up close (the same is true of the default Homeworld2 models; if you zoom out from a Shipyard for example, you will see a noticeable decline in texture detail and change in coloration).

This can be compensated for by adjusting the "uplod" and "downlod" settings in the individual .ship files. The Battleship might require a greater "downlod" distanced for the long-distance LOD so the reduction in detail is not as noticeable to the player.
Battlecry
Battlecry

Posts : 18
Reputation : 0
Join date : 2013-08-01
Age : 36
Location : United States

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Odie_76 Tue Aug 20, 2013 12:30 pm

It looks like your alpha channel (transparent) on the LOD 2 texture is black and not transparent.
Odie_76
Odie_76

Posts : 52
Reputation : 3
Join date : 2013-05-07
Location : Hurricane, Utah

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Battlecry Tue Aug 20, 2013 3:24 pm

Thanks for the tip, I will take a look at the LOD2 texture and see if that is the issue.
Battlecry
Battlecry

Posts : 18
Reputation : 0
Join date : 2013-08-01
Age : 36
Location : United States

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Nakamura Tue Aug 20, 2013 10:17 pm

Other than the black issue, it's perfect though. Good job.
Nakamura
Nakamura

Posts : 1233
Reputation : 19
Join date : 2013-03-01
Age : 30
Location : Norway

http://www.moddb.com/mods/hw2rebirth

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Nakamura Thu Aug 22, 2013 9:56 pm

Bad news, the new intruder will need LODs too, unless the "fading issue" can be fixed in the .ship file.
Nakamura
Nakamura

Posts : 1233
Reputation : 19
Join date : 2013-03-01
Age : 30
Location : Norway

http://www.moddb.com/mods/hw2rebirth

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by chimas Fri Aug 23, 2013 6:08 am

Nakamura,
Can you send the problematic HOD file, so I can try LODing it here.
send to my e-mail. Can you send it in a playable BIG file for the stock HW2?
chimas
chimas

Posts : 1
Reputation : 0
Join date : 2013-08-15
Age : 53

http://www.chimas.weebly.com

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by PurpleKalamar Fri Aug 23, 2013 6:14 am

Hi Chimas! Glad to see you here cheers 
PurpleKalamar
PurpleKalamar

Posts : 299
Reputation : 2
Join date : 2013-08-15
Age : 29
Location : France

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Nakamura Fri Aug 23, 2013 6:18 am

It would be much easier if you de-compiled our current release. Look for hgn_intruder in the ship folder. 
You can test changes using the -overridebigfile command and setting up the folder system within the data folder.
Nakamura
Nakamura

Posts : 1233
Reputation : 19
Join date : 2013-03-01
Age : 30
Location : Norway

http://www.moddb.com/mods/hw2rebirth

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Battlecry Sat Aug 24, 2013 5:36 pm

Updates for the Vaygr Scavenger, Hiigaran Ark and Intruder have been uploaded to dropbox.
Battlecry
Battlecry

Posts : 18
Reputation : 0
Join date : 2013-08-01
Age : 36
Location : United States

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Nakamura Sat Aug 24, 2013 10:20 pm

That's brilliant! The scavenger and intruder are perfect, the ark however loses it's clamps when zooming out. 
Could we just get rid of those completely? They don't serve a purpose.
Nakamura
Nakamura

Posts : 1233
Reputation : 19
Join date : 2013-03-01
Age : 30
Location : Norway

http://www.moddb.com/mods/hw2rebirth

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Battlecry Sat Aug 24, 2013 11:50 pm

Yes, the clamps can be removed entirely from the ship model if you would prefer it that way.
Battlecry
Battlecry

Posts : 18
Reputation : 0
Join date : 2013-08-01
Age : 36
Location : United States

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Nakamura Sun Aug 25, 2013 1:06 am

Actually nevermind that for now. Can you adjust it so the clamps don't disappear?
Nakamura
Nakamura

Posts : 1233
Reputation : 19
Join date : 2013-03-01
Age : 30
Location : Norway

http://www.moddb.com/mods/hw2rebirth

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Battlecry Sun Aug 25, 2013 2:13 am

Yes, I can do that.
Battlecry
Battlecry

Posts : 18
Reputation : 0
Join date : 2013-08-01
Age : 36
Location : United States

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Nakamura Mon Aug 26, 2013 5:15 am

So the final parts of this task are:

•Battleship LOD2 texture needs to be transparent 
•Ark needs to display clamps at all times

Is there any other ship that doesn't have LoDs?
Nakamura
Nakamura

Posts : 1233
Reputation : 19
Join date : 2013-03-01
Age : 30
Location : Norway

http://www.moddb.com/mods/hw2rebirth

Back to top Go down

LODs for Hgn ships •••••(complete) Battlecry, Chimas Empty Re: LODs for Hgn ships •••••(complete) Battlecry, Chimas

Post by Sponsored content


Sponsored content


Back to top Go down

Page 1 of 2 1, 2  Next

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum