Re: Scenery file format

"Curtis L. Olson" <[email protected]> Tue, 28 Jun 2005 08:37:59 -0500
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <[email protected]>
Frederic Bouvier wrote:

>Quoting Hannes Naude :
>
>  
>
>>Hi all
>>
>>My name is Hannes Naudé and I am working on a little app that generates
>>fractal terrains. I thought it would be cool if I could fly over these
>>terrains using flightgear and/or use existing flightgear terrains as starting
>>"seeds" for generating more detailed fractal terrains. In this respect I am
>>very interested in the .btg file format so I can read/write flightGear
>>scenery files. I've been googling for a while now with no luck, so I assume
>>there is no writeup available.
>>    
>>
>
>Look here :
>http://www.simgear.org/doxygen/classSGBinObject.html
>  
>

And I would add that there is a function available to read/parse the 
.btg format and populate a set of STL structures which you can then 
"easily" traverse to extract out the triangles, normals, texture 
coordinates, etc.

Regards,

Curt.

-- 
Curtis Olson        http://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:        2f585eeea02e2c79d7b1d8c4963bae2d


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