[Help!] Objects not becoming higher quality until VERY close

Making or wanting help making your own asset? Check in here
Post Reply
OkitaMakoto
Retired PR Developer
Posts: 9368
Joined: 2006-05-25 20:57

[Help!] Objects not becoming higher quality until VERY close

Post by OkitaMakoto »

Hi,
This is a question relating specifically to my Mogadishu map I have been making. I have had this problem for some time and have tried everything I can think of... render minculldistance 5000 works in the editor, but not outside the editor... view distance, etc. EVERYTHING I CAN THINK OF. :(

I finally got the grass to render farther out and it looks superb. However, buildings and statics do the following:

1. Buildings are looking really blocky from far away. I know this is meant to happen to an extent, but it is pretty extreme, AND they stay like this until you are really really close. Maybe 30 meters out, they change to a bit better,t hen like 20 meters away, they get to their best LOD(I think thats what hey are called[textures and polygon count])

2. Smaller statics like cars, shop stalls, and various city objects are NOT rendering AT ALL until you are maybe 50 meters from them (these numbers are rough estimates).

3. Ground Textures do not change from the default desert ground until you are fairly close to them. Arent they supposed to look like their actual texture, but less detailed, when you are far away?

I think these are related to maybe one setting, but I dont know. I have tried everything I can think of. Could it just be that it does this because there are so many objects on screen? In the map? I dont know...

Help?
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Post by Rhino »

hummm, cant help you never had or known any one have this problem before...

try post over on the bfeditor forums, some one over there may have had an issue like this.

with your ground textuers, you can change that in the gernal options, go into the terrain editor, go to the textuer tool, then above where u define your layers is a little general tab, click that and in the tweaker u can change stuff like render distances etc :)
Image
OkitaMakoto
Retired PR Developer
Posts: 9368
Joined: 2006-05-25 20:57

Post by OkitaMakoto »

[R-DEV]Rhino wrote:hummm, cant help you never had or known any one have this problem before...

try post over on the bfeditor forums, some one over there may have had an issue like this.

with your ground textures, you can change that in the gernal options, go into the terrain editor, go to the textuer tool, then above where u define your layers is a little general tab, click that and in the tweaker u can change stuff like render distances etc :)
Great, thanks Rhino for the textures part. At least that'll get fixed now.
From what I kind of gathered, some players said they didnt notice what I was talking about... maybe they just didnt know what to look for. Ill try to get screens. Maybe its only on high settings in a big city where the graphics card will be pushed to its limit? idk. Just guesses.

Regardless,
Thanks Rhino,
Okita
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Post by Rhino »

probaly whats happened is you have played with some permets of the map seeing what they did, and fecked up afew things, common with new mappers :p
Image
OkitaMakoto
Retired PR Developer
Posts: 9368
Joined: 2006-05-25 20:57

Post by OkitaMakoto »

[R-DEV]Rhino wrote:probaly whats happened is you have played with some permets of the map seeing what they did, and fecked up afew things, common with new mappers :p
Not good. :( Okita new mapper. :( Okita make mistake.

You mean things like render minculldistance (Insert Number) or whatever and stuff in the top right in the editor?

Is there a place where these are stored in like, the init file or something? Somewhere I can refer to another map and get them to defaults? :(

:'(
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Post by Rhino »

not in the conceal no cos most of thous commands will only be temporary.

just like file settings etc, or it could be your gfx card i really cant tell without more info /pics/videos of whats going on...
Image
OkitaMakoto
Retired PR Developer
Posts: 9368
Joined: 2006-05-25 20:57

Post by OkitaMakoto »

[R-DEV]Rhino wrote:not in the conceal no cos most of thous commands will only be temporary.

just like file settings etc, or it could be your gfx card i really cant tell without more info /pics/videos of whats going on...
I'll get something put together for you right now rhino. But, take your time in looking at it. I really appreciate your comments.
OkitaMakoto
Retired PR Developer
Posts: 9368
Joined: 2006-05-25 20:57

Post by OkitaMakoto »

http://files.filefront.com/Mogadishu2wmv/;8458292;/fileinfo.html

Here you go Rhino. Skip ahead to 20 seconds if you want and on the right of the screen, while the camera pans around the Target Building, is a pink roofed house. it stays on the right of the screen during the entire pan. You can see it change models 3 times I think. All within a matter of 10~20 meters. I hope that explains a bit more about what I am talking about.

As much as I dont like it, I am sure it is GREATLY helping everyones FPS in game. :)
El_Vikingo
Posts: 4877
Joined: 2006-11-27 01:50

Post by El_Vikingo »

The creator of Al Basrah, should know as one of the trees suddenly aapears when you get close to it.
Image

If you are reading this dont stop, cause if you do, I'll kick you in the balls.
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Post by Rhino »

can you post your init.con file up here please.
Image
OkitaMakoto
Retired PR Developer
Posts: 9368
Joined: 2006-05-25 20:57

Post by OkitaMakoto »

rem *** Generated by BF2Editor ***
if v_arg1 == BF2Editor

run Heightdata.con
LevelSettings.InitWorld
run Terrain.con BF2Editor
run StaticObjects.con BF2Editor
run Sounds.con
run Sky.con BF2Editor
run Editor/GamePlayObjects.con host
UndergrowthEditable.create
Undergrowth.load Levels\Black_Hawk_Down\
run Overgrowth/Overgrowth.con
Overgrowth.editorEnable 1
run AmbientObjects.con BF2Editor
run Water.con
run TriggerableTemplates.con BF2Editor

else

run Heightdata.con
run Terrain.con v_arg2
run Sky.con v_arg2
run CompiledRoads.con
run Sounds.con
run tmp.con v_arg1
Undergrowth.load Levels\Black_Hawk_Down\
run Overgrowth/Overgrowth.con
run Overgrowth/OvergrowthCollision.con
run AmbientObjects.con
run Water.con
run TriggerableTemplates.con
run ../../objects/common/spawners/spawners_meinsurgent.con
run ../../objects/common/spawners/spawners_us.con
run ../../objects/common/spawners/spawners_common.con

endIf

rem USMC VERSUS INSURGENTS NON URBAN STANDARD
rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

gameLogic.setTeamName 1 "MEInsurgent"
gameLogic.setTeamName 2 "US"

gameLogic.setTeamLanguage 1 "MEC"
gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_in"
gameLogic.setTeamFlag 2 "flag_us"

gameLogic.setKit 1 0 "meinsurgent_civilian" "meinsurgent_civilian_body"
gameLogic.setKit 2 0 "us_Specops" "us_light_soldier"

gameLogic.setKit 1 1 "MEInsurgent_insurgent" "meinsurgent_soldier"
gameLogic.setKit 2 1 "us_Rifleman" "us_heavy_soldier"

gameLogic.setKit 1 2 "MEInsurgent_ambusher" "meinsurgent_heavy_soldier"
gameLogic.setKit 2 2 "us_Engineer" "us_heavywhite_soldier"

gameLogic.setKit 1 3 "MEInsurgent_warveteran" "meinsurgent_medium_soldier"
gameLogic.setKit 2 3 "us_Medic" "us_lightarmor_soldier"

gameLogic.setKit 1 4 "" ""
gameLogic.setKit 2 4 "" ""

gameLogic.setKit 1 5 "" ""
gameLogic.setKit 2 5 "" ""

gameLogic.setKit 1 6 "" ""
gameLogic.setKit 2 6 "" ""

rem -----------------------------------------------------------------------------

gameLogic.setBeforeSpawnCamera -18/89/375 -38/41/0

if v_arg1 == BF2Editor
LevelSettings.CustomTextureSuffix ""
else
texturemanager.customTextureSuffix ""
endIf
rem -----------------------------------------------------------------------------

GameLogic.MaximumLevelViewDistance 1000

rem -----------------------------------------------------------------------------

gameLogic.setDefaultNumberOfTicketsEx 16 1 50
gameLogic.setDefaultNumberOfTicketsEx 16 2 50
gameLogic.setDefaultNumberOfTicketsEx 32 1 50
gameLogic.setDefaultNumberOfTicketsEx 32 2 50
gameLogic.setDefaultNumberOfTicketsEx 64 1 400
gameLogic.setDefaultNumberOfTicketsEx 64 2 400
gameLogic.setDefaultNumberOfTicketsEx 128 1 50
gameLogic.setDefaultNumberOfTicketsEx 128 2 50
gameLogic.setDefaultTimeToNextAIWave 8
gameLogic.setTicketLossAtEndPerMin 1000
gameLogic.setTicketLossPerMin 1 10
gameLogic.setTicketLossPerMin 2 10

rem -----------------------------------------------------------------------------

rem -----------------------------------------------------------------------------

renderer.globalStaticMeshLodDistanceScale 5
renderer.globalBundleMeshLodDistanceScale 5
renderer.globalSkinnedMeshLodDistanceScale 5
ok, i know you might say something about the last numbers, but I did that as a test to try and get it to work correctly. However... if you know something I dont... let me know :) i just read about those three numbers on a thread elsewhere and it said to keep increasing it... but... maybe theres a max number?

I appreciate it as always,
Okita

ps take your time.
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Post by Rhino »

rem *** Generated by BF2Editor ***
if v_arg1 == BF2Editor

run Heightdata.con
LevelSettings.InitWorld
run Terrain.con BF2Editor
run StaticObjects.con BF2Editor
run Sounds.con
run Sky.con BF2Editor
run Editor/GamePlayObjects.con host
UndergrowthEditable.create
Undergrowth.load Levels\Black_Hawk_Down\
run Overgrowth/Overgrowth.con
Overgrowth.editorEnable 1
run AmbientObjects.con BF2Editor
run Water.con
run TriggerableTemplates.con BF2Editor

else

run Heightdata.con
run Terrain.con v_arg2
run Sky.con v_arg2
run CompiledRoads.con
run Sounds.con
run tmp.con v_arg1
Undergrowth.load Levels\Black_Hawk_Down\
run Overgrowth/Overgrowth.con
run Overgrowth/OvergrowthCollision.con
run AmbientObjects.con
run Water.con
run TriggerableTemplates.con
run ../../objects/common/spawners/spawners_meinsurgent.con
run ../../objects/common/spawners/spawners_us.con
run ../../objects/common/spawners/spawners_common.con

endIf

rem USMC VERSUS INSURGENTS NON URBAN STANDARD
rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

gameLogic.setTeamName 1 "MEInsurgent"
gameLogic.setTeamName 2 "US"

gameLogic.setTeamLanguage 1 "MEC"
gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_in"
gameLogic.setTeamFlag 2 "flag_us"

gameLogic.setKit 1 0 "meinsurgent_civilian" "meinsurgent_civilian_body"
gameLogic.setKit 2 0 "us_Specops" "us_light_soldier"

gameLogic.setKit 1 1 "MEInsurgent_insurgent" "meinsurgent_soldier"
gameLogic.setKit 2 1 "us_Rifleman" "us_heavy_soldier"

gameLogic.setKit 1 2 "MEInsurgent_ambusher" "meinsurgent_heavy_soldier"
gameLogic.setKit 2 2 "us_Engineer" "us_heavywhite_soldier"

gameLogic.setKit 1 3 "MEInsurgent_warveteran" "meinsurgent_medium_soldier"
gameLogic.setKit 2 3 "us_Medic" "us_lightarmor_soldier"

gameLogic.setKit 1 4 "" ""
gameLogic.setKit 2 4 "" ""

gameLogic.setKit 1 5 "" ""
gameLogic.setKit 2 5 "" ""

gameLogic.setKit 1 6 "" ""
gameLogic.setKit 2 6 "" ""

rem -----------------------------------------------------------------------------

gameLogic.setBeforeSpawnCamera -18/89/375 -38/41/0

if v_arg1 == BF2Editor
LevelSettings.CustomTextureSuffix ""
else
texturemanager.customTextureSuffix ""
endIf
rem -----------------------------------------------------------------------------

GameLogic.MaximumLevelViewDistance 1000

rem -----------------------------------------------------------------------------

gameLogic.setDefaultNumberOfTicketsEx 16 1 50
gameLogic.setDefaultNumberOfTicketsEx 16 2 50
gameLogic.setDefaultNumberOfTicketsEx 32 1 50
gameLogic.setDefaultNumberOfTicketsEx 32 2 50
gameLogic.setDefaultNumberOfTicketsEx 64 1 400
gameLogic.setDefaultNumberOfTicketsEx 64 2 400
gameLogic.setDefaultNumberOfTicketsEx 128 1 50
gameLogic.setDefaultNumberOfTicketsEx 128 2 50
gameLogic.setDefaultTimeToNextAIWave 8
gameLogic.setTicketLossAtEndPerMin 1000
gameLogic.setTicketLossPerMin 1 10
gameLogic.setTicketLossPerMin 2 10

rem -----------------------------------------------------------------------------

rem -----------------------------------------------------------------------------

renderer.globalStaticMeshLodDistanceScale 1
renderer.globalBundleMeshLodDistanceScale 1
renderer.globalSkinnedMeshLodDistanceScale 1
that should fix it.
Image
OkitaMakoto
Retired PR Developer
Posts: 9368
Joined: 2006-05-25 20:57

Post by OkitaMakoto »

Hmm.. didnt seem to change anything.

Small market stalls still dont even become visible until you are about 60~100 meters away or closer...

However, i redid the lightmaps and statics no longer look dark far away and brighter up close...

Sorry to be so much trouble...I cant believe this hasnt happened before... I mean, I have found NO info on it.
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Post by Rhino »

post your sky.con up plz.
Image
OkitaMakoto
Retired PR Developer
Posts: 9368
Joined: 2006-05-25 20:57

Post by OkitaMakoto »

Theres gonna be something embarrassingly wrong with it...
Lightmanager.init
Lightmanager.skycolor 0.4/0.55/0.7
Lightmanager.ambientcolor 0.8/0.94902/0.94902
Lightmanager.sunColor 1.25/1.15/0.85
Lightmanager.sunSpecColor 0.67451/0.67451/0.615686
if v_arg1 == BF2Editor
LightSettings.TerrainSunColor 1.46/1.35/1.12
LightSettings.TerrainSkyColor 0.47/0.60/0.67
LightmapSettings.waterSunIntensity 0.8
else
terrain.sunColor 1.46/1.35/1.12
terrain.GIColor 0.47/0.60/0.67
terrain.waterSunIntensity 0.8
endIf
Lightmanager.staticSunColor 0.93/0.86/0.61
Lightmanager.staticSpecularColor 0.91/0.89/0.85
Lightmanager.staticSkyColor 0.27/0.36/0.39
Lightmanager.singlePointColor 0.30/0.30/0.30
Lightmanager.sunDirection -0.532697/-0.673409/-0.512595
Lightmanager.enableSun 1
Lightmanager.effectSunColor 0.92/0.91/0.84
Lightmanager.effectShadowColor 0.20/0.26/0.31
Lightmanager.defaultEffectLightAffectionFactor 1
Lightmanager.hemilerpbias 0.25
hemiMapManager.setBaseHemiMap Levels/Black_Hawk_Down/groundhemi 0.000000/0.000000/0.000000 2048.000000 500.000000
Lightmanager.treeAmbientColor 0.46/0.51/0.30
Lightmanager.treeSunColor 0.89/0.87/0.65
Lightmanager.treeSkyColor 0.58/0.64/0.77

if v_arg1 == BF2Editor
else
run /Common/Sky/SkyDome/skydome.con
run /Common/Sky/Flare/flaresprite.con
endIf

Skydome.skyTemplate skydome
Skydome.cloudTemplate cloudlayer
Skydome.hasCloudLayer 0
Skydome.hasCloudLayer2 0
Skydome.scrolldirection 0.003/0.003
Skydome.scrolldirection2 -1/-1
Skydome.cloudTexture common\textures\cloud\Cloud02
Skydome.cloudTexture2
Skydome.skyTexture common\textures\sky\SkyClear02
Skydome.domeRotation 180
Skydome.fadeCloudsDistances 1000/1100
Skydome.cloudLerpFactors 0.1/0.5
Skydome.flareTexture common\textures\sunflare\Sunglow_32bit_Star
Skydome.flareDirection -0.52/-0.68/-0.52

Renderer.fogColor 225.00/196.00/128.00
Renderer.fogStartEndAndBase 0.00/600.00/0.25/0.50
Post Reply

Return to “PR:BF2 Community Modding”