From: Arthur <ajs...@op...> - 2006-10-19 13:16:45
|
Hi folks - I had made some commitment to try to get to a vpython that integrates with the numpy library accomplished. Was traveling last week and had the opportunity to spend some time with it at lay-overs, etc. Long story short - I'm getting there - but in a round-about way, as I am not a C++ programmer so there is a large learning curve for what would otherwise be a small problem. Have a build that works for some demos but fails for curves and convex objects. But I think I have a beat on the problem. The fact is that the various numeric libraries are mostly compatible, and there are only limited areas where code changes are needed (mostly related to typing). Just took me a while to get the lay of the land. The issue - The main thing that complicates following the current code is that it is designed to accept either the Numeric or Numarray libraries - on the fly. It also complicates the build process and makefiles, the Python code for the start-up of vpython, etc. My opinion is that we should bite the bullet and simplify - and have builds that do not try to be backward compatible with Numeric and/or Numeric, and are tied only to numpy. Acceptable? Art |