Projecting a 2d (flat) image onto a 3d scene
in
Programming Questions
•
3 years ago
Hey all,
I've been learning Processing for a while, working through Ben Fry's book, building some personal projects, and going through online tutorials etc.
I'm hitting a wall with 3D stuff, particularly projections/transformations in 3D, and wonder if someone could point me in the direction of some good online references.
For example, I'm currently exploring AR in Processing, inspired by the O'Reilly Answers article here.
What I'd like to do is (using the previous article as a starting point) project a 2d image onto the QR code within the 3d scene, so that it gels seamlessly with the scene, and I've no idea really how to begin to work out the necessary transforms to do that.
I've been doing some reading around orthographic projection, but that seems to relate to mapping 3d onto 2d, whereas I need to do the opposite, I think?
Any suggestions on where to start?
Many, many thanks!
Steve
I've been learning Processing for a while, working through Ben Fry's book, building some personal projects, and going through online tutorials etc.
I'm hitting a wall with 3D stuff, particularly projections/transformations in 3D, and wonder if someone could point me in the direction of some good online references.
For example, I'm currently exploring AR in Processing, inspired by the O'Reilly Answers article here.
What I'd like to do is (using the previous article as a starting point) project a 2d image onto the QR code within the 3d scene, so that it gels seamlessly with the scene, and I've no idea really how to begin to work out the necessary transforms to do that.
I've been doing some reading around orthographic projection, but that seems to relate to mapping 3d onto 2d, whereas I need to do the opposite, I think?
Any suggestions on where to start?
Many, many thanks!
Steve
2