P
P
projector2011-06-28 20:06:25
Adobe Flash
projector, 2011-06-28 20:06:25

Flash, 3d objects inside

The task was to make a complex flash drive. Initially, we have a video in which a hand waves a flag and a picture with an image printed on the flag. We need to make sure that the flash drive can upload a picture into itself and pull it onto the flag. The goal is to show thousands of checkboxes using one movie.

How I see the process. We shoot a video of a hand with a flag, then in some environment we mark each frame (maybe in a 3D editor we repeat the movements of the flag), as a result we get anchor points. Then we create a map of changes in the position of each each point of the flag and draw a picture over these points in a flash ...

Tell me, maybe everything is done much easier? How crooked and "blank" is my algorithm? Perhaps there are ready-made tools for this?

Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
ALiEN_QWERTY, 2011-06-28
@projector

How accurate is the image overlay?
If the flag, let's say, goes in waves from the air, then it's easier to make a second video file with the flag in a 3d editor with an overlay image. And make it so that it repeats all the movements of the flag in the first video file. Then overlay this video file on top of the first one.
If you need to overlay an image on a rectangular area on the flag, then it's easier to do this through point tracking, as you wrote.
Tracking can also be done in several ways, the first one:
1. Add a video file to the Flash IDE editor.
2. We create 4 objects and in each frame we move them in accordance with the movement of the flag in the video file.
3. We give each object a name by which the AS code will find the object and take its coordinates.
4. AS code takes the coordinates in each frame and moves/scales the image according to the coordinates of the tracking objects.
The second way:
1. Create tracking coordinates in a video editor and save them into metadata, into a video file with a flag.
2. We load this video file in the flash drive, where AS takes these tracking coordinates in each frame and moves / scales the picture in accordance with them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question