Page 1 of 1

Controlling the viewing camera

Posted: Thu Oct 14, 2004 6:53 am
by lisabeeren
G'day,

I'm wanting to change the blender view window. Is there a way to access the transform, through which the viewport is viewed?

i.e. as a person interacts with my script, it changes what they are viewing. (i.e. while modelling, not during rendering)

also is there a way to lock the view, to stop them moving it around?

What blender module is this stuff in?

thanks

Posted: Fri Oct 15, 2004 6:19 pm
by kitsu
Check the docs
<---
Under the python api is a module camera, checkout the example...

Posted: Tue Jul 19, 2011 10:48 pm
by CoDEmanX
i got the same question, but for Blender 2.5x

controlling a camera is not the problem, but how to change the VIEWPORT? the viewport is like a virtual camera, not a camera object. What i want is to move and rotate this virtual cam, similar to what the Fly Navigation does but scripted movement.

The only useful entry in API docs seems to be bpy.ops.view3d.move, but no clue how to use it

http://www.blender.org/documentation/bl ... iew3d.move