Jump to content

incorrect dds auto convertion?


photo

Recommended Posts

Posted

hi:

   When i put a tga texture in the uncompressed folder. the meta file generated as type DXT1 which is correct. but the final auto converted dds is dxt5 with rgba8. Does anyone know how to generate dxt1 texture?  I already remove the alpha channel from the tga file. it's a specular texture btw,

Posted

Hello,

If it is suitable for you, you can use Imagedds tool directly with -f option.

Documentation you can find here.

  • 11 months later...
Posted

Sorry to revive an old thread but I would also like to know if there is an way to control what the auto conversion is doing.

Posted

Hi Joel,

 

You can take a look into editor/editor_textures.h (line 145 for Unigine 2.0 RC) and check the auto conversion rules here. You can control it only by modifiyng the editor code (or writing a custom editor plugin which will do the required things for you).

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Excellent. thank you for that information, Silent.

Posted

one other question, Silent.  Can you tell me what the advantage is to using the uncompressed folder versus converting them manually (using the imagedds tool) and placing the converted files into their working directories?

 

Do the source .tga/.png/.psd files get excluded from the final build?

Posted

Hi Joel,

 

Do the source .tga/.png/.psd files get excluded from the final build?

There is currently no such abstraction as a final build (you have to create script that will pack your data and exclude uncompressed folder).

 

Can you tell me what the advantage is to using the uncompressed folder versus converting them manually (using the imagedds tool) and placing the converted files into their working directories?

For the artists main advantage here is that all conversion process is done automatically on fly. Also, if you are using the uncompressed directory you can change in runtime texture's clamp settings, mipmaps filtering type, image format and result will be saved in *.dds file. However, for the large textures this process can take awile and this may be a little confusing, because you changed the textures, but object still have old ones.

If you already know all the dds settings you need, probably you can convert all your source textures to the right format with a script or ImageDDS tool - results should be the same.

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

×
×
  • Create New...