FSDeveloper Community

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

ModelConverterX Use this forum for your ModelConverterX support questions

Reply
 
Thread Tools Display Modes
  #1  
Old 20 Apr 2010, 14:03
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,923
Send a message via Skype™ to arno
Drawcall minimizer finished & release candidate

Hi,

I have just committed a new development release, the most important function in this new version is that I have finished the drawcall minimizer. The minimizer should not also work correctly with night textures and other sub textures.

I have tried to test all functions, but I had to change quite some code to get the minimizer working as I wanted. So hopefully I have not introduced too many bugs in this new version. If you find any issues please let me know.

With this function added I have finished my plans for the ModelConverterX 1.2 release. So you can see the development release that will be available from tomorrow as a sort of a release candidate for the next stable release. After some more testing and some final bug fixes I hope to have the stable release ready before the end of the month.
__________________
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
  #2  
Old 20 Apr 2010, 20:27
gary20 gary20 is offline
  canada
Location: Calgary
Join Date: Sep 2008
Posts: 41
Awesome Arno

Thank you for such an incredible program

Gary
Reply With Quote
  #3  
Old 23 Apr 2010, 13:27
gsnde's Avatar
gsnde gsnde is offline
  germany
Location: Southwest Germany
Join Date: Mar 2005
Posts: 2,686
Hi Arno,

Will that also include a fix for the FS9 animation export?
__________________
Cheers,
Martin

__________________________________________________ ______________________________________________
The Owl's Nest * Military Aircraft Reference * ICAO Reference * Distance Calculator * MAIW, Military AI & UKMil Reference
Reply With Quote
  #4  
Old 23 Apr 2010, 14:26
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,923
Send a message via Skype™ to arno
Hi Martin,

I am not yet sure about that, could be I will keep that for the next version. Unless I can find it easily. Problem is that I only have FSX here, so I can't even fully test the FS2004 animations in FS2004. I have to thrust that if they work in FSX they should also in FS2004.
__________________
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 23 Apr 2010, 16:03
gsnde's Avatar
gsnde gsnde is offline
  germany
Location: Southwest Germany
Join Date: Mar 2005
Posts: 2,686
By the way - I checked the current version for the rotation animation. The animated parts (which were invisible during the tests with one of the last releases) are now visible again. But the are positioned on ground level instead of where they should be and they do not rotate.
__________________
Cheers,
Martin

__________________________________________________ ______________________________________________
The Owl's Nest * Military Aircraft Reference * ICAO Reference * Distance Calculator * MAIW, Military AI & UKMil Reference
Reply With Quote
  #6  
Old 24 Apr 2010, 04:13
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,923
Send a message via Skype™ to arno
OK, I'll take a look today and see if I can find something.
__________________
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
  #7  
Old 24 Apr 2010, 10:15
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,923
Send a message via Skype™ to arno
Hi Martin,

I got the animations to work better now. This will be in the next development release. I still have some parts that are displaced, not sure yet how to fix that.
__________________
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 24 Apr 2010, 10:21
gsnde's Avatar
gsnde gsnde is offline
  germany
Location: Southwest Germany
Join Date: Mar 2005
Posts: 2,686
I am jumping to test that, Arno
__________________
Cheers,
Martin

__________________________________________________ ______________________________________________
The Owl's Nest * Military Aircraft Reference * ICAO Reference * Distance Calculator * MAIW, Military AI & UKMil Reference
Reply With Quote
  #9  
Old 24 Apr 2010, 10:43
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,923
Send a message via Skype™ to arno
Hi Martin,

I have also fixed the offset issue now I think (or I hope ).

Let me take a look at your API in FS2004 and then I will make a new development release right away.
__________________
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
  #10  
Old 24 Apr 2010, 12:02
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,923
Send a message via Skype™ to arno
The new development release with the FS2004 animations is available from now.
__________________
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 24 Apr 2010, 13:07
gsnde's Avatar
gsnde gsnde is offline
  germany
Location: Southwest Germany
Join Date: Mar 2005
Posts: 2,686
You did it, Arno!

Radar rotates, all elements where they belong, gorgeous looking. Thank you
__________________
Cheers,
Martin

__________________________________________________ ______________________________________________
The Owl's Nest * Military Aircraft Reference * ICAO Reference * Distance Calculator * MAIW, Military AI & UKMil Reference
Reply With Quote
  #12  
Old 24 Apr 2010, 13:41
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,923
Send a message via Skype™ to arno
Glad to hear it is working for you .
__________________
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
  #13  
Old 24 Apr 2010, 19:30
scott967 scott967 is offline
  us-hawaii
Location: PHHI-Hawaii
Join Date: Feb 2005
Posts: 1,265
Arno, what would be a good way to test the draw call minimizer?

scott s.
.
Reply With Quote
  #14  
Old 24 Apr 2010, 19:38
bob5568 bob5568 is offline
 
Join Date: Jul 2004
Posts: 910
deleted as I figured it out
Reply With Quote
  #15  
Old 25 Apr 2010, 02:12
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,923
Send a message via Skype™ to arno
Hi Scott,

Quote:
Originally Posted by scott967 View Post
Arno, what would be a good way to test the draw call minimizer?
Any model that uses a lot of small textures would be a good candidate. This can be an old API or a COLLADA/Google Earth object. Especially those last ones often use many small textures. The attached screenshots show how I have reduced about 35 textures into 2 with the Drawcall Minimizer tool.
Attached Thumbnails
Click image for larger version

Name:	model_0.jpg
Views:	121
Size:	83.8 KB
ID:	7355   Click image for larger version

Name:	model_1.jpg
Views:	119
Size:	50.5 KB
ID:	7356  
__________________
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
  #16  
Old 25 Apr 2010, 03:24
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,923
Send a message via Skype™ to arno
Hi,

I just made one more change the to the drawcall minimizer. You can now set in the options what texture size you want to use. For some objects 1024x1024 was too big and that would result in a lot of unused texture space. So the default is still 1024x1024, but you can change it to another value if needed.

This change is available in the development release already. I would call the current version the release candidate for ModelConverterX 1.2. Of course bugs found will still be fixed, but new features will not go into this next stable release anymore.
__________________
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
  #17  
Old 25 Apr 2010, 12:31
gsnde's Avatar
gsnde gsnde is offline
  germany
Location: Southwest Germany
Join Date: Mar 2005
Posts: 2,686
Arno,

I just noticed that most (but not all) FS9 compatible BGLs give an import error.

Quote:
************** Ausnahmetext **************
System.ArgumentNullException: Der Wert darf nicht NULL sein.
Parametername: g
bei System.Guid..ctor(String g)
bei ASToFra.BGLXReader.ReadNameDict(String filename)
bei ASToFra.BGLXReader.Read(String filename)
bei ASToFra.ObjectReader.read(String fileName)
bei ASToFra.MainWindow.bwImporter_DoWork(Object sender, DoWorkEventArgs e)
bei System.ComponentModel.BackgroundWorker.OnDoWork(Do WorkEventArgs e)
bei System.ComponentModel.BackgroundWorker.WorkerThrea dStart(Object argument)
__________________
Cheers,
Martin

__________________________________________________ ______________________________________________
The Owl's Nest * Military Aircraft Reference * ICAO Reference * Distance Calculator * MAIW, Military AI & UKMil Reference
Reply With Quote
  #18  
Old 25 Apr 2010, 14:08
gsnde's Avatar
gsnde gsnde is offline
  germany
Location: Southwest Germany
Join Date: Mar 2005
Posts: 2,686
Arno,

Most likely a logical consequence of the previous report - same crash happens when runnig the Missing Texture Finder from within MCX.
__________________
Cheers,
Martin

__________________________________________________ ______________________________________________
The Owl's Nest * Military Aircraft Reference * ICAO Reference * Distance Calculator * MAIW, Military AI & UKMil Reference
Reply With Quote
  #19  
Old 25 Apr 2010, 14:42
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,923
Send a message via Skype™ to arno
Hi Martin,

Humm, I can't remember I changed anything in that code. Let me check...
__________________
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
  #20  
Old 25 Apr 2010, 14:55
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,923
Send a message via Skype™ to arno
Hi Martin,

This seems to happen while reading the GUIDs and names from the TXT file that belongs to the library. Could you maybe send me this TXT file for one of the libraries that crashes? Then I can see where it goes wrong.
__________________
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
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
Drawcall minimizer arno ModelConverterX 4 13 Mar 2010 05:23
ADE9X Release Candidate 1 Available scruffyduck Airport Design Editor 0 26 Jul 2009 10:48
Release candidate arno ModelConverterX 2 25 Feb 2009 15:04


All times are GMT -4. The time now is 03:05.

Kirsch designed by Andrew & Austin


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