cascardo/movie.git
15 years agoDoes not zoom out too much gdk
Thadeu Lima de Souza Cascardo [Sat, 16 Aug 2008 18:24:52 +0000 (15:24 -0300)]
Does not zoom out too much

15 years agoAdded a macro for frames per face
Thadeu Lima de Souza Cascardo [Sat, 16 Aug 2008 16:59:48 +0000 (13:59 -0300)]
Added a macro for frames per face

15 years agoZooms in and out of the faces
Thadeu Lima de Souza Cascardo [Sat, 16 Aug 2008 16:55:40 +0000 (13:55 -0300)]
Zooms in and out of the faces

15 years agoUse bilinear scale algorithm instead of hyper
Thadeu Lima de Souza Cascardo [Sat, 16 Aug 2008 16:07:38 +0000 (13:07 -0300)]
Use bilinear scale algorithm instead of hyper

15 years agoAdded support to get a constant number of frames between faces
Thadeu Lima de Souza Cascardo [Sat, 16 Aug 2008 16:01:16 +0000 (13:01 -0300)]
Added support to get a constant number of frames between faces

15 years agoOnly reschedules when moving and only draws the needed portion of window
Thadeu Lima de Souza Cascardo [Sat, 16 Aug 2008 15:28:17 +0000 (12:28 -0300)]
Only reschedules when moving and only draws the needed portion of window

15 years agoRescale points and use its individual scale to show image
Thadeu Lima de Souza Cascardo [Sat, 16 Aug 2008 15:11:49 +0000 (12:11 -0300)]
Rescale points and use its individual scale to show image

15 years agoStop over every face and only save the name for one point
Thadeu Lima de Souza Cascardo [Sat, 16 Aug 2008 15:04:59 +0000 (12:04 -0300)]
Stop over every face and only save the name for one point

15 years agoShows the set of points
Thadeu Lima de Souza Cascardo [Sat, 16 Aug 2008 14:49:19 +0000 (11:49 -0300)]
Shows the set of points

15 years agoExport public function to read points file
Thadeu Lima de Souza Cascardo [Sat, 16 Aug 2008 12:09:04 +0000 (09:09 -0300)]
Export public function to read points file

15 years agoFix some building issues
Thadeu Lima de Souza Cascardo [Sat, 16 Aug 2008 12:08:03 +0000 (09:08 -0300)]
Fix some building issues

15 years agoAdded Point struct and cleaned up line generation
Thadeu Lima de Souza Cascardo [Sat, 16 Aug 2008 12:03:49 +0000 (09:03 -0300)]
Added Point struct and cleaned up line generation

15 years agoAdded GTK+ widgets and shows a piece of the scaled image
Thadeu Lima de Souza Cascardo [Sat, 16 Aug 2008 04:37:40 +0000 (01:37 -0300)]
Added GTK+ widgets and shows a piece of the scaled image

15 years agoAdded a simple GDK example program, that loads and scales an image
Thadeu Lima de Souza Cascardo [Fri, 15 Aug 2008 22:48:25 +0000 (19:48 -0300)]
Added a simple GDK example program, that loads and scales an image

15 years agoRewrite this one later. optimization
Thadeu Lima de Souza Cascardo [Thu, 14 Aug 2008 19:12:36 +0000 (16:12 -0300)]
Rewrite this one later.

15 years agoAdded some functions to scale SDL Surfaces using cairo
Thadeu Lima de Souza Cascardo [Wed, 13 Aug 2008 22:50:45 +0000 (19:50 -0300)]
Added some functions to scale SDL Surfaces using cairo

15 years agoCalculates the points before showing the video
Thadeu Lima de Souza Cascardo [Wed, 13 Aug 2008 22:32:51 +0000 (19:32 -0300)]
Calculates the points before showing the video

Instead of calculating each point just before showing a frame, calculate
all of them and store them on an array that we use to get the next
center of image.

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.