Camera Matching or Mapping in Houdini
Camera Matching or Mapping
install fspy application
(to get focal length and cam settings of image) load image and set vanishing points axes x -z file -> export -> asdf.json
install nlib_fspy hda
download
https://github.com/Njordy/nLib/blob/master/otls/fspy_loader.hda
install, copy hda to otls dir
win
C:\Users\USERNAME\Documents\houdini19.0\otls
linux
/opt/hfs19.0.432/houdini/otls/
run
tab -> nLib -> fspycameraloader JSON File: SAVED-IMAGE-SETTINGS.json Setup image click Read File click Create Camera (then position objects in scene)
src
https://www.youtube.com/watch?v=-WM2hPerYts https://github.com/Njordy/nLib/blob/master/otls/fspy_loader.hda https://fspy.io/