From: <ba...@us...> - 2008-11-23 16:11:44
|
Revision: 35 http://scrupp.svn.sourceforge.net/scrupp/?rev=35&view=rev Author: basique Date: 2008-11-23 16:11:32 +0000 (Sun, 23 Nov 2008) Log Message: ----------- - reduced required number of bits per OpenGL color component from 8 to 5 -> this should make Scrupp work on more platforms - new functions to influence the appearance of all images and drawings rendered afterwards: - scrupp.translateView(x, y) - scrupp.scaleView(sx, sy) - scrupp.rotateView(angle) - scrupp.saveView() - scrupp.restoreView() - scrupp.resetView() These functions wrap the OpenGL functions and therefore change the OpenGL state. - new function to load an image from a string: - scrupp.addImageFromString(str) - new module for movie playback This module uses SMPEG. restrictions: - supports MPEG-1 videos only - no audio support (extract and play in parallel) - no aspect ratio correction (scale it manually) functions: - scrupp.addMovie(<mpeg file>) - movie:play(<loop (true/false)>) - movie:pause() - movie:resume() - movie:rewind() - movie:skip(<time in seconds>) - movie:getInfo() (see source code) - movie:isPlaying() - movie:setAlpha(<alpha>) - movie:getAlpha() - movie:renderFrame(<framenumber>) - movie:render() This function has the same features as image:render(). features: rotation, scaling, clipping, coloring - movie:remove() (Without waiting for garbage collection) Modified Paths: -------------- trunk/Makefile trunk/src/Graphics.c trunk/src/Graphics.h trunk/src/Main.c Added Paths: ----------- trunk/src/Movie.c trunk/src/Movie.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |