General Question mesh- tile relative positions

fort

Active member
Joined
Mar 19, 2008
Messages
1,018
Reaction score
20
Points
38
Which equation, operation, would give to me, starting from the coordinates of a tile the location of a mesh registered in another base and centered on that tile .

Thank you.

fort
 
Last edited:
If I understand your question corectly, are you asking what surface tile a base at a certain latitude/longtitude would sit on?

If that is what you want, Ar81's Surface Tile Calculator will give you that information.

[ame="http://www.orbithangar.com/searchid.php?ID=2752"]Surface Tile calculator v5.0a[/ame]

N.
 
If that is what you want, Ar81's Surface Tile Calculator will give you that information.


N.

Hello Notebook.

Thank you. I think that the surface tile calculator is the tool for that.

Specifically

1) a first base somewhere with it's tiles.

2) I delete one of the tiles in that base and I register it in another base (which I created) within a mesh in the intention to put it at the same position.

I was looking for a more direct process than surftilecalculator ( I did little used it in the past and maybe I can work quickly with it anyway).

fort
 
Last edited:

-

I think I've encountered a problem like this a few days ago but what I am looking here is a little different.

I try to create night textures for some cities.

For that: putting their daylight tiles in Textures ( or Textures2 ), and the items, relatives to them, in the "mesh" part... in the "object section"... of the corresponding base cfg (no "ownmaterial" allowed in that case).

I see that i'm not really clear here.

Note :

The rendering is in that case is really different ( pixelisation ) and i'm working to find some process to reduce that effect. I've made a test with some tools and it gives some results. It's not fabulous but...

fort.
 
Last edited:
I think I get what you mean now...maybe...!

Are you tryng to match a building mesh with the surface tile it is on? Putting part of the surface tile onto your building mesh roof as a night texture.

I tried to do something simalar with some lamps I made on a surface base.

This is one of the parking lamps for a surgace base:-

http://i89.photobucket.com/albums/k207/Notebook_04/Day.jpg

This is what I wanted during night:- an illusion of floodlit ground.

http://i89.photobucket.com/albums/k207/Notebook_04/Night.jpg

Notice the artful use of Paintshop....

Placed a very low box (z = 1cm) with a copy of the surface tile texture as its "roof", around the lamp-post, and a Roof_n.dds for the night texture.
Tried lots of combinations of undershadows, and types of .dds with BmpTex utilty.
Could never get it to work, and gave up.

Is this what you are after?

N.
 
It's not really different.

I'm doing that :

nuit.png



-with a surface tile registered in base.cfg :
................................................
Earth_1_E0401_S0109 (or some other name)
END_TEXTURES

- located in Texture (or Texture2 ) folder.

-...with a corresponding night tile that i've made, with the same name with _n extension , in Texture folder.

- registered in a cfg for a base that i've created ( mybase.cfg for example ) in an explicit way as this

BEGIN_OBJECTLIST
MESH
FILE Themesh
POS 0 0 0
SCALE 391.17 10 300.9
tex Earth_1_E0401_S0109
END
END_OBJECTLIST

- but as i want to adapt it to another addon ( here Australia made by artlav ), i have to find the coordinates of my base ( mybase ) relatively to the coordinates of the tile as it was described in Australia.cfg base.

Here, near Victoria, by night as you see, and along the coast.

Good day

fort

:)
 
Last edited:
Wow, thats quite a project!
Looks very good.
I did some transarency tiles for coastal areas, but no night textures.

Thats all my experience with surface tiles, so I don't think I can help any more.
Hopefully some others may. If I think of anything else I'll come back.

Good luck, N.
 
You know, it's only a step by step work in a paint program and with the command "replace a color". It can be done in few minutes starting from a satellite picture.

Simple ordinary pictures by daylight reworked with your inspiration and talent to transform it to nightlight ones.

I've try at first with a London one.

pressepapieirs1.jpg



I've made it quickly few days ago and it was by the fact my first experience. I must say that i do not like that as it is.To much lights maybe and to much orange color, compared to the rendering in orbiter for night lights and many things to achieve ( no, the Thames is not orange by night :) ).

Good day.

fort.

6carrsnuit.jpg
 
Last edited:
inspiration and talent

Well, that rules me out!
I think I sickened myself with surface tiles on the base I made. Once I got into the process of using Google Earth as a source, I just kept making more, and didn't really finish it.
It did teach me one thing.
Start with the end in mind. I'll use that for the next one.
A famous quote, but can't remember where it came from.

N.
 
Fort,

I made a mesh that is the same size as a coastal Level 3 tile:-

http://i89.photobucket.com/albums/k207/Notebook_04/09051021-38-06Deltaglider.jpg

and put the .dds texture on it. It has some height to make it easier to see.

I then inverted the textures colour to give a night (_n.dds) file.

http://i89.photobucket.com/albums/k207/Notebook_04/09051021-52-46Deltaglider.jpg

Dosen't work too well, as you can see(or not), but I think thats a transparency problem, and with some work I could get a decent night look to the coastline.

That mesh is offset from the base location by
POS 16650 0 21500
This is the config entry
MESH
FILE Surf1
POS 16650 0 21500
SCALE .5 100 2
ROT -90
OWNMATERIAL
PRELOAD
END


Are you seeking a formula that would give the offset for an adjacent mesh/tile?

N.
 
Hello Notebook

A dds, declared in the MESH section ( in the OBJECT part of a .cfg for a base ) as an "ownmaterial", will not activate a night texture. As far i know.

It must be stated explicitly in the MESH section of the cfg for the base.
Orbiter/config/base/mybase.cfg

BASE-V2.0
Name = mybase
location = .............
Size = ............
objectsize = ........

BEGIN_OBJECTLIST

MESH
FILE ...............
SCALE .................
TEX the same name as in base.cfg
END
..............................
END_OBJECTLIST


You don't need in that case to quote it in the .mesh file :

TEXTURES 1
0 or... nothing

Good day

fort


EDIT 09/02/2010

Two Screenshots from my last trys

Stanstead and Heathrow airport near London UK.

Stanstead
stanstead.png


Heathrow

heathrow.png


Edit 03/2010

First trys ( not exactly but...) of installation of roads and of traffic. The solutions come little by little as the useful adjustabilitys. Mask, partial recolorisations of the road network, alpha transparency.

The moments the most pleasant to the eye are those of the beginnings of morning when the ground rediscovers little by little its colors while the nightlights are again present and, to the opposed, the evening beginnings.

yafss016.jpg


...

yafss018.jpg


Some others comments here:

http://orbiter-forum.com/showthread.php?t=14186

Edit 2010 December;

Some trys with highways, the M25 for the circumstance, and, for the last picture, main roads ( two others sort of roads to come, avenues, streets ), but with another manner ( and better i think ) for to create roads and traffic, as to implement the whole cfg configuration.

m25carrefour.png

...
m25pleineroute.png

...
lepontmarcheici2avechau.png
 
Last edited:
Back
Top