cascardo/movie.git
15 years agoScales must be multiplied by factor, not initial scale zoom
Thadeu Lima de Souza Cascardo [Fri, 15 Aug 2008 22:09:10 +0000 (19:09 -0300)]
Scales must be multiplied by factor, not initial scale

15 years agoTrying to scale to different sizes
Thadeu Lima de Souza Cascardo [Wed, 13 Aug 2008 03:42:39 +0000 (00:42 -0300)]
Trying to scale to different sizes

15 years agoScale is now a parameter to the program
Thadeu Lima de Souza Cascardo [Wed, 13 Aug 2008 00:29:08 +0000 (21:29 -0300)]
Scale is now a parameter to the program

15 years agoIgnore executable and input file
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 21:18:31 +0000 (18:18 -0300)]
Ignore executable and input file

15 years agoUse 2 seconds for a face and 100 FPS: they seem to be more reasonable
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 21:11:19 +0000 (18:11 -0300)]
Use 2 seconds for a face and 100 FPS: they seem to be more reasonable

15 years agoInstead of a timer, use delay
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 20:26:51 +0000 (17:26 -0300)]
Instead of a timer, use delay

Instead of using a timer, which may run on another thread, just simply
delay the number of milliseconds needed to keep up with the requested
frame rate.

15 years agoShows the name related to the face when stoping
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 20:09:45 +0000 (17:09 -0300)]
Shows the name related to the face when stoping

15 years agoRead the names of people from the file
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 19:48:19 +0000 (16:48 -0300)]
Read the names of people from the file

15 years agoStop for some seconds on every face
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 19:20:21 +0000 (16:20 -0300)]
Stop for some seconds on every face

Stops for five seconds on every face. It also changes the number of
frames per second to 4. It seems the CPU can't do all the work for
30FPS, and that's why the keyboard never seemed to work. The queue got
filled up with "drawing" events very fast.

15 years agoInitializes the video with the chosen resolution
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 18:29:42 +0000 (15:29 -0300)]
Initializes the video with the chosen resolution

15 years agoPrints some subtitles
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 18:22:20 +0000 (15:22 -0300)]
Prints some subtitles

15 years agoUse cairo to scale picture cairo
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 11:09:44 +0000 (08:09 -0300)]
Use cairo to scale picture

Cairo is now used to scale the picture. For now, it simply scales for
twice the real size. This will be used later for a feature of zooming in
and out of the picture.

15 years agoImplement a new function to get a new image based on the original
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 09:02:37 +0000 (06:02 -0300)]
Implement a new function to get a new image based on the original

This function will make it easier to simply overload it with a function
that scales the slices.

15 years agoReturn the center of the image instead of the top-left corner
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 08:10:15 +0000 (05:10 -0300)]
Return the center of the image instead of the top-left corner

15 years agoDo not use fullscreen in the development version.
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 07:53:22 +0000 (04:53 -0300)]
Do not use fullscreen in the development version.

15 years agoRead the points from a file.
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 07:48:34 +0000 (04:48 -0300)]
Read the points from a file.

15 years agoUse Bresenham to draw the line between faces
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 07:01:18 +0000 (04:01 -0300)]
Use Bresenham to draw the line between faces

This solves the problem of the slope and direction when drawing lines.

15 years agoMoves through a list of points
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 05:28:03 +0000 (02:28 -0300)]
Moves through a list of points

Given a list of points, it will loop over them and show each point
centered on the screen, moving in a straight line between them. However,
it only works with lines with a slope of one.

15 years agoShows a moving image
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 04:59:06 +0000 (01:59 -0300)]
Shows a moving image

It shows 30 frames per second of a piece of a image moving from its
top-left corner to its bottom-right corner.

15 years agoShows an image
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 03:36:06 +0000 (00:36 -0300)]
Shows an image

This simply shows an image from my home, without resizing it, until the
user presses a key.