From: Bruce S. <Bru...@nc...> - 2008-02-06 20:43:10
|
A closely related topic was discussed on this list recently. One outcome of that was the moderately heavily documented program look_around.py which you'll find in the Contributed section of vpython.org. The contributed program movecamera.py is also somewhat relevant. Also, try the VPython example program stonehenge.py, which lets you move through a scene. I should point out however that there's a bug in scene management in the beta version of VPython: in stonehenge.py you can't advance beyond the (0,0,0) location. Bruce Sherwood Emanuele Gissi wrote: > Hi, > my experiments with vpython (stable) continue. > Now I am drawing simple civil building models. > > A small question remains unsolved to me: > * > how can I navigate my models in the scene as first person?* > > To explain better what I would like to obtain: > > * http://video.google.com/videoplay?docid=-7385748607842637032&hl=en > <http://video.google.com/videoplay?docid=-7385748607842637032&hl=en> > * http://en.wikipedia.org/wiki/First-person_shooter > > (I am a little ashamed for this second link, but now I hope it's clear > what I mean) > > I cannot really understand how to modify center and forward to do that. > But if someone gives me a hint, I am ready to code and contribute back. > > Thanks in advance to everybody, as usual. > Emanuele Gissi. |