Jump to content
Sign in to follow this  
AGOSTINO

The distance at which trees render?

Recommended Posts

Stary said:

 

"The distance at which trees render is set by flightengine.ini variable

 

DetailMeshSize=

 

where defaults are 4 for low, 5 for medium and 6 for high, 7 for unlimited, values are in kilometers

(single WOE tile covers 2x2 kilometers)

 

If you have strong system you may wish to increace the DetailMeshSize= to higher number.

 

Values like 8, 9 or 10 seems to work ok on med-high systems, but you may have to increase

 

NearClipDistance=3000.0 under [NormalSceneClip] to avoid scene clipping issues (values like 35000, 40000 works ok)."

 

 

Now this is my flightengine.ini:

 

 

[Debug]

SkipFlight=FALSE

 

[FlightEngine]

HUDDLL=HUD.dll

HUDDataFilename=HUDData.ini

CommDLL=Comm.dll

CommDataFilename=CommData.ini

ObjectList=ObjectList.ini

SoundList=SoundList.ini

ViewList=ViewList.ini

ParticleSystem=ParticleSystem.ini

EnvironmentSystem=EnvironmentSystem.ini

MessageSystem=MessageSystem.ini

SpeechSystem=SpeechSystem.ini

DeltaT=0.016667

MaxDeltaT=0.200

RefreshTime=0.016667

ChangeTimeAmount=15

MaxTimeCompression=8.0

StartTimeCompression=1

StartPaused=FALSE

ShowCockpit=TRUE

TextFilename=FlightText.str

EjectView=EjectView

 

[ForceFeedback]

ForceFeedback=FlightFFBEffect.ini

ForceFeedbackControl=PITCH_CONTROL

FadeStartTime=0.2

FadeTime=1.0

 

[LoadingScreen]

BackgroundImage=LoadingScreen1.JPG

BackgroundImageSize=1024,768

TextFontName=Arial

TextSize=20

TextFontColor=250,250,250

TextFile=LoadingText.str

LoadingTextStringID=TXT_FLT_LOADING

PercentTextStringID=TXT_FLT_LOADING_PERCENT

ProgressBarRange=100

ProgressBarRect=204,733,820,753

StreamAudio=loading.wav

FadeTime=0.2

 

[GraphicsSettings]

ZBufferDepth=24

MaxVertexCount=16384

MaxIndexCount=32768

MaxTextureCount=4096

MaxModelType=2024

MaxMeshPerScene=4096

MaxModelPerScene=2024

MaxLightPerScene=256

AspectRatio=1.777778

MinPixelSize=1.0

 

[backgroundSceneClip]

FarClipDistance=80000.0

NearClipDistance=3000.0

 

[ForegroundSceneClip]

FarClipDistance=25000.0

NearClipDistance=0.45

 

[insideSceneClip]

FarClipDistance=250.0

NearClipDistance=0.01

 

[FarSceneClip]

FarClipDistance=80000.0

NearClipDistance=3000.0

 

[NormalSceneClip]

FarClipDistance=25000.0

NearClipDistance=249.9

 

[NearSceneClip]

FarClipDistance=250.0

NearClipDistance=1.2

 

[LowDetailOption]

HorizonDistance=45000.0

DetailMeshSize=2

DetailLevel=0

WaterEffect=0

NoiseTexture=0

MaxTextureRes=128

 

[MedDetailOption]

HorizonDistance=50000.0

DetailMeshSize=2

DetailLevel=1

WaterEffect=1

NoiseTexture=0

MaxTextureRes=256

 

[HighDetailOption]

HorizonDistance=60000.0

DetailMeshSize=16

DetailLevel=2

WaterEffect=2

NoiseTexture=1

MaxTextureRes=512

 

[unlimitedDetailOption]

HorizonDistance=75000.0

DetailMeshSize=17

DetailLevel=2

WaterEffect=2

NoiseTexture=1

MaxTextureRes=-1

 

[soundSettings]

SampleFrequency=44100

BitsPerSample=16

DopplerFactor=1.0

 

[WorldSettings]

SectorWidth=20

SectorHeight=20

SectorMaxObject=256

Border=80000.0

MinHeight=1.0

MaxHeight=35000.0

 

[MapSettings]

MapMaxSize=200000

MapMinSize=20000

MapInitSize=100000

MapScaleRate=5.0

ZoomControl=CAMERA_ZOOM_CONTROL

 

[screenShot]

FilenameFormat=img%05d.JPG

MaxScreenShot=99999

SoundEffect=shutter.wav

 

[TextStrings]

GamePaused=TXT_FLT_GAME_PAUSED

GameUnpaused=TXT_FLT_GAME_UNPAUSED

TimeCompress=TXT_FLT_TIME_COMPRESS

NormalTime=TXT_FLT_NORMAL_TIME

TimeSet=TXT_FLT_TIME_SET

StartFlight=TXT_FLT_START_FLIGHT

WaitJoin=TXT_FLT_WAIT_JOIN

 

[skipToNext]

Timer=3.0

FadeTimer=1.0

SkipToNextView=FlybyView

AutoPilotCommand=AUTO_PILOT

 

[startView]

StartView000=ShoulderView

StartView001=CockpitFront

 

[inFlightChat]

TargetText=ChatTarget.str

RepeatDelay=0.5

RepeatRate=0.1

CursorFlashTime=0.4

CursorString=|

 

 

What values do I need to change?? :dntknw:

 

 

[NormalSceneClip]

FarClipDistance=25000.0 <<<<<<<<<< this?? :blink:

 

NearClipDistance=249.9 <<<<<<<<<< or this?? :this:

 

 

Thanks in advance!!! :salute:

 

 

 

 

 

 

 

 

Share this post


Link to post
Share on other sites

Did you try just changing the DetailMeshsize ???

 

I think you will find that just doing that will show the trees at a further distance without messing with the clip distance.

 

P.S. If you have a lot of other objects/buildings in your game, you wil find that your DetailMeshSize numbers that you show above will drag your FPS way, way down. You may need to back those number off a bit till you get the FPS you can live with.

Share this post


Link to post
Share on other sites

Did you try just changing the DetailMeshsize ???

 

I think you will find that just doing that will show the trees at a further distance without messing with the clip distance.

 

P.S. If you have a lot of other objects/buildings in your game, you wil find that your DetailMeshSize numbers that you show above will drag your FPS way, way down. You may need to back those number off a bit till you get the FPS you can live with.

 

 

Thanks for the reply, I've been using these settings, and it seems to run much better than before!!! :good:

 

[Debug]

SkipFlight=FALSE

 

[FlightEngine]

HUDDLL=HUD.dll

HUDDataFilename=HUDData.ini

CommDLL=Comm.dll

CommDataFilename=CommData.ini

ObjectList=ObjectList.ini

SoundList=SoundList.ini

ViewList=ViewList.ini

ParticleSystem=ParticleSystem.ini

EnvironmentSystem=EnvironmentSystem.ini

MessageSystem=MessageSystem.ini

SpeechSystem=SpeechSystem.ini

DeltaT=0.016667

MaxDeltaT=0.100

RefreshTime=0.016667

ChangeTimeAmount=15

MaxTimeCompression=8.0

StartTimeCompression=1

StartPaused=FALSE

ShowCockpit=TRUE

TextFilename=FlightText.str

EjectView=EjectView

 

[ForceFeedback]

ForceFeedback=FlightFFBEffect.ini

ForceFeedbackControl=PITCH_CONTROL

FadeStartTime=0.2

FadeTime=1.0

 

[LoadingScreen]

BackgroundImage=LoadingScreen1.JPG

BackgroundImageSize=1024,768

TextFontName=Arial

TextSize=20

TextFontColor=250,250,250

TextFile=LoadingText.str

LoadingTextStringID=TXT_FLT_LOADING

PercentTextStringID=TXT_FLT_LOADING_PERCENT

ProgressBarRange=100

ProgressBarRect=204,733,820,753

StreamAudio=loading.wav

FadeTime=0.2

 

[GraphicsSettings]

ZBufferDepth=24

MaxVertexCount=16384

MaxIndexCount=32768

MaxTextureCount=4096

MaxModelType=2024

MaxMeshPerScene=4096

MaxModelPerScene=2024

MaxLightPerScene=256

AspectRatio=1.777778

MinPixelSize=1.0

 

[backgroundSceneClip]

FarClipDistance=80000.0

NearClipDistance=3000.0

 

[ForegroundSceneClip]

FarClipDistance=14000.0

NearClipDistance=0.45

 

[insideSceneClip]

FarClipDistance=250.0

NearClipDistance=0.01

 

[FarSceneClip]

FarClipDistance=120000.0

NearClipDistance=3000.0

 

[NormalSceneClip]

FarClipDistance=50000.0

NearClipDistance=249.9

 

[NearSceneClip]

FarClipDistance=250.0

NearClipDistance=1.2

 

[LowDetailOption]

HorizonDistance=30000.0

DetailMeshSize=2

DetailLevel=0

WaterEffect=0

NoiseTexture=0

MaxTextureRes=128

 

[MedDetailOption]

HorizonDistance=42000.0

DetailMeshSize=2

DetailLevel=1

WaterEffect=1

NoiseTexture=0

MaxTextureRes=256

 

[HighDetailOption]

HorizonDistance=50000.0

DetailMeshSize=15

DetailLevel=2

WaterEffect=2

NoiseTexture=1

MaxTextureRes=512

 

[unlimitedDetailOption]

HorizonDistance=62000.0

DetailMeshSize=16

DetailLevel=2

WaterEffect=2

NoiseTexture=1

MaxTextureRes=-1

 

[soundSettings]

SampleFrequency=44100

BitsPerSample=16

DopplerFactor=1.0

 

[WorldSettings]

SectorWidth=20

SectorHeight=20

SectorMaxObject=256

Border=80000.0

MinHeight=1.0

MaxHeight=35000.0

 

[MapSettings]

MapMaxSize=200000

MapMinSize=20000

MapInitSize=100000

MapScaleRate=5.0

ZoomControl=CAMERA_ZOOM_CONTROL

 

[screenShot]

FilenameFormat=img%05d.JPG

MaxScreenShot=99999

SoundEffect=shutter.wav

 

[TextStrings]

GamePaused=TXT_FLT_GAME_PAUSED

GameUnpaused=TXT_FLT_GAME_UNPAUSED

TimeCompress=TXT_FLT_TIME_COMPRESS

NormalTime=TXT_FLT_NORMAL_TIME

TimeSet=TXT_FLT_TIME_SET

StartFlight=TXT_FLT_START_FLIGHT

WaitJoin=TXT_FLT_WAIT_JOIN

 

[skipToNext]

Timer=3.0

FadeTimer=1.0

SkipToNextView=FlybyView

AutoPilotCommand=AUTO_PILOT

 

[startView]

StartView000=ShoulderView

StartView001=CockpitFront

 

[inFlightChat]

TargetText=ChatTarget.str

RepeatDelay=0.5

RepeatRate=0.1

CursorFlashTime=0.4

CursorString=|

 

:bye:

 

 

 

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  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..