Tile and location calculator for virtual textures

Tips for creating and manipulating planet textures for Celestia.
Topic author
jim
Posts: 378
Joined: 14.01.2003
With us: 21 years 10 months
Location: Germany

Tile and location calculator for virtual textures

Post #1by jim » 10.09.2003, 21:26

Hi all,

Here is a little Excel-table that calculates for a location the tiles of a virtual texture. This is very usefull if you search in a vitual texture the tile(s) for a location or if you want add some high level tiles.

Image

The shot shows a calculation for Hamburg (position) and the Falkland Islands (area).

http://ennui.celestiaproject.net/~jim/files/VT ... ulator.zip (Excel 5.0/95/97/2000 format)

Bye Jens

PS: I played a bit with some high level tiles (only 128k :D ) of the Canary Islands.
Image
:lol: :mrgreen: :lol: :mrgreen: :lol:
-earth map: 8 level6 tiles, 10 level7 tiles
-spec map: 8 level6 tiles

JackHiggins
Posts: 1034
Joined: 16.12.2002
With us: 21 years 11 months
Location: People's Republic Of Cork, Ireland

Post #2by JackHiggins » 10.09.2003, 21:36

Thanks! :D

The canary islands look fantastic... 8)
- Jack Higgins
Jack's Celestia Add-ons
And visit my Celestia Gallery too!

Guest

Post #3by Guest » 10.09.2003, 23:45

Cor!...no need to go on holiday now!

Regards...bh. (ESB is the only drink).

jamarsa
Posts: 326
Joined: 31.03.2003
With us: 21 years 7 months
Location: San Sebastian (Spain)

Post #4by jamarsa » 10.09.2003, 23:48

Wonderful view of the 'Fortunate islands'!!

Are you planning your holidays, jim? :wink:

Next time you will show us your hotel!! :lol:
Last edited by jamarsa on 11.09.2003, 00:33, edited 1 time in total.

wcomer
Posts: 179
Joined: 19.06.2003
With us: 21 years 5 months
Location: New York City

and I had been so excited with the 32k testure

Post #5by wcomer » 11.09.2003, 00:01

Sigh... this is the best my poor 32k texture could manage.

Image

marc
Posts: 426
Joined: 13.03.2002
With us: 22 years 8 months
Location: Outback Australia

Post #6by marc » 11.09.2003, 04:05

Thanks Jim very useful.
I tried out the Position Calculator, I think you have latitude and longitude mixed up.

Alberto
Posts: 3
Joined: 28.06.2003
With us: 21 years 5 months
Location: Uruguay

i want it !!!

Post #7by Alberto » 11.09.2003, 05:18

jim
?were i can find this textures??

alberto

ElPelado
Posts: 862
Joined: 07.04.2003
With us: 21 years 7 months
Location: Born in Argentina
Contact:

Post #8by ElPelado » 11.09.2003, 13:08

The shot shows a calculation for Hamburg (position) and the Falkland Islands (area).


THEY ARE NOT CALLED "FALKLAND ISLANDS"!!!!!!!!! THEY ARE THE MALVINAS ARGENTINAS!!!!!or if you want the "F*CKLANDS"
---------X---------
EL XENTENARIO
1905-2005

My page:
http://www.urielpelado.com.ar
My Gallery:
http://www.celestiaproject.net/gallery/view_al ... y-Universe

Guest

Post #9by Guest » 11.09.2003, 14:26

I'm afraid, El Pelado, that they are British soveriegn territory and are known as the Falkland Islands.

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #10by chris » 11.09.2003, 18:54

This is not a forum for political discussions . . . Any further posts regarding British versus Argentinian sovereignty over the Falklands will be deleted.

Jens, I'm very interested in where you got the images for the Canary Islands. Have you found a good source of high resolution Earth imagery that works well with the Blue Marble textures? Or was a significant amount of editing required?

--Chris

Topic author
jim
Posts: 378
Joined: 14.01.2003
With us: 21 years 10 months
Location: Germany

Post #11by jim » 11.09.2003, 19:32

Hi all,

marc wrote:Thanks Jim very useful.
I tried out the Position Calculator, I think you have latitude and longitude mixed up.
Sorry, was a translation bug and it's now corrected. :oops:

chris wrote:Jens, I'm very interested in where you got the images for the Canary Islands. Have you found a good source of high resolution Earth imagery that works well with the Blue Marble textures? Or was a significant amount of editing required?


My image soucre is http://visibleearth.nasa.gov/browse.html and yes it's a significant amount of editing required that this tiles work together with the 32k Earth.

Here is another preview of my 128k tiles, Capeverde Islands and the Azores. :)

Image

Image

The current number of tiles for surface and also specular map is now:
- level6: 15 tiles
- level7: 20 tiles

Bye Jens

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

Post #12by t00fri » 12.09.2003, 00:06

A "tile calculator" is certainly most useful. However, it is hard to see why it needs to be realized via a $1000 commercial software package (office), rather that in form of a most simple little C/C++ program or Perl script which could also be used across platforms...

Bye Fridger

marc
Posts: 426
Joined: 13.03.2002
With us: 22 years 8 months
Location: Outback Australia

Post #13by marc » 12.09.2003, 04:39

t00fri wrote:A "tile calculator" is certainly most useful. However, it is hard to see why it needs to be realized via a $1000 commercial software package (office), rather that in form of a most simple little C/C++ program or Perl script which could also be used across platforms...

Bye Fridger


I havn't tried it, but OpenOffice should be able to open it.
And besides, not everyone is a C/C++/Perl programmer.

Marc.

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

Post #14by t00fri » 12.09.2003, 12:58

marc wrote:
t00fri wrote:A "tile calculator" is certainly most useful. However, it is hard to see why it needs to be realized via a $1000 commercial software package (office), rather that in form of a most simple little C/C++ program or Perl script which could also be used across platforms...

Bye Fridger

I havn't tried it, but OpenOffice should be able to open it.
And besides, not everyone is a C/C++/Perl programmer.

Marc.

----------------------------------
I think a /much/ preferable attitude among forum members could be that little teams might form that decide to attack a useful project /jointly/.
----------------------------------

I have practiced this with great pleasure and interesting results several times already: With Mario (Spacegraphics), with Pixel, with Walton Comer, just to name some...

Of course, the Celestia development work proceeds along similar guidelines...

I am sure we could find a C/C++/Perl programmer who is sufficiently interested to quickly code these simple formulas for the tile calculator;-), if Jens cannot do it himself.

This way adequate know-how may be merged and exploited to the benefit many users ...

Bye Fridger

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #15by Christophe » 12.09.2003, 15:46

marc wrote:I havn't tried it, but OpenOffice should be able to open it.
And besides, not everyone is a C/C++/Perl programmer.


I confirm, it works fine in OpenOffice (1.1) and Gnumeric (1.0.12).

Anybody who can write

Code: Select all

=CONCATENER("tx_";TEXTE(ENT(($D13+E13/60+180)/360*2^(H12+1));0);"_";TEXTE(ENT((-$I17+J17/60+90)/180*2^H12);0))

is just bound to write some Perl at one point in his/her life.
Christophe

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

Post #16by t00fri » 12.09.2003, 19:07

Christophe wrote:
marc wrote:I havn't tried it, but OpenOffice should be able to open it.
And besides, not everyone is a C/C++/Perl programmer.

I confirm, it works fine in OpenOffice (1.1) and Gnumeric (1.0.12).

Anybody who can write

Code: Select all

=CONCATENER("tx_";TEXTE(ENT(($D13+E13/60+180)/360*2^(H12+1));0);"_";TEXTE(ENT((-$I17+J17/60+90)/180*2^H12);0))

is just bound to write some Perl at one point in his/her life.


Hi,hi, Christophe sometimes has the same "nasty" humor than me...

Bye Fridger

Topic author
jim
Posts: 378
Joined: 14.01.2003
With us: 21 years 10 months
Location: Germany

Post #17by jim » 12.09.2003, 21:40

Hi Fridger,

I'm not sure what you mean with your comments. I know that my 'Tile Calculator' based only on a simple formel. I thought it could be also usefull for other Celestia user.
Ok, there are some people on our planet they calculate this in the head while the computer open the folder with the vitual texture tiles ;-).

Bye Jens

PS. I'm absolut sure you never use a table calculation for a simple mathematical problem ? ;-)

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #18by Christophe » 12.09.2003, 21:48

t00fri wrote:Hi,hi, Christophe sometimes has the same "nasty" humor than me...


I'm flattered :-)
Christophe

Topic author
jim
Posts: 378
Joined: 14.01.2003
With us: 21 years 10 months
Location: Germany

Post #19by jim » 11.03.2004, 21:22

Hi all,

Here is a new version of my little Excel table to calculate VT tiles. I fixed a little bug with the minutes and added two diagramms. It's only tested on Office2000 and should also work on Office97 but I'm not sure about OpenOffice and other software.

Image

http://www.celestiaproject.net/~jim/files/VT-t ... ator_2.zip (Excel 97/2000 format)

Bye Jens
Last edited by jim on 12.03.2004, 07:41, edited 1 time in total.

ANDREA
Posts: 1543
Joined: 01.06.2002
With us: 22 years 5 months
Location: Rome, ITALY

Post #20by ANDREA » 11.03.2004, 22:46

jim wrote:Hi all, Here is a new version of my little Excel table to calculate VT tiles. I fixed a little bug with the minutes and added two diagramms. It's only tested on Office2000 and should also work on Office97 but I'm not sure about OpenOffice and other software.
Image
http://www.celestiaproject.net/~jim/files/VT-t ... lator2.zip (Excel 97/2000 format) Bye Jens

Sorry Jim, but I'm unable to download this file, using both left and right mouse buttons. Can you check it, please? :cry:
Thanks a lot (by the way, I LOVE Excel!) :D

Andrea :P
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO


Return to “Textures”