Yup, that fixed it.  But I gotta ask, is this the way it was done
pre-3.0?  I hate to admit it, but I had this method of loading the
landscape in my code already and simply uncomented it and commented out
the way I was trying to do it.  


On Sat, 2003-03-08 at 18:11, Jiba wrote:
> > I threw a printf statement into land.c and found that it thinks the
> > image size is -1x0.  I believe there have been a number of changes
> > related to P3_image stuff so I'm wondering if perhaps land.from_image is
> > no longer looking for a filename, but instead looking for an image
> > object of some kind???
> 
> Yes you should give to land.from_image an object image. To create such an object, do 
> as following :
> 
> import soya.model as model
> 
> model.Image.PATH = "your_image_directory"
> land.from_image(soya.model.Image("your_image.tga"))
> 
> The tutorial lesson 104 was not fixed... I'll do this.
> 
> Jiba
-- 
Jack Madison <[EMAIL PROTECTED]>



-- 
Pour vous desabonner envoyez un mail a [EMAIL PROTECTED]

Reply via email to