We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ec3208 commit ca2ccaaCopy full SHA for ca2ccaa
Example1.py
@@ -14,10 +14,10 @@
14
plane = meshGen(H,W)
15
16
# We generate a mirror where for each 3D point, its Z coordinate is defined as Z = 20*exp^((x/w)^2 / 2*0.1*sqrt(2*pi))
17
-
18
plane.Z += 20*np.exp(-0.5*((plane.X*1.0/plane.W)/0.1)**2)/(0.1*np.sqrt(2*np.pi))
19
pts3d = plane.getPlane()
20
+# Projecting / capturing the 3D points using the virtual camera
21
pts2d = c1.project(pts3d)
22
map_x,map_y = c1.getMaps(pts2d)
23
0 commit comments