Hi,
it’s possible to generate 3D model from 2d texture(photos) at runtime??
If yes can anyone help me to get started!!
Thank you
Well… Considering a 2D Texture is really just a grid of data, You could technically create a 3D model from a 2D image if the image had been created specially to work with your code. However, it’s not really possible to create a full 3D model from just one image. If you were to use a large number of photo’s you could create some sort of algorithm to read from a cubemap, but then again, those images cannot be images straight from a camera. You would have to edit the image before the algorithm could read it. But then again, you could edit the image in code.
Here’s a (sort of bad) idea; Make the images grey-scale and use the lighter parts as a sort of bump map and have it converted into 3D.
Sorry if this was a little bit vague, but there really isn’t much code available on the internet.