~ubuntu-branches/ubuntu/gutsy/compiz-fusion-plugins-main/gutsy

« back to all changes in this revision

Viewing changes to src/animation/magiclamp.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2007-06-25 14:53:30 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070625145330-279imp4j31n39ybp
Tags: 0.0.0+git20070625-0ubuntu1
new git snapshot (fixes animation plugin breakage)

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
35
35
 */
36
36
 
37
 
/*
38
 
 * TODO:
39
 
 *
40
 
 * - Auto direction option: Close in opposite direction of opening
41
 
 * - Proper side surface normals for lighting
42
 
 * - decoration shadows
43
 
 *   - shadow quad generation
44
 
 *   - shadow texture coords (from clip tex. matrices)
45
 
 *   - draw shadows
46
 
 *   - fade in shadows
47
 
 *
48
 
 * - Voronoi tessellation
49
 
 * - Brick tessellation
50
 
 * - Triangle tessellation
51
 
 * - Hexagonal tessellation
52
 
 *
53
 
 * Effects:
54
 
 * - Circular action for tornado type fx
55
 
 * - Tornado 3D (especially for minimize)
56
 
 * - Helix 3D (hor. strips descend while they rotate and fade in)
57
 
 * - Glass breaking 3D
58
 
 *   - Gaussian distr. points (for gradually increasing polygon size
59
 
 *                           starting from center or near mouse pointer)
60
 
 *   - Drawing cracks
61
 
 *   - Gradual cracking
62
 
 *
63
 
 * - fix slowness during transparent cube with <100 opacity
64
 
 * - fix occasional wrong side color in some windows
65
 
 * - fix on top windows and panels
66
 
 *   (These two only matter for viewing during Rotate Cube.
67
 
 *    All windows should be painted with depth test on
68
 
 *    like 3d-plugin does)
69
 
 * - play better with rotate (fix cube face drawn on top of polygons
70
 
 *   after 45 deg. rotation)
71
 
 *
72
 
 */
73
 
#include "animation.h"
74
 
 
 
37
#include "animation-internal.h"
75
38
 
76
39
void
77
40
fxMagicLampInitGrid(AnimScreen * as,
174
137
                model->magicLampWaveCount = 0;
175
138
}
176
139
 
177
 
void
 
140
static void
178
141
fxMagicLampModelStepObject(CompWindow * w,
179
142
                                                   Model * model,
180
143
                                                   Object * object,