Re: scenery tiles real photo mapping

"alessandro marassi" <[email protected]> Wed, 22 Feb 2006 11:32:37 +0100
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <008801c6379b$4e33e440$9d48698c@parsifal>
Thanks to everybody.
I found another link:
http://mail.flightgear.org/pipermail/terragear-devel/2004-September/001036.h
tml

Is there any documentation about FG tiles format and the use of the
utilities chop.pl and photo.cxx?
For example, which dimension has a single tile?

chop.pl seems to chop a single image in a number of tiles; it seems to
require the following parameters:

name of graphic file (image)
number of tile sides
number of tile sides
number of colors?

photo seems to require the following parameters:

location of the file to be generated?
name of graphic file (image)
number of tile sides
number of tile sides
geographic coordinates of the 4 vertices of the image (degrees.decimal?),
expressed in longitude and latitude

What does it mean recreate the scenery using fgfs-tool-client/server and add
PhotoArea and PhotoObj to the client's parameter list?

All single areas (photos) have to be added in the file materials.xml?

Can anyone confirm the procedure or better detail it?

thanks
Alex



----- Original Message -----
From: "Paul Surgeon" <[email protected]>
To: "TerraGear developers discussions" <[email protected]>
Sent: Tuesday, February 21, 2006 7:09 PM
Subject: Re: [Terragear-devel] scenery tiles real photo mapping


> On Tuesday 21 February 2006 19:30, Frederic Bouvier wrote:
> > Hello Alex,
> >
> > I didn't experiment myself, but there are tools inside TerraGear that
can
> > be used to map an image onto the scenery.
> >
> > In the archive, I found this message :
> >
http://mail.flightgear.org/pipermail/flightgear-users/2004-January/006949.h
> >tml
> >
> > The tools source are in src/Prep/Photo. CVS :
> >
http://cvs.terragear.org/cgi-bin/viewcvs/viewcvs.cgi/source/src/Prep/Photo/
> >Makefile.am?cvsroot=TerraGear-0.0
> >
> > there is chop.pl and photo. That's all I can tell you.
>
> I'd also like to point out that it will only work for small areas of photo
> textures since FlightGear doesn't do any texture paging yet.
> IIRC all the textures required in a scenery area get stuffed into VRAM
until
> the simulator exits.
>
> This means if you place a photo in the scenery with the dimensions of
10x10km
> with a 1 meter/pixel resolution it will try to load the entire 286MB worth
of
> image into your graphic card's VRAM no matter how many pieces you chop it
up
> into.
>
> So Alex if you only plan to use it around an airport or two or use very
low
> resolution imagery then it'll work.
>
> Paul
>
> _______________________________________________
> Terragear-devel mailing list
> [email protected]
> http://mail.flightgear.org/mailman/listinfo/terragear-devel
> 2f585eeea02e2c79d7b1d8c4963bae2d


_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d