From: Bruce S. <bas...@un...> - 2003-01-31 22:54:45
|
Alas, I have to reveal an unfortunate fact of life: There are no angels. Seriously, a major gap in VPython is that there is no way to import a 3D model from some other modeling package or format. The only thing you can do at present is use the low-level primitive object "faces" and create the object yourself out of shaded triangles. Or as you say approximate an angel by a sphere! Moreover, there is no transparency, a difficult effect to achieve in a real-time 3D renderer. As for flying through space carrying the camera, see the demo program stonehenge.py, where the basic idea is to keep moving scene.center to give the effect you want. Bruce Sherwood ----- Original Message ----- From: "Tom Munnecke" <mun...@st...> To: "'vpusers'" <vis...@li...> Sent: Friday, January 31, 2003 5:22 PM Subject: [Visualpython-users] Help for desiging a space i n Vpython. > I am new to Python and Vpython, but have really been impressed with what > I can do so simply. Instead of writing a "hello world" program, I > tweaked the random boxes demo program and created a grid to indicate a > space. One thing lead to another, and I am working up a whole scheme > called ProtoSpace. http://www.givingspace.org/protospace and the > program is at http://www.givingspace.org/protospace/space01.py > > I want to add agents, called Angels, which will fly around the space. > Does anyone know of an Angel figure, a cute little cherub figure with > flapping wings, that I could show flying around the space? I'd like to > also "lock on" to the angel, mounting the camera on the angels' back, > showing an angel's-eye view of the space. The wings would be visible, > but transparent, so as to not block the view. > > I don't really need a high res image, I suppose I could use a sphere > instead, but I am demonstrating this idea next week and would like to > spruce it up a little. > > Any help or pointers to anything related to this would be greatly > appreciated. > > Thanks... > > Tom Munnecke > Visiting Scholar > Digital Visions Program > Stanford University > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |