From:
<fre...@gb...> - 2007-12-25 22:30:58
|
Hello, I have a question related to the vpython camera usage. I simulate a photo panohead, where a DSLR is fixed. I would like to=20 simulate the view I have from that DSLR. So, I need to set the vpython=20 camera position, and update the direction it is point at. But I don't know how to do that. Using the center attribute only sets the=20 point the camera *looks*. Is there a way to set the camera position, say to (0, 0, 0), and only use=20 the forward attribute to rotate it? A 'from' camera attribute could be=20 usefull... Thanks, =2D-=20 Fr=E9d=E9ric http://www.gbiloba.org |