Script-fu to create virtual textures.
Posted: 26.03.2009, 19:04
Hi!
I'm a newbie in Celestia and add-on programs so forgive me if I'm writing stupid things...
So I discovered Celestia last month and I loved it immediately. But I have a problem: My mother board (PC) is a Nvidia, and my graphic card is an ATI. So that's why I think that I had many problems with Hi-res textures (watch the .gif below). I was annoyed, until I discovered that I can use virtual textures for the planets. But sometimes they don't exist, I just can download big size's textures, that I can't use because of the bug. So I wanted to change them in virtual textures but without script or something... It's long or boring. I spent time to find tool which can do that and I've found nothing "as I want".
So I made 2 script-fu for Gimp to make tiles automatically since a big texture (see pictures below). The only thing that is must be made manually is the creating of the sub-paths (i.e yourPlanet/textures/hires/surface/level2 and so on), because script-fu can't (I didn't found the function). Pity But in the package I put an empty tree, so, well...
I discovered yesterday that a program very similar already exists: F-Tex, which uses a good format (but lossy) and seems very useful (I didn't tried it yet).
I want to do 2 scripts more, for configurate .ssc/.ctx files and for special dimensions. If you judge that it's useless, don't hesitate to tell me.
Also, I won't be pissed if you say that my scripts are useless. I prefer passing time on making textures than script-fu that anyone care.
For the moment I post just the interface, to give you an idea. I think you can guess easily understand the pitch. If you are interested, I'll post the script-fu and the manual.
A little question. As I'm a beginner on script-fu, I decided to simplify the program that user can just make 512x512 tiles in .png. Allowing other sizes would be really useful?
Thanks,
Teto.
I'm a newbie in Celestia and add-on programs so forgive me if I'm writing stupid things...
So I discovered Celestia last month and I loved it immediately. But I have a problem: My mother board (PC) is a Nvidia, and my graphic card is an ATI. So that's why I think that I had many problems with Hi-res textures (watch the .gif below). I was annoyed, until I discovered that I can use virtual textures for the planets. But sometimes they don't exist, I just can download big size's textures, that I can't use because of the bug. So I wanted to change them in virtual textures but without script or something... It's long or boring. I spent time to find tool which can do that and I've found nothing "as I want".
So I made 2 script-fu for Gimp to make tiles automatically since a big texture (see pictures below). The only thing that is must be made manually is the creating of the sub-paths (i.e yourPlanet/textures/hires/surface/level2 and so on), because script-fu can't (I didn't found the function). Pity But in the package I put an empty tree, so, well...
I discovered yesterday that a program very similar already exists: F-Tex, which uses a good format (but lossy) and seems very useful (I didn't tried it yet).
I want to do 2 scripts more, for configurate .ssc/.ctx files and for special dimensions. If you judge that it's useless, don't hesitate to tell me.
Also, I won't be pissed if you say that my scripts are useless. I prefer passing time on making textures than script-fu that anyone care.
For the moment I post just the interface, to give you an idea. I think you can guess easily understand the pitch. If you are interested, I'll post the script-fu and the manual.
A little question. As I'm a beginner on script-fu, I decided to simplify the program that user can just make 512x512 tiles in .png. Allowing other sizes would be really useful?
Thanks,
Teto.