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

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

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

Post by Nakamura on 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
avatar
Nakamura

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

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

Back to top Go down

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

Post by assasing123 on 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?
avatar
assasing123

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

Back to top Go down

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

Post by Nakamura on 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.
avatar
Nakamura

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

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

Back to top Go down

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

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

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

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

Back to top Go down

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

Post by Nakamura on 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.
avatar
Nakamura

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

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

Back to top Go down

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

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

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

_________________________________________

avatar
IGBC

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

Back to top Go down

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

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

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

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

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

Back to top Go down

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

Post by IGBC on 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

_________________________________________

avatar
IGBC

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

Back to top Go down

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

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

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

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

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

Back to top Go down

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

Post by Battlecry on 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.
avatar
Battlecry

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

Back to top Go down

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

Post by Nakamura on 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 : 

http://i71.servimg.com/u/f71/16/54/29/05/ss003911.jpg

medium distance : 

http://i71.servimg.com/u/f71/16/54/29/05/ss003912.jpg

Far out : 

http://i71.servimg.com/u/f71/16/54/29/05/ss003913.jpg
avatar
Nakamura

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

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

Back to top Go down

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

Post by Battlecry on 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.
avatar
Battlecry

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

Back to top Go down

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

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

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

_________________________________________

avatar
Odie_76

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

Back to top Go down

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

Post by Battlecry on 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.
avatar
Battlecry

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

Back to top Go down

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

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

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

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

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

Back to top Go down

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

Post by Nakamura on 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.
avatar
Nakamura

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

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

Back to top Go down

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

Post by chimas on 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?

_________________________________________


Mod page
avatar
chimas

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

http://www.chimas.weebly.com

Back to top Go down

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

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

Hi Chimas! Glad to see you here cheers 

_________________________________________
"Earth is the cradle of humanity, but one cannot live in a cradle forever."
avatar
PurpleKalamar

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

Back to top Go down

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

Post by Nakamura on 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.
avatar
Nakamura

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

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

Back to top Go down

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

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

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

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

Back to top Go down

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

Post by Nakamura on 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.
avatar
Nakamura

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

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

Back to top Go down

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

Post by Battlecry on 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.
avatar
Battlecry

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

Back to top Go down

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

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

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

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

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

Back to top Go down

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

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

Yes, I can do that.
avatar
Battlecry

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

Back to top Go down

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

Post by Nakamura on 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?
avatar
Nakamura

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

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

Back to top Go down

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

View previous topic View next topic Back to top

- Similar topics

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