[Bf-blender-cvs] CVS commit: blender/source/blender/include BIF_drawseq.h blender/source/blender/src drawseq.c
Campbell Barton
cbarton at metavr.com
Sun Jan 29 15:58:41 CET 2006
campbellbarton (Campbell Barton) 2006/01/29 15:58:41 CET
Modified files:
blender/source/blender/include BIF_drawseq.h
blender/source/blender/src drawseq.c
Log:
Fixed a few problems with wave drawing-
Optimized so only samples inside the screens bounds are drawn.
Wave display detail is based on zoom - so you can view realy large wave files as well as indervidual samples.
Changed logic so an approximation of the wave is displayed rather then just the symetrical amplitude of the sound.
Triangles at start and end were annoying and obscured the start of the sound. made them alpha 0.7 for sound clips only.
a whole CD of music should display well and zoom smoothly now.
Revision Changes Path
1.7 +2 -2 blender/source/blender/include/BIF_drawseq.h
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/include/BIF_drawseq.h.diff?r1=1.6&r2=1.7&cvsroot=bf-blender>
1.42 +118 -35 blender/source/blender/src/drawseq.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/drawseq.c.diff?r1=1.41&r2=1.42&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list