• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Autogen building texture

Messages
579
Country
france
hi
i don't have the level to do what you asked but instead i have questions please :) :

1- i already made my autogen textures and but i couldn't find where to edit the roof textures [attached image ( not my texture just found it in my Texture folder of P3d) : i tried to edit the part that is in bleu but i still get the default yellow roof in my scenery autogens]

2- Can you please explain to me how Scene proc SET TEXTURES assign textures ? i mean is it by tiles or 2 by 2 KM so we can assign diffrent textures each Tile

or can we tell sceneproc to assign random textures [ like LIB object we give it 2 textures and it assign randomlly ]

thnx in advance
 

Attachments

  • Capture.PNG
    Capture.PNG
    924.5 KB · Views: 2,085
Hi,

I have moved this question to the scenProc forum, as it more belongs there.

1. The roofs don't use the same texture as the walls. That was in FS2004. For FSX the roofs are actually library objects as defined in the roof description autogen configuration file. These use the textures as defined in the material autogen configuration file.

2. Autogen textures are set at the autogen tile level, so you can't set them per building. That's how the engine is designed. But with the scenProc SetAGNBuildingTexture step you can set a different texture for each tile if you want.
 
Hi,

I have moved this question to the scenProc forum, as it more belongs there.

1. The roofs don't use the same texture as the walls. That was in FS2004. For FSX the roofs are actually library objects as defined in the roof description autogen configuration file. These use the textures as defined in the material autogen configuration file.
/QUOTE]

Hi
how can i set roofs textures in sceneproc ?
 
You don't set roof textures. They are linked to the roof models that you select by the guid in the buildings you use. So to change them you need to alter the roofs in the autgen configuration.
 
Yes, you can do that. You can add new roof shapes with new textures.
 
is it a 3D model i have to o in 3DS cus just thinking of making it make it impossible as we never know how much are our buildings measures
 
Yes, it's a 3D model. The engine will scale it so that the roof fits on the size of the autogen building.
 
so i can make just a rectangle with a texture and it is up to the engine to do the reste
looks easy
 
Hey it is not easy as i thought
i found two spb files : RoofDescriptions.spb and Materials.spb
i converted to xml and looked a bit and this is what i understood
i want to ask here before i test because first i can't test until next week and i may help someone who needs how to make autogens

So what i got :
1) make a 2D rectangle in 3Ds max | or make a small house roof
2) texture it and export it as mdl and BGL
3) go and add in the RoofDescriptions.spb file in the autogen directory of your sim : a new Guid / name / texture guid ( i'll talk about this one ) and FixedUVBias ( i can't get what this is for hope some one help :) )

4) in the Materials.spb file and use the default flight sim materials as samples and make your material
and assign a new guid to it that will be used in RoofDescriptions.spb file

5) now just use the Guid in RoofDescriptions.spb and the Engine will generate the floors and hight and will scale the model you made and use your textures
this is what i have in mind
next week i'll test it
Can you @arno Plz confirme or correct me plz
i want to be ready for it
thnx in advance :)
 
Hi,

Yes, the basic workflow is correct.
  1. You make a new roof model, texture it and export to mdl and put it in a object library BGL. Make sure drawcall batching is enabled, else the roof will not show.
  2. Add the new roof entry to the RoofDescriptions configuration file. Make sure to set the model GUID to your MDL file and the material GUID to the material definition you want to use. This could be a default one or a new one you added. The FixedUVBias is optional, but it can be used to make variations of the roof that use a different part of the texture sheet, without making a new model.
Normally the roofs are also placed in groups. And these groups are in regions. Check the default autogen configuration file. Not sure if you can call the entry directly or you better call the group. I usually use the groups as that allows for some variation in the roofs.
 
hey @arno
i'm with you in the idea of groups, that will make the scenery alive
just a question : you said [ the material GUID to the material definition ] is there any Guid for the materials in the MDL file or i can just generate a random Guid
thnx in advance :)
 
The material in the mdl file is not used. If you make a new material in the material.spb file it needs a new unique guid.
 
How i can see the textures used by autogen (houses and buildings not listed on autogen.bgl) for edit to give more "south america" feeling?
 
Hi,

The generic buildings use the autogen textures that are in the global texture folder of FS. For each region there is a specific texture, so if you know which region your scenery uses you should be able to find it.

The roofs use different textures. These also differ per region.
 
If you want to change the texture it might be better to make a custom texture sheet. The SDK explains which structure that sheet should have:

 
Back
Top