PDA

View Full Version : ModelConverterX alpha 08 release


arno
03 Feb 2008, 15:35
Here is a new alpha version of ModelConverterX, this new version mainly brings a lot of small improvements to the SCASM reader. Here are the main changes:


Improved handling of polygon normals
Night textures now supported (for LoadBitmap and TextureList commands)
Direct compilation to FS2004 MDL added (using FSX X file)
Transformations with rotations now work correctly
Default scale of an API macro is read and applied from the comment in the file
SCASM automatic texture mapping options supported
Triangulation of polygons improved, so complex shapes should now be shown correctly
Option added to show the vertex normals in the preview window
Option added to save the preview image to a JPG


My next big issue to work on now is the correct support of transparent textures. And also creating a manual for the tool, for which I already made a little start (http://www.fsdeveloper.com/wiki/index.php?title=ModelConverterX) on the Wiki.

Any feedback is welcome again of course,

BASys
03 Feb 2008, 18:30
Hi Folks

Arno -
Cheers for the latest version.

Having problems opening several files
all of which ISTR opened previously.

All failing at DBD commands.

Will have a closer look over the next couple of days.

HTH
ATB
Paul

arno
04 Feb 2008, 01:27
Hi Paul,

Those warnings for binary commands have been in this tool since version 1. That is still on the todo list to support as well. But for most objects this should not hinder the loading of the model too much. If you have one that really fails, please send me the source code so that I can use it as a test case for future developments.

BASys
04 Feb 2008, 11:05
Hi Folks

Arno -
Apologies,
mean't to update the last post, but been tied up with IRL matters.

DBD is the last command listed before the lockup,
but is not nescessarily the cause.

Please see your PMs.

HTH
ATB
Paul

arno
04 Feb 2008, 13:22
Hi guys,

I found the issue, the triangulation code failed if the input polygon was not correct (for example a polygon with no area). Here is a quick fix for this issue.

BASys
04 Feb 2008, 13:53
Hi Folks

Cheers Arno
That fixed them again.

ATB
Paul

gsnde
05 Feb 2008, 03:30
Arno,

I get a message about 'illegal characters' with many files. Please see fmsams10 as an example.

The second one - cfs2hang - sends the program into nirvana, I have to close it with the taskmanager.

Any idea :)

Cheers,
Martin

Ayrsimming
05 Feb 2008, 06:12
Hi Arno

This screenshot may be the same as reported in previous message. I am getting similar type error messages on quite a few attempted imports.
Thanks for adding the night-lighting, it's working well:)

Iain

gsnde
05 Feb 2008, 07:18
Yes indeed, Iain, this is exactly the same error message.
Martin

arno
05 Feb 2008, 14:58
OK, I will try to reproduce it with the objects Martin attached. Hopefully I get the same errors here :).

arno
05 Feb 2008, 15:33
Hi,

The illegal character error is caused by the quotes around the texture name. I have found and fix that in the code.

The other API seems to have a triangulation problem, I still have to debug why this polygon keeps the triangulation in an endless loop.

gsnde
06 Feb 2008, 03:02
Very promising, Arno :) Thank you.

arno
10 Feb 2008, 11:53
New version is available (http://www.fsdeveloper.com/forum/showthread.php?t=8698) that should solve the bugs mentioned here.