Jump to content
Sign in to follow this  
pauliesss

Grass distance...

Recommended Posts

It is possible to increase grass view distance ?

For example, when I am making a video, there is no grass when I am making it from longer distance. (everything on max. settings of course)

Screenshot:

http://i28.tinypic.com/hulldj.png (want grass on highlited areas)

Thanks.

Share this post


Link to post
Share on other sites

well, there is a grass layer there, it's a polygonal plane over the terrain that the units will sink into, like water. I don't think there's a way to increase the grass distance other than to increase your shaders and / or your terrain detail. I should say that I'm not positive about that. I haven't experimented with it too much.

Share this post


Link to post
Share on other sites

What kind of system do you have? Just that doesn't look like max settings to me.

Do you have your desktop video card properties set to application controlled or locked them at a lower setting?

edit: I just skimmed thru a fraps video I have and I notice grass only shows for like 10 meters

Share this post


Link to post
Share on other sites

Application controlled.

Yes its taken with FRAPS on 25 FPS but that doesnt matter. Try to go with "camera.sqs" script and only look (not record) and you will see its really for like 10 meters even when you have everything set on very high.

Share this post


Link to post
Share on other sites
Yes its taken with FRAPS on 25 FPS but that doesnt matter. Try to go with "camera.sqs" script and only look (not record) and you will see its really for like 10 meters even when you have everything set on very high.

Because the way grass in ArmA is rendered is based purely on distance from camera, it doesn't adjust to different levels of zoom.

Would be nice if it did confused_o.gif

Share this post


Link to post
Share on other sites
It is possible to increase grass view distance ?

For example, when I am making a video, there is no grass when I am making it from longer distance. (everything on max. settings of course)

Screenshot:

http://i28.tinypic.com/hulldj.png (want grass on highlited areas)

Thanks.

you can ...

but know that you will need to modify the island.pbo. don't cry , it's not so hard. Backup your island file just now !

grab kegetys tools here :

http://www.armaholic.com/page.php?id=411

cpbo.exe is able to un-pbo. and it's shell integrated. first, double click on it , then don't move the exe file.

now you are able to transform a folder to pbo , and extract a pbo to folder.

now you can work, unpbo sara.pbo , or the island file whatever.

in it, you will find a config.bin. use a 2nd tools named "unrap".

This exe can un binarized file. open it , and un binarize config.bin of sara folder , without "separated class root"

Ok 2 more step. now , erase the config.bin , and let only config.cpp in this folder. (arma can read them, no need to have 2 time the config) . Open this .cpp with a text editor , i recommand notepadd++

In this file look for <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">clutterGrid = 1.11;

clutterDist = 55;

noDetailDist = 40;

fullDetailDist = 5;

minTreesInForestSquare = 3;

minRocksInRockSquare = 2;

change the data here... the density of grass is defined by variable Cluttergrid. the smaller it is , the higher the grass density will be.

change it for 2.22 , and set the no detail and full detail distant to a value 3 or 4 time bigger.

Play with this variable, you can even change min and max size of plants.

Share this post


Link to post
Share on other sites

Thank you very much, I am going to try it. notworthy.gif

Edit: hm I tried it but I cant see any improvement....its still the same distance of view even when I change the full distance to 200. sad_o.gif

Share this post


Link to post
Share on other sites

AFAIK you cannot change the grass distance.

You can only change the size of grass.

Maybe clutterDist. Not sure though. Could be only flower, stones

etc. Maybe also grass.

noDetailDist and fullDetailDist are ground texture settings.

Share this post


Link to post
Share on other sites

Youre right probably because I cant see any difference in grass view distance when I change noDetailDist and fullDetailDist.

Share this post


Link to post
Share on other sites

i already did it. few month ago with 1.04 version.But after all, they maybe locked clutter 3D objet spawn. i think the initial config file was different

have you well recreate pbo , without config.bin but only .cpp , and so replace sara.pbo file ?

Share this post


Link to post
Share on other sites

Yes I did, but I tried it only with Sara_DBE1 wich is Porto island. (QG)

Share this post


Link to post
Share on other sites

Oh, sorry then....going to try it with desert2.pbo, thanks for correction. wink_o.gif

Edit: still cant see any difference... mad_o.gif

Share this post


Link to post
Share on other sites

Hi dudes ,

It can be done but it's a massive whack on fps.

Increasing the full deatail distance does make the grass visible for further distances.

The increasing of the cluttergrid is a must to gain the extra cpu power to aplly the further draw distance.

2.2m setting will suffice though it may seem to patchy.

the no detail parameter ,fulldetail parameter and clutter distance are all relative to eachother.

e.g try this-

           clutterGrid = 1.9;

clutterDist = 130;

            noDetailDist = 100;

fullDetailDist = 40;

This will work but you may have to hire a pc from NASA to run it.lol

Only joking ,but it will require a pretty gutsy pc.

That said, as far i can tell this is the way it will be done in arma2 when most of us will be running octo-core's.

rofl.gif

Il try to explain some things-

nodetaildist- will tell the game to stop trying to draw lod's of the grass.

fullDetailDist- will tell the game when to aply full lod's of the grass.

All these parameters are relative to the actual objects lod's in some way.

e.g

noDetaildist=0 will give you very lods on the grass from your position outwards.

noDetailDist=10 will give you high quality lod's ofthe grass from your position out to 10m.After this it will reduce by way of some sort of % factor from the nodeatildist vale to the fulldetaildist and clutter dist.

I setup the grass combination for vte (though i dont know if its still runnin that combo) with some nice results.

I am currently working on a mod that does this ,if all works well i will still have to wait for 1.09 patch to be officially released.

i run a e6750 with no overclocking and it's still very playable but i have tried it on my old pc (single core 3ghz) and it did it pretty hard.

Share this post


Link to post
Share on other sites

ANZACSAS Steve: Ive already tried it but I cant see any difference after change of the values. sad_o.gif

Edit: FORGET IT, it is working now, thanks to everyone ! notworthy.gif

Share this post


Link to post
Share on other sites
what was the problem ? whistle.gif

Ehm.. inlove.gifbanghead.gif

When I was trying to look if it works, Ive placed the soldier (with camera.sqs script) behind the wall and (of course), the details behind the walls were not showed. Then Ive placed the soldier (with camera.sqs script) in the other position on map and it is working now. biggrin_o.gif

Its stupid I know....shame for me... tounge2.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×