romegames 1
romegames
Krutzo 1
Krutzo
shrpnl 1
shrpnl
Best Studio 1
Best Studio
D 1
delimuratt
Aliyldrim 1
Aliyldrim
Mt2Hizmet 1
Mt2Hizmet
noisiv 1
noisiv
Manwe Work 1
Manwe Work
melankolıa18 1
melankolıa18
Agora Metin2 1
Agora Metin2
Hikaye Ekle
Reklam vermek için turkmmo@gmail.com

toplu .dds sıkıştırma ve mipmap yapma

  • Konuyu başlatan Konuyu başlatan apikomt2
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 2
  • Görüntüleme Görüntüleme 275

apikomt2

Level 6
Uzman
Katılım
11 May 2023
Konular
270
Mesajlar
1,141
Çözüm
2
Online süresi
1mo 25d
Reaksiyon Skoru
744
Altın Konu
1
Başarım Puanı
199
MmoLira
1,170
DevLira
381
Ticaret - 0%
0   0   0

ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ HEMEN TIKLA!

konunun devamı

1734264012085.png

@EcHo off
setlocal

:: Giriş ve çıkış dizinlerini tanımla
set input_dir=C:\Users\hiiiiiii\Pictures\HitPaw
set output_dir=C:\Users\hiiiiiii\Desktop\12

:: Çıkış dizinini oluştur (eğer yoksa)
if not exist "%output_dir%" mkdir "%output_dir%"

:: Giriş dizinindeki tüm dosyalar için döngü
for %%f in (%input_dir%\*) do (
:: Dosyayı BC1 formatında sıkıştır ve mipmap seviyeleri ekle
nvcompress.exe -bc1 -max-mip-count 10 -min-mip-size 1 -mipfilter mitchell-netravali "%%f" "%output_dir%\%%~nf.dds"

:: Çıkış dosyasını kaydetme
echo "%%f dosyası BC1 formatında sıkıştırıldı ve %output_dir%\%%~nf.dds olarak kaydedildi."
)

endlocal
pause



Kod:
Input options:
  -color          The input image is a color map (default).
  -alpha          The input image has an alpha channel used for transparency.
  -noalpha        The input image has no alpha channel used for transparency.
  -alpha_dithering  Enable alpha dithering. Can be followed by a number indicating the number of bits used in alpha dithering.
  -normal         The input image is a normal map.
  -tonormal       Convert input to normal map.
  -clamp          Clamp wrapping mode (default).
  -repeat         Repeat wrapping mode.
  -nomips         Disable mipmap generation.
  -max-mip-count  Maximum number of mipmaps. 0 and 1 are the same as -nomips; 2 generates the base mip and one more; and so on.
  -min-mip-size   Minimum mipmap size; avoids generating mips whose width or height is smaller than this number. (default: 1)
  -mipfilter      Mipmap filter. One of the following: box, triangle, kaiser, min, max, mitchell-netravali.
  -no-mip-gamma-correct  Do not convert to linear space when downsampling. (default: only for normal maps)
  -rgbm           Transform input to RGBM.
  -rangescale     Scale image to use entire color range.
  -weight_r       Weight of R channel, default is 1.
  -weight_g       Weight of G channel, default is 1.
  -weight_b       Weight of B channel, default is 1.
  -weight_a       Weight of A channel, default is 1 when alpha is used, overwritten to 0 when alpha is not used.

Compression options:
  -fast         Fast compression.
  -production   Production compression (higher/slower than default).
  -highest      Highest-quality compression.
  -nocuda       Do not use cuda compressor.
  -rgb          RGBA format
  -bc1          BC1 format (DXT1)
  -bc1n         BC1 normal map format (DXT1nm)
  -bc1a         BC1 format with binary alpha (DXT1a)
  -bc2          BC2 format (DXT3)
  -bc3          BC3 format (DXT5)
  -bc3n         BC3 normal map format (DXT5nm)
  -bc4          BC4 format (ATI1)
  -bc4s         BC4 format (Signed)
  -ati2         ATI2 format
  -bc5          BC5 format
  -bc5s         BC5 format (Signed)
  -bc6          BC6 format
  -bc6s         BC6 format (Signed)
  -bc7          BC7 format
  -bc3_rgbm     BC3-rgbm format
  -astc_ldr_4x4 -astc_ldr_5x4 ... -astc_ldr_12x12 ASTC LDR formats

Output options:
  -silent       Do not output progress messages
  -dds10        Use DirectX 10 DDS format (enabled by default for BC6/7 and ASTC)
  -profile      Show detailed profiling information
 

Ekli dosyalar

Paylasım için teşekkürler
 
Paylaşım için teşekkürler.
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst