- Messages
- 310
- Country
Hi again Arno!
A frustrating problem with a model using both the latest development release and an older 'it always works' version;
My latest revision of an older model imports fine into MCX (using .jpg textures), but will not export as .mdl, or .bgl. I get a zero bit file as the result. It will however export as a .x file, and that file can be imported successfully back into MCX. It just will not export as .mdl or bgl.
The model is more complex now, but it's not the most complex one I've done. Twenty plus draw calls and 18,000 vertices.
I tried hiding parts of the model bit in Sketchup, then exporting with 'export hidden geometry' unchecked. When I finally had most all the model hidden I got a successful .mdl export, however even a very simple hull structure would not export.
As a check, another more complex model exported fine with the latest development release. And the original of this model exported properly.
I'm not sure what to try next! It seems like it must be something with the model, but I've checked everything I can think of!
Any suggestions from you or others will be immensely appreciated.
Larry
Here's an error log from one text where I successfully imported a .x file having successfully exported it from the Sketchup generated .dae file.
4:10 PM XReader Information Starting reading of file C:\Users\Larry\Desktop\temp textures\hiyu test as x.x
4:10 PM XReader Information Finished reading objects
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_3.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_side_30.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_hiyu_top.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_inner_side.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_end_37.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_2.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_tunnel_sides.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_0.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_1.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_railing.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_radar_base.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_crane_and_boat.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_life_raft2.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_cables1_28.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_ferry_horn.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_antenna.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_side_34.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_life_ring1.dds
4:10 PM MDLXWriter Information Starting writing of file C:\Users\Larry\Desktop\temp textures\hiyu test.MDL
4:10 PM MDLXReader Information Starting reading of file C:\Users\Larry\Desktop\temp textures\hiyu test.mdl
4:10 PM MDLXReader Information Finished reading objects
4:10 PM XWriter Information Starting writing of file C:\Users\Larry\Desktop\temp textures\hiyu test.x
4:10 PM XWriter Information Finished writing of file C:\Users\Larry\Desktop\temp textures\hiyu test.x
4:10 PM XtoMDL Information OutputFile: C:\Users\Larry\Desktop\temp textures\hiyu test.MDL
4:10 PM XtoMDL Information Output file after modification: C:\Users\Larry\Desktop\temp textures\hiyu test.MDL
4:10 PM XtoMDL Information Creating output MDL file: C:\Users\Larry\Desktop\temp textures\hiyu test.MDL
4:10 PM XtoMDL Information error : Error loading .X file: (C:\Users\Larry\Desktop\temp textures\hiyu test.x). Is it a valid FLIGHT SIMULATOR '.X' file?
4:10 PM XtoMDL Information (0): error : XToMdl.exe Unhandled Application Exception
4:10 PM XtoMDL Information (0): error : Error in the application.
4:10 PM XtoMDL Information (0): error : -2005531760 (Unknown)
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.XFileLoader.LoadFromModelFile(ModelFile FileInfo)
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelFile.LoadFromXFile()
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.LoadAllFileData()
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.Process(ModelFile[] InputFiles, Hashtable[] AnimationLinkage, String[] AnimationFileRef, XPartDict PartDictionary)
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
4:10 PM XtoMDL Information (0): error :
4:10 PM XtoMDL Information (0): error : Error in the application.
4:10 PM XtoMDL Information (0): error :
4:10 PM XtoMDL Information (0): error : Stack Trace:
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.XFileLoader.LoadFromModelFile(ModelFile FileInfo)
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelFile.LoadFromXFile()
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.LoadAllFileData()
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.Process(ModelFile[] InputFiles, Hashtable[] AnimationLinkage, String[] AnimationFileRef, XPartDict PartDictionary)
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
4:10 PM MDLXWriter Information Finished writing of file C:\Users\Larry\Desktop\temp textures\hiyu test.MDL
A frustrating problem with a model using both the latest development release and an older 'it always works' version;
My latest revision of an older model imports fine into MCX (using .jpg textures), but will not export as .mdl, or .bgl. I get a zero bit file as the result. It will however export as a .x file, and that file can be imported successfully back into MCX. It just will not export as .mdl or bgl.
The model is more complex now, but it's not the most complex one I've done. Twenty plus draw calls and 18,000 vertices.
I tried hiding parts of the model bit in Sketchup, then exporting with 'export hidden geometry' unchecked. When I finally had most all the model hidden I got a successful .mdl export, however even a very simple hull structure would not export.
As a check, another more complex model exported fine with the latest development release. And the original of this model exported properly.
I'm not sure what to try next! It seems like it must be something with the model, but I've checked everything I can think of!
Any suggestions from you or others will be immensely appreciated.
Larry
Here's an error log from one text where I successfully imported a .x file having successfully exported it from the Sketchup generated .dae file.
4:10 PM XReader Information Starting reading of file C:\Users\Larry\Desktop\temp textures\hiyu test as x.x
4:10 PM XReader Information Finished reading objects
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_3.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_side_30.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_hiyu_top.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_inner_side.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_end_37.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_2.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_tunnel_sides.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_0.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_1.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_railing.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_radar_base.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_crane_and_boat.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_life_raft2.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_cables1_28.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_ferry_horn.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_antenna.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_side_34.dds
4:10 PM ObjectRenderer Information Loaded texture: C:\Users\Larry\Desktop\temp textures\hiyu test_life_ring1.dds
4:10 PM MDLXWriter Information Starting writing of file C:\Users\Larry\Desktop\temp textures\hiyu test.MDL
4:10 PM MDLXReader Information Starting reading of file C:\Users\Larry\Desktop\temp textures\hiyu test.mdl
4:10 PM MDLXReader Information Finished reading objects
4:10 PM XWriter Information Starting writing of file C:\Users\Larry\Desktop\temp textures\hiyu test.x
4:10 PM XWriter Information Finished writing of file C:\Users\Larry\Desktop\temp textures\hiyu test.x
4:10 PM XtoMDL Information OutputFile: C:\Users\Larry\Desktop\temp textures\hiyu test.MDL
4:10 PM XtoMDL Information Output file after modification: C:\Users\Larry\Desktop\temp textures\hiyu test.MDL
4:10 PM XtoMDL Information Creating output MDL file: C:\Users\Larry\Desktop\temp textures\hiyu test.MDL
4:10 PM XtoMDL Information error : Error loading .X file: (C:\Users\Larry\Desktop\temp textures\hiyu test.x). Is it a valid FLIGHT SIMULATOR '.X' file?
4:10 PM XtoMDL Information (0): error : XToMdl.exe Unhandled Application Exception
4:10 PM XtoMDL Information (0): error : Error in the application.
4:10 PM XtoMDL Information (0): error : -2005531760 (Unknown)
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.XFileLoader.LoadFromModelFile(ModelFile FileInfo)
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelFile.LoadFromXFile()
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.LoadAllFileData()
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.Process(ModelFile[] InputFiles, Hashtable[] AnimationLinkage, String[] AnimationFileRef, XPartDict PartDictionary)
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
4:10 PM XtoMDL Information (0): error :
4:10 PM XtoMDL Information (0): error : Error in the application.
4:10 PM XtoMDL Information (0): error :
4:10 PM XtoMDL Information (0): error : Stack Trace:
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.XFileLoader.LoadFromModelFile(ModelFile FileInfo)
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelFile.LoadFromXFile()
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.LoadAllFileData()
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.Process(ModelFile[] InputFiles, Hashtable[] AnimationLinkage, String[] AnimationFileRef, XPartDict PartDictionary)
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
4:10 PM XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
4:10 PM MDLXWriter Information Finished writing of file C:\Users\Larry\Desktop\temp textures\hiyu test.MDL