textures convertion error

  • I am getting an error when converting my textures files to .TTX


    First the converter wasn't finding this file, ./af5-model.tmc

    so I changed the name of my model .tmc file to this.


    Now it doesn't find preview, but I created a preview.bmp and it is in the same folder as all other files.


    I tryed to change the name of the .ac file to af5-model.ac but it didn't work

    All the textures are saved as .bmp


    This is the error log

    (...)

    // in an action of contract, negligence or other tortious action, arising out

    // of or in connection with the use or performance of this software.

    // ----------------------------------------------------------------------------


    loading tmfile './af5-model.tmc'= (834 bytes) done

    ERROR: no preview found



    // ----------------------------------------------------------------------------

    // SUMMARY

    // ----------------------------------------------------------------------------

    0 files converted

    0 files up to date

    1 errors

    0 warnings

    0 remarks


    Any help would be much apreciated

    Carlos

  • Hi Carlos,


    try this:


    extract the attached file example.zip into a new folder.

    Start af5-makemaps.exe by double click.




    You should get the following window:



    Press ENTER


    Now you see the ttx files.



    Please notice:

    The texture file must be a 24-Bit-Bitmap (.bmp) (it has to be a square power of 2, eg.? 64 x64, 128 x 128, 256 x 256, 512 x 512, 1024 x1024 bit).

    The color files must have the name <filename>.color.bmp!

    The preview file must be preview.png (my example has 1024 x 768 bit).


    Now you can put your texture files into the new folder and it should work.


    Regards,

    Arthur

  • Hi Arthur,

    So I tested what you so kindly sent to me and I got some questions.

    Please notice:

    The texture file must be a 24-Bit-Bitmap (.bmp) (it has to be a square power of 2, eg.? 64 x64, 128 x 128, 256 x 256, 512 x 512, 1024 x1024 bit).

    The color files must have the name <filename>.color.bmp!

    The preview file must be preview.png (my example has 1024 x 768 bit).


    Now you can put your texture files into the new folder and it should work.

    Here you say every image should be "AxB" bit but I think you might want to say pixels right?

    I am asking this because I could convert "texture"_color.bmp but not the preview image that is like below.

    So this preview.png is not converted to .TTX

    Anything I could do to sort this out?



    Thanks

    Carlos

  • Hi Arthur,

    It worked in deed! Thanks a lot!

    Now I will try to edit TMC and TMD files.

    I was thinking to use CL145 that is in AF by defaullt as a guide but it has only 2 engines.

    So I thought better to use one of your models Shorts Empire S-23 if you don't mind because it has 4 engines althought it doesn't have wheels. I suppose it is easier to figure out the wheels section!


    thanks once more

    Carlos

  • Hi Arthur,

    I am sorry to come to this thread again.

    But I want to make the C130 less glossy. I tried to make it through AC3D materials properties but I guess that's not possible.

    I believe that it's achieved just like the "model_color.bmp" that we talked before.

    But my issue is that the converter af5-makemaps.exe doesn't recognizes my "model_gloss.bmp" my file!


    This is the TM file

    ...

    // of or in connection with the use or performance of this software.

    // ----------------------------------------------------------------------------


    loading tmfile './af5-model.tmc'= ERROR: loading tmfile './af5-model.tmc'

    saving preview 'preview.ttx'= 256x256 (ml=9) (mem=87408)


    // ----------------------------------------------------------------------------

    // SUMMARY

    // ----------------------------------------------------------------------------

    1 files converted

    0 files up to date

    0 errors

    0 warnings

    0 remarks


    done.




    And in the converstion of the preview.png I am not sure why it appears like this. Do you have any ideias of what is happening?



    Thank you

    Carlos

  • Hi Carlos,


    the file_gloss was only for the aerofly 5.

    There one had the texture files

    file_bump

    file_color and

    file_gloss.


    For the RC7 you need

    file_bump

    file_color and

    file_reflection

    file_specular and

    file_specular_alpha.


    You should start with changing the file_reflection.

    For example:


    My model as-delphin-2 has a file wing_reflection.bmp.

    With the values 255,255,255 (R,G,B) it looks like that:



    With the values 20,20,20 (R,G,B) it looks like that:



    If that doesn't solve your problem, you should try to change the file_specular and file_specular_alpha.


    Regards

    Arthur

  • i modified the file model_specular.ttx on the Obsession aircraft to obtain a carbon fabric effect for Aerofly RC7