To save some graphics card memory i tried loading FileTextures instead of using the mostly used Formats “No Specific”, “X8R8G8B8” or “A8R8G8B8” using “DXT9”.
The result is pretty good, colours look good, alpha is working and there seem to be no big compression artefacts.
The only bad thing i noticed is that it takes very long to load textures in this format.
For the same BMP 1920x1080px loading as X8R8G8B8 takes 0.088 seconds, loading it as DXT5 it takes long 0.679 seconds. (the times for loading the textures are taken from tty-renderer)
It seems to make no difference if the image is stored as BMP, JPG or even DDS.
Ok, of course, using DXT5 the texture has to be compressed during loading into graphicscard memory, but I can not believe that this should take 0,6 seconds per texture.
Is there any way to speed this up by changing settings or patching, can the devvvvs think of any optimation for this within vvvv or is this like it has to be ?
hmm … i tried with .dds-files created from vvvv using writer(EX9Texture). Loading these dds-files did take more or less the same time as loading the bmp-files.
What pluging for saving dds-files from photoshop are you using.
I tried to install the nvidia pluging for photoshop an a plugin for gimp, but bozh failed somehow !?
I need to have a deeper look into this …
I experienced much faster texture-loading when using dds-files generated through the nvidia photoshop-plugins (using them with photoshop cs3). A texture saved as dds R8G8B8 for example loads up to 10 times faster than its png eqivalent.
Have you set the texture-format in file-texture node to something specific, e.g. DXT5, or left it at the default value (Non Specific)? If I remember correctly leaving it at “non specific” results in faster loading and vvvv generally detects the texturetype correctly.
Also disabling Mipmaps in the plugins save dialog (if you won´t need them) might enhance loading times.
If you have no luck with the nvidia plugins you could try a stand-alone tool from ati called Compressonator. But I think the generated textures are sometimes not properly “interpreted” by nvidia cards.
OK … got the nvidia photoshop plugin working and it is working great.
DXT5-DDS files created with this pluging using the default settings look very good in vvvv and load very fast as bjoern described above.
What file-format is vvvv creating using writer(EX9Texture)in DDS-mode connected to DX9Texture set to DXT5 ?
This saved dds-file is loading very slow.
Besides this, this DDS-File is apprx. 4 times bigger than the file created with the nvidia plugin and (even stranger) it has exactly the same size as a bmp created by vvvv using DX9texture and writer.