Hello all,
First of all, thank you for developing Soya. It's really great stuff,
but...
I found some problems.
I. In Terrain class I need some more methods to initialize heights.
II. It is unstable. After few seconds of working it crash.
III. World scaling produce some graphic errors on edges of screen
IV. In documentation lack of arguments descriptions (methods /
functions).
V. In source code is too few comments.
My project is Earth surface visualisation (height only, there is no
photos of
yours houses :P ). From technical point of view, i use 49 Terrain object, 1
camera, so nothing complex. It looks like this:
scene(soya.World)
|camera(soya.Camera)
|earth(soya.World)
|49 Terrain objects
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:
fromArray(array)
where array is object that we could call with __getitem__ like that: a[1][1]
(or a[1,1] if you prefer this)
fromList(lst)
where lst is object like python list and we suppose that data are arranged in
some way (ex. row after row)
fromFunction(func)
where func is function taking int arguments (x,y) and returning value to set
In python, is module called array. I believe that arrays from that module
could be copied in single memcpy, it would be much faster!
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.
III. For me this is not big problem but it is a bit strange, i can give
you
screen shot if you want.
IV. This is annoying to check all methods in python console. Why you
suppressed arguments descriptions ? What more, soya in few places don't check
types, so segm. fault could be obtain as a result (@pythonic philosophy) so
documentation is important.
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 ?
Cheers,
Nierob
_______________________________________________
Soya-user mailing list
[email protected]
https://mail.gna.org/listinfo/soya-user