PDA

View Full Version : SCASM type import - RefPoint scale and zbias()


HansW
09 Sep 2009, 08:42
Hi Arno,

i am new to this forum and more or less a beginner in fs (scenery) design. So be patient and nice we me :confused:.

I gave your tool a try from scratch with a very old scasm type file i had in an archive from fs2000 times.

Well, i succeeded to produce a fs9 mdl and placed this with xml inside fs2004. :)

But the model was rather big in size, so i looked at the source and found a scaling of 0.1 in the RefPoint statement which i think was not interpreted by the importer. I managed to reduce the size inside ModelConverterX with setting global scale to 0.1 and everything was fine. Issue or will? Maybe you can comment that.

Another thing is that at the 'ancient' time ZBias() was used to bring texture over texture (I think) like a hangar door on a hangar wall. Old fashion but the file is from 2001 so no discussion about this here. ZBias() is ignored in your tool. The (overlay) textures show up but 'merge' with the background (the hangar wall) time by time when changing the view point. Maybe you can explain the true function of ZBias() in SCASM and how I come away from this 'flickering'. (btw. in the moment also no mips in the bitmaps!)

I'll thank you very much for this tool, because it seems to me that maybe i can (re)start on a very old project of a small airfield in Germany i never completed.

Regards
Hans-Werner

arno
13 Sep 2009, 08:14
Hi Hans,

But the model was rather big in size, so i looked at the source and found a scaling of 0.1 in the RefPoint statement which i think was not interpreted by the importer. I managed to reduce the size inside ModelConverterX with setting global scale to 0.1 and everything was fine. Issue or will? Maybe you can comment that.

That scale should be added. Are you using the latest development version or the 1.0 release of ModelConverterX? It could be this has been fixed after the 1.0 release.

Another thing is that at the 'ancient' time ZBias() was used to bring texture over texture (I think) like a hangar door on a hangar wall. Old fashion but the file is from 2001 so no discussion about this here. ZBias() is ignored in your tool. The (overlay) textures show up but 'merge' with the background (the hangar wall) time by time when changing the view point. Maybe you can explain the true function of ZBias() in SCASM and how I come away from this 'flickering'. (btw. in the moment also no mips in the bitmaps!)

I think you have an old version, as the ZBias command is supported by now. Since the FSX MDL format does not have the ZBias function, the tool will give the polygons with the bias a small offset to prevent the flickering. I would suggest that you try the latest development release of ModelConverterX.

HansW
14 Sep 2009, 09:29
Hi Arno,

yes I used v1.0 of ModelConverterX.

I'll give it a try with the actual version.

Hans-Werner

[Edit] P e r f e c t ! :) Thank you very much Arno.

arno
14 Sep 2009, 15:14
Glad to hear your problems are solved :).