Page 1 of 2

Tile and location calculator for virtual textures

Posted: 10.09.2003, 21:26
by jim
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

Posted: 10.09.2003, 21:36
by JackHiggins
Thanks! :D

The canary islands look fantastic... 8)

Posted: 10.09.2003, 23:45
by Guest
Cor!...no need to go on holiday now!

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

Posted: 10.09.2003, 23:48
by jamarsa
Wonderful view of the 'Fortunate islands'!!

Are you planning your holidays, jim? :wink:

Next time you will show us your hotel!! :lol:

and I had been so excited with the 32k testure

Posted: 11.09.2003, 00:01
by wcomer
Sigh... this is the best my poor 32k texture could manage.

Image

Posted: 11.09.2003, 04:05
by marc
Thanks Jim very useful.
I tried out the Position Calculator, I think you have latitude and longitude mixed up.

i want it !!!

Posted: 11.09.2003, 05:18
by Alberto
jim
?were i can find this textures??

alberto

Posted: 11.09.2003, 13:08
by ElPelado
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"

Posted: 11.09.2003, 14:26
by Guest
I'm afraid, El Pelado, that they are British soveriegn territory and are known as the Falkland Islands.

Posted: 11.09.2003, 18:54
by chris
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

Posted: 11.09.2003, 19:32
by jim
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

Posted: 12.09.2003, 00:06
by t00fri
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

Posted: 12.09.2003, 04:39
by marc
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.

Posted: 12.09.2003, 12:58
by t00fri
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

Posted: 12.09.2003, 15:46
by Christophe
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.

Posted: 12.09.2003, 19:07
by t00fri
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

Posted: 12.09.2003, 21:40
by jim
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 ? ;-)

Posted: 12.09.2003, 21:48
by Christophe
t00fri wrote:Hi,hi, Christophe sometimes has the same "nasty" humor than me...


I'm flattered :-)

Posted: 11.03.2004, 21:22
by jim
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

Posted: 11.03.2004, 22:46
by ANDREA
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