Difference between revisions of "Generate High resolution LOD textures"

no edit summary
imported>Blade9722
imported>Blade9722
Line 38: Line 38:


1] Create a folder named c:\obwrk
1] Create a folder named c:\obwrk
2] Create a 256x256 black tga picture and save it as Base.tga in C:\obwrk
2] Create a 256x256 black tga picture and save it as Base.tga in C:\obwrk
3] Now in c:\obwrk create a batch file named basegen.bat and insert this code:
3] Now in c:\obwrk create a batch file named basegen.bat and insert this code:


[code]
 
qq
----
[/code]
for /L %%a in (-65,1,63) do for /L %%b in (-64,1,64) do copy /b .\base.tga .\"Tamriel."%%a"."%%b".tga"
 
for /L %%a in (-65,1,63) do for /L %%b in (0,1,9) do move /y .\"Tamriel."%%a"."%%b".tga" .\"Tamriel."%%a".0"%%b".tga"
 
for /L %%a in (0,1,9) do for /L %%b in (-64,1,64) do move /y .\"Tamriel."%%a"."%%b".tga" .\"Tamriel.0"%%a"."%%b".tga"
 
for /L %%a in (0,1,9) do for /L %%b in (0,1,9) do move /y .\"Tamriel.0"%%a"."%%b".tga" .\"Tamriel.0"%%a".0"%%b".tga"
 
for /L %%a in (0,1,9) do for /L %%b in (0,1,9) do move /y .\"Tamriel."%%a".0"%%b".tga" .\"Tamriel.0"%%a".0"%%b".tga"
 
----




Anonymous user