MCPcopy
hub / github.com/thygate/stable-diffusion-webui-depthmap-script / reinit_camera

Method reinit_camera

inpaint/mesh.py:2408–2410  ·  view source on GitHub ↗
(self, fov)

Source from the content-addressed store, hash-verified

2406 self.mesh.set_data(vertices=verts, faces=faces, vertex_colors=colors[:, :3])
2407
2408 def reinit_camera(self, fov):
2409 self.view.camera.fov = fov
2410 self.view.camera.view_changed()
2411
2412
2413def output_3d_photo(verts, colors, faces, Height, Width, hFov, vFov, tgt_poses, video_traj_types, ref_pose,

Callers 1

output_3d_photoFunction · 0.95

Calls 1

view_changedMethod · 0.80

Tested by

no test coverage detected