FullSceneMotionBlur_src_demo
MáS 

所属分类:2D图形编程
开发工具:C/C++
文件大小:3190KB
下载次数:2
上传日期:2010-03-21 10:11:25
上 传 者timboy
说明:  The texture used for the motion blur is d In the demo application, the following keys are usable: * s - for changing the rendered scene. * t - for changing the FirstRenderTexture flag that is passed to the RenderToMotionBlurTexture procedure. * w - for wireframe rendering. * m - for the use of motion blur or not. * press a and then + or - to adjust the alpha intensity. Note that the demo runs with GLUT. Points of Interest This method is very useful especially when doing full scene motion blur. If this method is used just for a single object then it is recommended to use masking. License
(The texture used for the motion blur is defined in the core (main) module and is exported in all the other modules. But the processing is made in the motionblur module. There are three procedures: 1. int CreateMotionBlurTexture(int quality, int interpolation) - creates the motion blur texture and is recommended to be called into the init procedure. 2. void RenderToMotionBlurTexture(bool FirstRenderTexture, int SceneFunc()) - "renders" the SceneFunc() onto the motion blur texture together with the previous frame. The boolean flag specifies if the previous frame is rendered first or not (see the background point). 3. void ShowMotionBlurTexture() - is like a flush procedure, it displays onto the screen the final result. )

文件列表:
FullSceneMotionBlur_src_demo (0, 2010-03-16)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur (0, 2010-03-16)
FullSceneMotionBlur_src_demo\FullSceneMotionBlurDemo (0, 2010-03-16)
FullSceneMotionBlur_src_demo\FullSceneMotionBlurDemo\Data (0, 2010-03-16)
FullSceneMotionBlur_src_demo\FullSceneMotionBlurDemo\Data\tunnel.bmp (49206, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlurDemo\New OpenGL Shell.exe (61440, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Data (0, 2010-03-16)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Data\tunnel.bmp (49206, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Full Scene Motion Blur.sln (930, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\FullSceneMotionBLur.vcproj (4261, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Headers (0, 2010-03-16)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Headers\core.h (1280, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Headers\glBasic.h (370, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Headers\glDraw.h (121, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Headers\keyboard.h (166, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Headers\motionblur.h (198, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Headers\texture.h (605, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Headers\tunnel.h (620, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Release (0, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Sources (0, 2010-03-16)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Sources\core.cpp (2854, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Sources\glBasic.cpp (2273, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Sources\glDraw.cpp (4856, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Sources\keyboard.cpp (1933, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Sources\motionblur.cpp (4347, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Sources\texture.cpp (3995, 2005-04-27)
FullSceneMotionBlur_src_demo\FullSceneMotionBlur\Sources\tunnel.cpp (5130, 2005-04-27)
FullSceneMotionBlur_src_demo\Linux C_programme (0, 2010-03-16)
FullSceneMotionBlur_src_demo\Linux C_programme\code (0, 2010-03-16)
FullSceneMotionBlur_src_demo\Linux C_programme\code\chapter02 (0, 2010-03-16)
FullSceneMotionBlur_src_demo\Linux C_programme\code\chapter02\gdb.c (345, 2007-04-03)
FullSceneMotionBlur_src_demo\Linux C_programme\code\chapter02\hello.c (167, 2007-04-03)
FullSceneMotionBlur_src_demo\Linux C_programme\code\chapter02\hello.h (95, 2007-04-03)
FullSceneMotionBlur_src_demo\Linux C_programme\code\chapter02\test.c (284, 2007-04-03)
FullSceneMotionBlur_src_demo\Linux C_programme\code\chapter06 (0, 2010-03-16)
FullSceneMotionBlur_src_demo\Linux C_programme\code\chapter06\pointer1.c (701, 2007-04-03)
FullSceneMotionBlur_src_demo\Linux C_programme\code\chapter06\pointer2.c (761, 2007-04-03)
FullSceneMotionBlur_src_demo\Linux C_programme\code\chapter06\pointer3.c (553, 2007-04-03)
FullSceneMotionBlur_src_demo\Linux C_programme\code\chapter06\pointer4.c (315, 2007-04-03)
FullSceneMotionBlur_src_demo\Linux C_programme\code\chapter06\pointer5.c (414, 2007-04-03)
... ...

近期下载者

相关文件


收藏者