Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions get_camera_matrices.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import model

from pandac.PandaModules import *
from panda3d.core import *

WIDTH = 600
HEIGHT = 600
Expand Down Expand Up @@ -67,4 +67,3 @@ def as_numpy(A):

print('modelview matrix = ')
print(modelview)

2 changes: 1 addition & 1 deletion render.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
FOCAL_LENGTH_IN = args.focal_length_in
FOV_ANGLE_DEG = 54.611362

from pandac.PandaModules import *
from panda3d.core import *

loadPrcFileData('', 'win-size %d %d'%(WIDTH, HEIGHT))
loadPrcFileData('', 'win-fixed-size #t')
Expand Down
10 changes: 7 additions & 3 deletions todo.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@

Would really be good:
1. write the camera matrices for each rendered views (corresponding to the ply files)
1. write the camera matrices for each rendered views (corresponding to the ply files)
2. share the code for downloading, converting to .ply and rendering the models. (done)

less important:
3. get the ply model for 'bec78ebd204764f637a0eda928b574d2' (done)
4. redo the sampling and rendering to have the exact same orientations (real orientation, including orientation_theta_deg) for all the chairs and avoid having img_1==img_31 and img_32==img_63
4. redo the sampling and rendering to have the exact same orientations
(real orientation, including orientation_theta_deg) for all the chairs
and avoid having img_1==img_31 and img_32==img_63

the point was not clear: you had 2 different view angles sets in 'renders' and 'renders_norm_left', and it turns out the ones from the 'renders' are important, but you don't have it for all chairs
the point was not clear: you had 2 different view angles sets in 'renders'
and 'renders_norm_left', and it turns out the ones from the 'renders' are important,
but you don't have it for all chairs