>       I. Program need to feed all Terrains in sensible time with dynamically 
> created data (there are some classes which attend to decode data), so i don't 
> have image to load and there is no sense to create it. Using 
> set_height(x,y,val) is extremely slow. Imagine that this function must be 
> called about 10^6 or more. I thought about it and i have three proposition of 
> methods signatures:

It is surely possible to speed up terrain generation from array (although a 
memcpy may not be possible), however I don't have time for diving into this 
problem now :-(

As a workarround, you can create a raw string, then create a PIL image from it, 
then use "from_image()".


>       II. I can't say much more. After few seconds (sometimes minutes) of 
> working 
> my program is killed by system because of segmentation fault. If i leave 
> program just running (no changes on screen) this problem exist too. My code 
> is multi thread but when it wasn't i had same problems. My system is Debian 
> (testing) i use python 2.4.4-2 and soya 0.12-2 (yes i now that it is old, but 
> there is no newer package), I made tests on Windows XP with new soya 0.13 - 
> same problem.

Yes, I am aware of this bug. The problem is that it is a VERY random bug, and 
it doesn't occur on my computer... consequently I can hardly debug it :-(


>       III. For me this is not big problem but it is a bit strange, i can give 
> you 
> screen shot if you want. 

As much as possible, you should avoid scaling world or body ; scaling makes the 
visibility computation much harder -- especially if the scaling is not 
homogeneous in all the 3 directions.


>       V. I found this problem when I tried to resolve the first one. It isn't 
> possible for me to make some modifications, because I'm sure I'll break code. 
> Where i can find full documentation ?

For docs, look at the "Yet-in" book 
(http://download.gna.org/soya/soya_guide.pdf)

Jiba

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user

Reply via email to