Return to the VPC Lobby
FlightAdventures Virtual Pilot Center™

Need an account? Register here.

Return to AerobaticSource Lobby
Get the VPC OffLine Reader here!

"Flew FS2004 Yesterday!"

Printer-friendly version of this topic
Bookmark this topic (Registered users only)

Previous Topic | Next Topic
VPC Forums FSFORUM
Current Message

BillC[Crew]

Click to EMail BillC Click to send private message to BillC Click to view user profile


Certificates/Ratings/Crew Stations:

VPC certificates and ratings

36. "RE: Flew FS2004 Yesterday!"
07-07-03, 20:15z 

Hi Frank..

>> 'calls'- Did you mean to say 'uses'? <<

Sorry, Frank. Yes. When you create a bgl file, the
code in the bgl creates 3d objects, or ground tiles,
or whatever.

For these objects to display in FS, they need a
texture file which is 'painted' on the object 'on
the fly' by FS.

For example, to plot a hangar at your local airfield,
you cause your code to 'write' a suitable shaped box
at the correct location, plotting one side at a time,
including the roof. As you plot each plane (i.e. wall
or roof, not aircraft) you arrange for your code to
'call' the correct texture to place over that wall
that you have just created (otherwise the wall will
not be visible, or may be seen as a plain coloured
shape). The texture is merely a picture, drawn to the
correct scale, which is placed on your wall.

So your hangar would be plotted so:

Draw North wall.
Call North Wall texture
Draw South wall.
Call South wall texture....and so on.

You eventually end up with a box 'painted' with
pictures all over it, which now looks like a
hangar. This is plotted by FS in real time, and may
take just a few microseconds.

That is a very simplified description, of course.
You hafta take into account the order in which your
hangar is plotted by FS, i.e. is it in front of that
aircraft which may be near the hangar, or behind it ?
Which side (or roof section) should be plotted first
...or last ? That is controlled in FS using the 'Z'
buffer in your Video card, which 'places' or plots
objects in their correct order...distant objects first,
then nearer items, until the frame is completed, then
on to the next frame, but that is another story..

>>How do you convert R8s to BMP...<<

The FS2000 SDK (Scenery Development Kit) was released
by MS in about May, 2000 I think. One of the tools
included was 'Imagetool', which will read R8 files
and convert them to bmps. However the R8 file must
be renamed as a BMP file first <g> (So Imagetool
can create a 'header' for FS to use). Sounds awfully
complicated, but is really very simple when taken
one step at a time. There is one snag, however. If
you wish to change the textures to 'BMP' files, the
bgl file must be rewritten to 'call' the BMPs, instead
of the R8s...

>>..and what is the result ? <<

Well, the BMP format (I think it is short for Windows
Bitmap) allows for far more versatile effects, e.g.
lighting, shading, animation, special effects etc
in FS. The R8 format was rather limited, and the
later BMP format is much more efficiently used by
your video card in FS. It is the change to BMP's that
allows all those special effects we now take for
granted, like afterburners, sunsets, smoke and fog
effects etc.

I would suggest, Frank, if you really wish to look
into the workings of bgls and texture files, it would
be well worth downloading the SDK, just to read the
docs. The Scenery SDK is the section which digs into
the nitty gritty of textures and bgls.

It is well worth a peek. I've long forgotten, and
mislaid the URL for the SDK, but a search of the
MS FS Site should find it.

(MS have not released a FS2002 SDK, yet <g>).

Sorry, but I'm certainly no expert. I know just
enough to create my own local airfield, and I'm
currently struggling to update everything to fit
in with the VFR UK scenery by Just Flight <g>.

As for those Senior Moments, well, it IS taking
longer and longer...

Regards
BillC
Sorry, Frank. Yes. When you create a bgl file, the


-= VPC OffLine Reader 2.1 =-
Registered to: Bill Cusick
-OLR.PL v1.80-

Remove | Alert Edit | Reply | Reply With Quote | Top


Table of Contents
  Subject      Author      Message Date     ID   
  Flew FS2004 Yesterday!    PL965Melo      06-22-03       
     RE: Flew FS2004 Yesterday!   sw45061[Guest]      06-29-03      1   
        RE: Flew FS2004 Yesterday!   RayProudfoot[Guest]      06-29-03      2   
             RE: Flew FS2004 Yesterday!   PL965Melo[Crew]      06-29-03      4   
                  RE: Flew FS2004 Yesterday!   RayProudfoot[Guest]      06-30-03      5   
                       RE: Flew FS2004 Yesterday!   jonahbird[Crew]      06-30-03      6   
                            RE: Flew FS2004 Yesterday!   RayProudfoot[Guest]      06-30-03      8   
                                 RE: Flew FS2004 Yesterday!   jonahbird[Crew]      07-01-03      11   
                       RE: Flew FS2004 Yesterday!   PL965Melo[Crew]      07-02-03      15   
                       RE: Flew FS2004 Yesterday!   WScofield[Crew]      07-14-03      40   
                            RE: Flew FS2004 Yesterday!   RayProudfoot[Guest]      07-14-03      41   
                                 RE: Flew FS2004 Yesterday!   WScofield[Crew]      07-15-03      42   
                                      RE: Flew FS2004 Yesterday!   RayProudfoot[Guest]      07-15-03      43   
                                           RE: Flew FS2004 Yesterday!   WScofield[Crew]      07-15-03      44   
                                                RE: Flew FS2004 Yesterday!   RayProudfoot[Guest]      07-15-03      45   
                                                RE: Flew FS2004 Yesterday!   Ben_Chiu[Admin]      07-15-03      47   
             RE: Flew FS2004 Yesterday!   Mike_Greenwood[Admin]      07-02-03      17   
                  RE: Flew FS2004 Yesterday!   RayProudfoot[Guest]      07-02-03      19   
        RE: Flew FS2004 Yesterday!   PL965Melo[Crew]      06-29-03      3   
             RE: Flew FS2004 Yesterday!   jonahbird[Crew]      06-30-03      7   
                  RE: Flew FS2004 Yesterday!   PL965Melo[Crew]      07-02-03      16   
                       RE: Flew FS2004 Yesterday!   jonahbird[Crew]      07-02-03      18   
                            RE: Flew FS2004 Yesterday!   PL965Melo[Crew]      07-04-03      24   
                                 RE: Flew FS2004 Yesterday!   jonahbird[Crew]      07-05-03      26   
                                      RE: Flew FS2004 Yesterday!   PL965Melo[Crew]      07-05-03      29   
                                           RE: Flew FS2004 Yesterday!   jonahbird[Crew]      07-06-03      30   
        RE: Flew FS2004 Yesterday!   James[Sysop]      06-30-03      9   
             RE: Flew FS2004 Yesterday!   jonahbird[Crew]      07-01-03      12   
                  RE: Flew FS2004 Yesterday!   vgbaron[Sysop]      07-01-03      13   
                       RE: Flew FS2004 Yesterday!   jonahbird[Crew]      07-01-03      14   
                            RE: Flew FS2004 Yesterday!   BillC[Crew]      07-02-03      20   
                                 RE: Flew FS2004 Yesterday!   vgbaron[Sysop]      07-03-03      21   
                                 RE: Flew FS2004 Yesterday!   jonahbird[Crew]      07-03-03      22   
                                      RE: Flew FS2004 Yesterday!   BillC[Crew]      07-04-03      23   
                                           RE: Flew FS2004 Yesterday!   jonahbird[Crew]      07-05-03      28   
                                      RE: Flew FS2004 Yesterday!   James[Sysop]      07-04-03      25   
                                           RE: Flew FS2004 Yesterday!   jonahbird[Crew]      07-05-03      27   
                                           RE: Flew FS2004 Yesterday!   BillC[Crew]      07-06-03      31   
                                                RE: Flew FS2004 Yesterday!   James[Sysop]      07-06-03      33   
                                                     RE: Flew FS2004 Yesterday!   jonahbird[Crew]      07-07-03      34   
                                                          RE: Flew FS2004 Yesterday!   James[Sysop]      07-08-03      37   
                                                               RE: Flew FS2004 Yesterday!   jonahbird[Crew]      07-13-03      39   
                  RE: Flew FS2004 Yesterday!   BillC[Crew]      07-06-03      32   
                       RE: Flew FS2004 Yesterday!   jonahbird[Crew]      07-07-03      35   
                            RE: Flew FS2004 Yesterday!    BillC[Crew]      07-07-03      36   
                                 RE: Flew FS2004 Yesterday!   jonahbird[Crew]      07-13-03      38   
        RE: Flew FS2004 Yesterday!   James[Sysop]      06-30-03      10   

Forums | Topics | Previous Topic | Next Topic

 


Terms of Use

There are currently
Copyright © 2000- FlightAdventures. All rights reserved.

Powered by DCForum