• 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.

FS2004 First Export to FS9

Messages
502
Country
unitedstates
All,

Well for today's question - Jim I sent you an email on this same topic - if you are around... I'm fairly competent at 3D modeling - so I created a standard cross form tree shape and textured it with a modeling program called 3DCanvas/3DCrafter...

3DCanvas
TreeSample.jpg



As I understand it - MakeMDL should be able to take an input file formatted in DirectX... I exported my file in this format - loaded it into MakeMDL - selected the "Aircraft" option because I think I want the output in MDL format - right ??? MakeMDL ran without spitting any errors - I copied the resulting MDL file into my EZ Scenery directory... I then tried to open it with the Library Maker program that came with Instant Scenery 2... I'm assuming that Library Maker will take whatever files you choose and make a BGL out of them for use with Instant Scenery... When I attempt to open my MDL - I get an "Invalid File Format" error...

Am I missing anything ??? Gross conceptual error ??? Is there any kind of group naming convention needed for the input into MakeMDL ?? I did combine my two shaped into a single shape in 3DC before exporting... If I take my same model and export it to POVray - it seems to work fine...

Any suggestions ???

My DirectX output is attached... The texture referenced in this shape file is my working TGA file... I did convert it to the proper BMP when I tried to compile it...

Appreciate any help...
:)

Regards,
Scott
 

Attachments

Hey Scott, I'm just on the way out the door for a few hours so I'll look at your stuff later, but off hand I'd say the problem is you should have chosen "scenery object" instead of aircraft. You'll still get a .mdl, but in FS9 there's a difference between the two and I'm betting that's why bglcomp is giving you the invalid format error.

Jim
 
Hey Jim,

Thanks - no rush - I'll give it a shot... I was confused as Make Model was always wanting geographic coordinates to place the model... I thought I had to do something different for Instant Scenery...
:)

Regards,
Scott
 
Hi Jim,

That was it - gracias amigo...

I could have swore it would not process "Scenery" unless I populated a LAT/LON location - but - strangely enough - I seem to be getting by that now... I think I was using the old SDK for a while too...

I've now got my first model into FS9... Cool...
:)

A few issues I'm working on...

1) I made my model 45 Ft x 45 Ft... I think I need to re-size it to about half that as the tree is way too big be default...

2) The tree doesn't track the ground and is about 50% buried when I place it... I'm not sure what tells FS9 where the bottom of the model start to place it correctly...

3) I still have a shadow side which as discussed needs to be removed... I found MDL Tweaker - looking to see if that will help me...

4) I need too identify the seasonal texture change dates @ KMGJ - I'm not sure how to find them - and - then modify the model accordingly... I noticed a procedure in the Wiki - I'm just not sure how to edit the code for the shape file - ASM ???

Regards,
Scott
 
Last edited:
In Max / Gmax the Ground point is the 0,0,0 reference space.

I wonder if the directX output for your program places this at the centre of the object?
 
For the seasonal textures I don't think you have to specify dates in FS9, it's just a matter of doing the .asm tweak and naming textures with the _WI, _HW, etc extensions as near as I know. To get the .asm for tweaking there may be an option in MakeMDL's interface, if not you can add "Keep=1" under [Options] in your makeMDL.cfg and makeMDL will deposit 2 .asm files alongside the compiled model. You'll just delete that first .mdl and compile a new one from the tweaked .asm files.

Not sure but I think MDLTweaker can add the seasonal textures without the .asm tweak, if so you can do that and unify normals at the same time, otherwise I guess you'll need to tweak the .asm and compile the tweaked model with bglc_9.exe, then run MDLTweaker on the new model to unify the normals. I've only done the manual .asm tweak approach myself.

Here's the wiki article on the seasonal texture tweak:

http://www.fsdeveloper.com/wiki/index.php?title=Seasonal_textures_(ASM_tweak)



And here's a thread that should explain how to unify normals with MDLTweaker:

http://www.fsdeveloper.com/forum/showthread.php?p=155857#post155857

Not sure what's up with the trees being buried but as Ian said it sounds like the modelling program is setting the object reference point to the geometric center of the object rather than 0,0,0 at the base of your tree. If your tree is 45' tall, maybe try raising it up 22 1/2' in 3DCanvas and see what happens?

Good luck,
Jim
 
Hi "hcornea",

Yeah - that must be it... I re-sized my object to 25Ft x 25Ft - and - sure enough - I have to raise the object 12.5Ft in FS9 to make it flush with the ground... I'm pretty sure the center or pivot point is the flush with the bottom of the object in my modeling software... Maybe something is lost in translation - but - I'll go back ad check that again...

Thanks for the input...
:)

Regards,
Scott
 
Morn'n Folks,

OK - ironed out the placement issue with the trees being buried... As you mentioned - Ian right ? - my centers got shifted when I wasn't looking - LOL... Once adjusted - trees sat on top of the ground properly... Scaled the trees down to 20x20 and so now they seem sized correctly... OK - I haven't modeled anything in about a year - so I'm a little rusty...
;)

Off to look at the Unify Normals (uniform texture brightness on both sides) and Season Change tonight - with Jim's tips...

I know I ask lots of questions - but - it sure beats spending countless hours trying to re-invent the wheel... Appreciate all the help...
:)

Regards,
Scott
 
Congrats on your new Shrubbery!

Nice to be able to put a your foot step/stamp upon the virtual FS world, be it a tree, building, plane, etc.
 
Hi - thanks - it's nice when you figure something out...

I also removed the artifacts - those spurious little residual parts floating in the air in the example posted below - from the tops of the models..


artifacts.jpg



I don't know how well known it is on this side - as my modeling background is with steam locomotives for MSTS - but - this took me forever to figure out back then... So - just an OBTW - neat trick I learned that applies here... When using a texture with Alpha Channels - for some reason the bottom of the texture wraps around to the top... Only like a few pixels width or so - just enough to give you those artifacts when viewing models in a sim... The fix is to alpha out a strip - I usually use three or four pixels worth all the way across the bottom edge of a given texture... This eliminates artifacts that appear on objects mapped to the very top edge of a texture... In this case it actually took (4) pixels to clean up the issue...

With Jim's pointer - I've now got the textures the same brightness on both sides - seasons that match to the exact dates of the autogen changes at KMGJ specifically - and - how to get a face always point to the user... We make progress every day...
:)

PROBLEM:
My only outstanding tree issue - that I can think of - is HARD WINTER ??? As I learned when I went through the days of the year to record the change dates - HARD WINTER - is in the middle of WINTER... So as far as FS9 is concerned a WINTER season occurs twice - once before and once after HARD WINTER...

-WINTER
-SPRING
-SUMMER
-AUTUMN
-WINTER
-HARD WINTER

I used "MDL Tweaker II" to make my seasonal changes - only problem is - it only supports (5) Seasons a year - when I actually need (6)...

Is there anyway I can get the two winter seasons into a model to support all the seasonal shifts of autogen ???

Regards,
Scott
 
Last edited:
Hi Scott,

MDLTweaker does not support the 6 seasons as you mentioned. You would need to manually tweak the asm code I am afraid.
 
Back
Top