The soya.Land class generates the mesh from a heightmap ( a grey scale images where white it high and black is low ).
You can set individual points like: land = soya.Land(scene) land.set_height(x, y, height) land.set_height(x, y, height) land.set_height(x, y, height) ... land.reinit() # you must call this so soya.Land can recalculate LOD info which makes it possible to store the data in xml if you wanted. all .data files for soya in the data directory are pickled data. On Mon, Aug 29, 2005 at 09:18:39AM +1000, [EMAIL PROTECTED] wrote: > Hi there > > Im a bit of a soya newbie, any pointers to what would be required to get soya > to > load the land map from a XML document? > > Maybe i need to understand the soya.world class and how the loader works and > then rewrite the loader to read the same structure from the XML as the binary > file? > > (how is that binary file that describes the land generated anyway? is that a > 3DSMAX mesh?) > > leigh > > > > > -- > "Some people walk in the rain, others just get wet" - Anonymous graffiti, > fitzroy. > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. Content-Description: PGP Public Key > pub 1024D/7A163A75 2005-05-10 Leigh morresi <[EMAIL PROTECTED]> > sub 1024g/967C9702 2005-05-10 > _______________________________________________ > Soya-user mailing list > [email protected] > https://mail.gna.org/listinfo/soya-user
