From: Baozhi C. <bc...@gm...> - 2010-06-17 23:19:31
|
Hi all, I am a new user of VPython. My goal is to make a 3D visualization of a moving autonomous vehicle for a demo. The vehicle will move along a long trajectory. For example, the whole trajectory is from 0 m to 2000 m in x-axis while the vehicle is only 1 or 2 m long. Therefore it won't look good to view the whole trajectory. I want to set the viewing region dynamically to an appropriate size (for example, from 1950 m to 2000 m in x-axis) so that the vehicle does not look too small. I have tried to use the scene.center and scene.range to change the view region but it doesn't seem to work. Could any one tell me what's wrong and how to set the view region? I am using a SONY VGN-CR490 laptop with intel 965GM graphics driver. My OS is Ubuntu 10.04 and VPython is the latest version 5.32 (I followed INSTALL.txt to install). BTW, there seems to be a problem when I tried to use the textures, which leads to the crash of the GNOME window system. Some 3D text object cannot be displayed in my visualization although the text examples coming with Vpython work. Thanks. Bob |