CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - glut m
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - glut m - List
[
OpenGL program
]
OPENGL_MFC_TUTORIALS
DL : 0
it has been assumed that the reader has a fundamental Windows programming background and is also familiar with the Microsoft Foundation Classes (MFC). The reader need not have any background in OpenGL. All the code for these tutorials has been written using Visual C++ 6.0. As we discuss each tutorial we would be using Visual C++, OpenGL and Glut libraries to create the programs. We will also create a general and reusable framework for writing OpenGL applications for Windows using MFC. This framework would be useful for writing future OpenGL programs without worrying about rewriting all the boilerplate code each time. Also note that these tutorials do not cover everything about OpenGL.
Date
: 2025-07-15
Size
: 3.63mb
User
:
vivek
[
2D Graphic
]
FullSceneMotionBlur_src_demo
DL : 0
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.
Date
: 2025-07-15
Size
: 3.12mb
User
:
欧阳西
[
OpenGL program
]
glut_MFC_Std
DL : 0
只是一个简单的基于MFC的OpenGL编程。有基本的对鼠标键盘的影响处理-An MFC program using OpenGL, you can moving a Cube box with arrow key, drug mouse to rotate with left button down. Wheel with left button down to scale box.
Date
: 2025-07-15
Size
: 8.94mb
User
:
曾大海
[
GDI-Bitmap
]
solar_systemsource
DL : 0
Opengl编程,使用GLUT实现window, Camera使用4个vector实现. WASD和IJKL实现方向控制;QE可控制偏航;+,-可控制速度;M可以增加月球;O可控制轨道线开关;所有星体表面带有texture。更多细节请阅读源程序。-Opengl programming, using GLUT achieve window, Camera using four vector realize WASD and IJKL achieve directional control QE can control the yaw +,- can control the speed . M can increase the moon O rail line switch can be controlled all the planets surface with texture. For more details, please read the source.
Date
: 2025-07-15
Size
: 3.34mb
User
:
landon
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.