hi, finally managed to get a first version of a little plant toy together. actually got the idea 1,5years ago or so when first took a look at soya, and saw the modelling tutorials -- the idea being that it might be fun to have a toy that'd work like the lsystem etc. tree/plant/flower/.. generators in modellers, but interactively so that can add/remove parts and otherwise modify it in real-time. was (and sometimes still am) doing VJing at that time, where enjoy video scratching, so wanted to be able to 'scratch' (or scrub) with the growth of a 3d structure :)
feel free to explore it, http://studio.kyperjokki.fi/engine/SoyaPlant is the documenting wiki page (w/ screenshots) with a link to the source at http://an.org/programming/plant.py it is just lines now, adding shape is among the things in the wishlist/todo .. but there'd be a lot to do with the feel of the playing/toying too. dunno if/when will have time to touch this again .. do hack on if interested etc. oh, and it utilizes the automatic coordsys conversions in Soya, in a hopefully pretty clear way (with comments), so perhaps this could act as a tutorial about those (i don't think there is anything about them in the tutorials). orienting the local coordsys of a branch is pretty hackish tho -- as there is no easy way to set orientation to match something (excluding calculating matrix transformations :), it first moves the local cs to where the branch begins, then uses the nice look_at to orientate it towards the end of the branch, and then moves the cs to the end where the next branch should grow from.. some addition to the API might be in place? ~Toni
