Problem with Virtual Textures

Tips for creating and manipulating planet textures for Celestia.
Topic author
bdm
Posts: 461
Joined: 22.07.2005
With us: 19 years 4 months
Location: Australia

Re: Problem with Virtual Textures

Post #21by bdm » 04.04.2008, 12:24

Well I got the F-TexTools installed and working somehow. Seems the binaries link (http://www.celestialmatters.org/users/t ... .0pre4.zip) has a Windows installer in the Win32_PC.bin directory and this one worked...

Although all the examples in the Readme file used gzip, I have found that gzip is not necessary.

I started with an 8192x4096 PNG file generated by Photoshop, and ended up with some VT tiles in four levels. Here are the simple scripts that I wrote to do this:

8k.bat

Code: Select all

png2bin.exe < %1 | txtiles 4 8192 3 9


4k.bat

Code: Select all

png2bin.exe < %1 | tx2half.exe 4 8192 | txtiles.exe 4 4096 2 9


2k.bat

Code: Select all

png2bin.exe < %1 | tx2half.exe 4 8192 | tx2half.exe 4 4096 | txtiles.exe 4 2048 1 9


1k.bat

Code: Select all

png2bin.exe < %1 | tx2half.exe 4 8192 | tx2half.exe 4 4096 | tx2half.exe 4 2048 | txtiles.exe 4 1024 0 9

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Problem with Virtual Textures

Post #22by t00fri » 04.04.2008, 14:27

Good!

What is important is that you can call all tools by just bei their name at the cmd prompt of any Windows directory and get a brief help output. This confirms that the tools are properly installed.

Indeed, that Link for the F-TexTool installer was not OK. Many people have downloaded it previously... Kind of mysterious.

Anyway I have replaced it by the installer in the .ZIP archive which is just the correct one. So everyone is welcome to download the Win32 installer from here

http://forum.celestialmatters.org/viewtopic.php?t=70

F.
Image

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: Problem with Virtual Textures

Post #23by John Van Vliet » 04.04.2008, 16:56

edit 5:45 pm


Return to “Textures”