FSDeveloper Community

Go Back   FSDeveloper Community > Microsoft Flight Simulator development > Scenery Design - 3D Objects > 3D Objects General

3D Objects General Use this forum to discuss 3D objects related questions that do not fit in any of the other categories about specific tools.

Reply
 
Thread Tools Display Modes
  #1  
Old 07 Oct 2005, 13:21
JonPatch's Avatar
JonPatch JonPatch is offline
  ca-britishcolumbia
Location: Victoria, Canada
Join Date: Dec 2004
Posts: 431
Generic buildings: large texture numbers - Airport buildings

Folks,

I decompiled the ob9namw(n). bgls to recreate some airport buildings and found many textures numbers outside the range documented in the SDK:bottom textures of 88 and 110, and window textures of 86 and 89, for example. These in particular are useful for airport buildings.

Examining further it appears that bottom/top textures are available from 86-120 (even numbers only as usual) and window textures 85-102 are available. There are additional roof textures up to #37. In general they are intended to be used as bottom only, or bottom + window.

Bglcomp will flag as an error any numbers larger than these, but will accept and compile the rest. They display fine in FS9.

Are these documented somewhere? Arno, can we have ObPlacer access these? Is there any risk involved?

Jon

Last edited by JonPatch; 07 Oct 2005 at 15:54.
Reply With Quote
  #2  
Old 08 Oct 2005, 05:38
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,934
Send a message via Skype™ to arno
Hi Jon,

Good find. It should certainly be possible to add them to ObPlacer XML as well. The only problem is that I need to know which texture belongs to which number (to generate the display correctly). So it looks like we would have to create that texture list by trying all combinations.
__________________
Arno
If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper Administrator | Former Microsoft FS MVP
Quick links: My tools | Wiki | Download center | Blog
Reply With Quote
  #3  
Old 08 Oct 2005, 12:19
JonPatch's Avatar
JonPatch JonPatch is offline
  ca-britishcolumbia
Location: Victoria, Canada
Join Date: Dec 2004
Posts: 431
Hi Arno,

I have an XML file which displays buildings with all combinations. There are only 17 or so.

Jon
Reply With Quote
  #4  
Old 08 Oct 2005, 13:17
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,934
Send a message via Skype™ to arno
OK, let see if I can find the texture names when I evaluate these objects. I guess that should be possible.
__________________
Arno
If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper Administrator | Former Microsoft FS MVP
Quick links: My tools | Wiki | Download center | Blog
Reply With Quote
  #5  
Old 28 Feb 2006, 17:06
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,934
Send a message via Skype™ to arno
Hi Jon,

I am bumping this old thread a bit. Today I finally found some time to look at these extra textures for the GenericBuildings again.

I have added the new roof textures to ObPlacer XML already, that was no problem. But for the windows, bottom and top textures I can't figure out what the mapping of them on the building is. I see rather strange things happening with them and it seems that each number has a given slide of the texture associated to itself. But I couldn't not really find the logic.

For example when applying number 85 as window texture, the mapping was different on different sides of the building. So for the moment I can't find the logic in that. Maybe if I examine the code of some of these buildings in the generic scenery that I can understand it better. Will keep you informed.
__________________
Arno
If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper Administrator | Former Microsoft FS MVP
Quick links: My tools | Wiki | Download center | Blog
Reply With Quote
  #6  
Old 03 Mar 2006, 15:29
JonPatch's Avatar
JonPatch JonPatch is offline
  ca-britishcolumbia
Location: Victoria, Canada
Join Date: Dec 2004
Posts: 431
Alrighty, Arno, thanks for remembering this. The problem you are noting is quite curious. I created a full set of test airport buildings using all the undocumented textures without a problem that I can recall. I think I sent you that at some point, it was called texture_test.BGL.

Jon
Reply With Quote
  #7  
Old 03 Mar 2006, 16:08
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,934
Send a message via Skype™ to arno
Yes, I do have your testfile here as well. But I just tried to make a few objects of my own as well and saw really strange things. I am thinking they are only supposed to be used in certain combinations or so. Hopefully I will understand the mapping logic someday .
__________________
Arno
If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper Administrator | Former Microsoft FS MVP
Quick links: My tools | Wiki | Download center | Blog
Reply With Quote
  #8  
Old 03 Mar 2006, 16:17
JonPatch's Avatar
JonPatch JonPatch is offline
  ca-britishcolumbia
Location: Victoria, Canada
Join Date: Dec 2004
Posts: 431
Gotcha.

And it looks like I archived that test file. When you get a moment would you be willing to email it back?

Thx for being my offsite backup.

Jon
Reply With Quote
  #9  
Old 11 Mar 2007, 15:45
Helli's Avatar
Helli Helli is offline
  germany
Join Date: Jun 2006
Posts: 1,614
Sorry that I am reviving an old thread.

Lately I have not seen very many posts on this subject here.
I wonder, if Arno has continued his research of usable and meaningful combinations of generic buildings and their various parameters.

Of course I have tried them with the fantastic capability of "OBPlacer_XML".
But since there are so many variations - and beeing a fundamentally lazy person - I hesitate to untertake the immense task to list and fotograf them all for intelligent use in scenery design.

Is such a list or description available somewhere?

With kind regards

Helli
Reply With Quote
  #10  
Old 12 Mar 2007, 14:02
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,934
Send a message via Skype™ to arno
Hi Helli,

Unfortunately this one is still on my todo list, finding out how the numbers correspond to texture mappings proved to take more time then I had at that moment. But if anybody has found out part of it, let me know and I will try to update the tool with it.
__________________
Arno
If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper Administrator | Former Microsoft FS MVP
Quick links: My tools | Wiki | Download center | Blog
Reply With Quote
  #11  
Old 12 Mar 2007, 16:52
Helli's Avatar
Helli Helli is offline
  germany
Join Date: Jun 2006
Posts: 1,614
Thanks Arno.

well, as a "nothing doer" I have the time, but I am lazy, in particular when the sun is shining in the moutains.

I might have a crack at it, let' see.
If I got a list I'll paas it on to you

Helli
Reply With Quote
  #12  
Old 12 Mar 2007, 18:17
lc0277 lc0277 is offline
  france
Location: Paris, France
Join Date: Sep 2006
Posts: 156
Send a message via ICQ to lc0277 Send a message via AIM to lc0277 Send a message via MSN to lc0277 Send a message via Yahoo to lc0277
I semi-automatically extracted a generic buildings texture list for FSX, see the attached text file.
If someone could confirm new or high texture numbers, then I will post it in a more fashionable format (xls or wiki)
Attached Files
File Type: txt all.txt (31.5 KB, 307 views)
__________________

The prospect of charging money for software was a crime against humanity.
-- Richard M. Stallman, 1979
Reply With Quote
  #13  
Old 12 Mar 2007, 20:21
DougMatthews DougMatthews is offline
  us-washington
Location: Woodinville, WA
Join Date: Oct 2006
Posts: 290
Quote:
Originally Posted by arno View Post
Hi Jon,

I am bumping this old thread a bit. Today I finally found some time to look at these extra textures for the GenericBuildings again.

I have added the new roof textures to ObPlacer XML already, that was no problem. But for the windows, bottom and top textures I can't figure out what the mapping of them on the building is. I see rather strange things happening with them and it seems that each number has a given slide of the texture associated to itself. But I couldn't not really find the logic.

For example when applying number 85 as window texture, the mapping was different on different sides of the building. So for the moment I can't find the logic in that. Maybe if I examine the code of some of these buildings in the generic scenery that I can understand it better. Will keep you informed.
Arno, All -

Be aware that the textures you are trying to figure out have some behavioural quirks. They are special textures in that the code looks for their presence to indicate that the building should be processed differently (i.e. texturing of "ends" and gables). I have not yet gotten my head fully around it.

Window 85-102 were from FS9 (terminals, t-hangars, office, hangars) and should be considered deprecated. Window 103-119 are FSX replacements for Hangar and T-Hangar and addition of parking garage (terminal and office are not treated special in FSX default buildings).

Bottom 86-120 (even) were from FS9 (terminals, t-hangars, office, hangars)and should be considered deprecated. Bottom 122-150 (even) are FSX replacements for Hangar and T-Hangar (terminal and office are not treated special in FSX default buildings).

-Doug
Reply With Quote
  #14  
Old 13 Mar 2007, 13:54
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,934
Send a message via Skype™ to arno
Thanks Doug.

If you have seen my ObPlacer XML tool for Fs2004, you might have seen that I have sort of sorted out how to map the texture on the gables and those kind of special surfaces. Although I can not garantuee that it is exactly the same as the scenery engine will render it of course .

It only seems that the higher values Jon pointed us to, are mapped slightly different than the lower values that my tool already supports. So for that part I am still trying to fully understand the logic.

It is good to know which ranges are for Fs2004 and should not be used in FsX anymore. That kind of information will be handy when I finally have some time to update the tool .
__________________
Arno
If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper Administrator | Former Microsoft FS MVP
Quick links: My tools | Wiki | Download center | Blog
Reply With Quote
  #15  
Old 15 Mar 2007, 18:39
Helli's Avatar
Helli Helli is offline
  germany
Join Date: Jun 2006
Posts: 1,614
Hello Doug,

I have followed this discussion with much interest, since the information available to me on the use of generic buildings is pretty thin.
I use Arno's "Obplacer_XML" (with the FS9), since he has the Generic Building placement integrated in this tool, but that works only for the "lower" texture numbers.

For the "higher" texture numbers, which yield attractive results, I have composed a picture book from which I can choose the numbers to be inserted manually into the XML-file.

Still my curiousity made me search for the relevant textures in FS9, but so far I have not found them.
I understand that these high-number textures are somewhat special, but still it would be nice to have them identified.

Could you indicate, in which folder(s)/directories of FS9 they are stored?

With kind regards

Helli
Reply With Quote
  #16  
Old 16 Mar 2007, 00:06
DougMatthews DougMatthews is offline
  us-washington
Location: Woodinville, WA
Join Date: Oct 2006
Posts: 290
Quote:
Originally Posted by Helli View Post
Hello Doug,

I have followed this discussion with much interest, since the information available to me on the use of generic buildings is pretty thin.
I use Arno's "Obplacer_XML" (with the FS9), since he has the Generic Building placement integrated in this tool, but that works only for the "lower" texture numbers.

For the "higher" texture numbers, which yield attractive results, I have composed a picture book from which I can choose the numbers to be inserted manually into the XML-file.

Still my curiousity made me search for the relevant textures in FS9, but so far I have not found them.
I understand that these high-number textures are somewhat special, but still it would be nice to have them identified.

Could you indicate, in which folder(s)/directories of FS9 they are stored?

With kind regards

Helli
I don't have an FS9 installation handy. I seem to recall the files being named smallairport.bmp, mediumairport.bmp and largeairport.bmp. Try searching for these names.

-Doug

Last edited by DougMatthews; 16 Mar 2007 at 11:42. Reason: correct file names
Reply With Quote
  #17  
Old 16 Mar 2007, 04:45
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,934
Send a message via Skype™ to arno
Hi Helli,

Jon already made a list of the textures ones, I'll try if I can find it back on my PC (but currently I am not at my development PC, so it will take a few days).

So I know which texture belongs to which number, but what I was still figuring out for a ObPlacer XML update was how to map these textures on the building based on the settings you enter. That is needed to make the proper preview picture as well of course.
__________________
Arno
If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper Administrator | Former Microsoft FS MVP
Quick links: My tools | Wiki | Download center | Blog
Reply With Quote
  #18  
Old 16 Mar 2007, 11:34
JonPatch's Avatar
JonPatch JonPatch is offline
  ca-britishcolumbia
Location: Victoria, Canada
Join Date: Dec 2004
Posts: 431
The relevant textures are (in Flight Simulator 9\Texture)

LargeAirport.bmp
LargeAirport_lm.bmp
MediumAirport.bmp
MediumAirport_lm.bmp
SmallAirport.bmp
SmallAirport_lm.bmp

Jon
Reply With Quote
  #19  
Old 16 Mar 2007, 16:46
Helli's Avatar
Helli Helli is offline
  germany
Join Date: Jun 2006
Posts: 1,614
Hi, all of you!

Thanks for the information.
I started experimenting already and it looks interesting, to phrase it cautiously.
(My wife, when loosing a game of bridge - which does not happen very often -, always claims: "but it was an interesting hand").

I found out, that the texture numbers above 85 are repetitive i.e. 86=92=98=110=116 and so forth.
I'll report more of my results.

By the way, I cannot find the textures for Windows numbers 85 - 102 either.
The texture folders does in fact contain more "_w"-textures than are used for the numbers 4 - 84, but a first glance did not show any correspondence.

I'll keep trying.

Thanks again

Helli
Reply With Quote
  #20  
Old 16 Mar 2007, 16:55
JonPatch's Avatar
JonPatch JonPatch is offline
  ca-britishcolumbia
Location: Victoria, Canada
Join Date: Dec 2004
Posts: 431
Thanks for looking at this, Helli. And good memory, Doug!

Jon
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Texture Handling/Management VulcanB2 GMax and 3DS Max 9 12 Sep 2009 23:25
Other generic buildings Kim Gowney Airport Design General 6 06 Apr 2006 17:43
Using generic buildings JonPatch 3D Objects General 2 28 Feb 2005 21:15
Quick Terminal Buildings archtx General 13 30 Jan 2005 06:15


All times are GMT -4. The time now is 06:31.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.