相机大小调整? #877
Replies: 1 comment
-
If you are talking about adjusting the resolution of the camera, this can be done when you first add the camera in your script using the blenderproc command, such as the following example does to set up the camera with HD resolution: import blenderproc as bproc #This is normally at the top with all imports The settings of the camera can be further adjusted to work as wished. A good place to find further commands is in the CameraUtility.py file, https://github.com/DLR-RM/BlenderProc/blob/main/blenderproc/python/camera/CameraUtility.py There are also various examples focused on different ways to manipulate the camera which you may find helpful. bpy.context.scene.camera.data. When that is typed into the blender python console, you can hit TAB to see all the options available for editing the camera's intrinsics. |
Beta Was this translation helpful? Give feedback.
-
How to adjust the size of the camera?How to implement it in code in blenderproc?
Beta Was this translation helpful? Give feedback.
All reactions