|
From: Bruce S. <Bru...@nc...> - 2007-06-14 23:29:52
|
You might study the example program faces_heightfield.py that comes with VPython, as it creates a surface. The most general VPython object is "faces" which lets you display arbitrary triangles and specify lighting at vertices. This low-level object could be used to display a portion of a sphere. Or if you want to display a portion of a sphere as a grid, use the "curve" object. There exists a beta version of VPython which lets you specify that an object is transparent. See the "Recent developments" section of vpython.org. Unfortunately the Windows version has some serious bugs (see the documentation in the Recent developments section) and there is no Macintosh version. The Linux version mostly works correctly. Bruce Sherwood pri...@gm... wrote: > hi folks, > > I am new to VPython so this question may sound a little bit naive; > I've got a question concerning the problem how to visiualize a 2D-manifold in Vypthon. In this special case, the parameters are Theta and Phi to just plot a part of the surface of a sphere, where the Radius is constant. An additional feature would be that the surface is something like transparent or it also could be a spherical grid. I hope my english is not too bad, so that some of you could understand what my problem currently is. I hope I'll receive any help soon. > > Thank you very much. > > greets from germany > > -Philipp > |