Reputation: 400
I have a calibration method that extracts from a static scene the projection matrix P = K[R | t] of the scene (where Z is the height and Z=0 is the ground plane).
My question is what the easiest way to plot a 3D object in this scene using the projection matrix P? A few years ago I made a similar code that used OSG to plot the object (however in that case I had estimates of the intrinsic and extrinsic parameters separately).
Do you guys know how to render the 3D in this case?
Upvotes: 0
Views: 420
Reputation: 11785
Define "easiest"? In opengl you can just set you projection matrix as the modelview, and start drawing. Caveats, the usual ones: make sure your viewport / clipping planes make sense.
Upvotes: 0