A
A
angelzzz2018-08-10 17:37:30
3D
angelzzz, 2018-08-10 17:37:30

Is there an out-of-the-box solution for creating a 3D image from a series of photographs?

There are 70+ photos of one item from different angles. How can I make one 3D image out of them. When you click on the button, they change each other in one direction, when you click on the other, in the other. It is clear that this should be as smooth as possible without large delays in uploading photos. Are there ready-made solutions?
UPD: Found - https://github.com/pisi/Reel

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Belyaev, 2018-08-10
@bingo347

I’ll make a reservation right away, a lot depends on the photos, their quality, the background behind the object (especially if you need to cut it out), camera shake when shooting (it’s better to shoot from a movable tripod on circular rails).
Most of the work will take the preparation of the texture that needs to be created from a series of photos. I think the Photomerge tool from Photoshop is best for this.
You can read it here: https://helpx.adobe.com/en/photoshop/using/create-...
Next we will draw on webGL (for simplicity, you can use the THREE.js library)
We create a cylinder on the scene (if we rotate only in 1 plane) or a sphere (in 3 planes) and stretch our texture on it. It is worth noting that slightly different textures are needed for a cylinder and a sphere, Photomerge can do both.
We place our figure on the stage so that the center of the scene coincides with the center of the figure. That is, at the point (0, 0, 0).
Next, we need a perspective camera, create it, place it at some distance from the center and point it to the center.
When rotating the figure, we operate purely with the position of the camera. We rotate it around the object so that the distance to the center does not change (in the case of a cylinder, this is a little easier, since the Z coordinate does not change, but in any case, knowledge of geometry will come in handy). With each move, do not forget to point the camera at the center of the figure again.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question