Page 1 of 1

Adding an element to data for Bgl_comp

PostPosted: Mon Oct 18, 2004 3:53 pm
by mauricegambles
I have eventually managed to produce a bgl file for a windsock, by dropping the appropriate text file into the Bglcomp exe file. What I need to kbow now is how to add a parameter to this file i.e. change the colour of a windsock pole.

the text file reads:-







poleHeight="13.5"
sockLength="10.5"
lighted="TRUE">








The specified data to change the pole color reads:-

red=

Re: Adding an element to data for Bgl_comp

PostPosted: Mon Oct 18, 2004 4:15 pm
by RollerBall
Hi maurice, here's the general format for a windsock.

Try playing around with this.


version="9.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation="bglcomp.xsd">

     lat="42.6286"
   lon="-88.5999"
   alt="0"
   altitudeIsAgl="TRUE"
   pitch="0"
   bank="0"
   heading="0"
   imageComplexity="NORMAL">

         poleHeight="5.5"
     sockLength="3.5"
     lighted="TRUE">

     green="128"/>
     green="128"/>

   



Re: Adding an element to data for Bgl_comp

PostPosted: Mon Oct 18, 2004 5:03 pm
by mauricegambles
Brilliant!... and you don't even need to put in the altitude.

Thanks a lot!