CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - INT 1
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - INT 1 - List
[
2D Graphic
]
Cphoto
DL : 0
int gdriver=DETECT, gmode, errorcode struct arccoordstype arcinfo int midx, midy int stangle=45,endangle=270 char sstr[80],estr[80] -int gdriver = DETECT, gmode, errorcode struct arccoordstype arcinfo int midx, midy int stangle = 45, endangle = 270 char sstr [80], estr [80]
Date
: 2026-01-07
Size
: 1kb
User
:
ly
[
2D Graphic
]
Explosion
DL : 0
as3.0 模拟爆炸 package { import flash.display.BitmapData import flash.geom.ColorTransform public class Explosion { /* EXPLOSION PARAMETERS */ //-- START VALUES private const EXPLOSION_RADIUS: int = 24 private const EXPLOSION_MAX_VELOCITY: Number = 2 private const EXPLOSION_MAX_HEAT: int = 2 // causes particles to move up private const PARTICLE_CHAOTIC_MOVE: Number = .1825 private const PARTICLE_DAMP_MOVE: Number = .99 private const PARTICLE_DAMP_ENERGIE: Number = .99 //-- AMOUNT private const P_COUNT: int = 3000 private const PCOUNT_EACH_FRAME: int = 100 -AS3.0 simulated explosive package (import flash.display.BitmapData import flash.geom.ColorTransform public class Explosion (/* EXPLOSION PARAMETERS*///START VALUES private const EXPLOSION_RADIUS: int = 24 private const EXPLOSION_MAX_VELOCITY: Number = 2 private const EXPLOSION_MAX_HEAT : int = 2// causes particles to move up private const PARTICLE_CHAOTIC_MOVE: Number = .1825 private const PARTICLE_DAMP_MOVE: Number = .99 private const PARTICLE_DAMP_ENERGIE: Number = .99// AMOUNT private const P_COUNT: int = 3000 private const PCOUNT_EACH_FRAME: int = 100
Date
: 2026-01-07
Size
: 225kb
User
:
mabingru
[
2D Graphic
]
Floyd-Steinberg
DL : 0
Floyd-Steinberg算法的源代码 用int类型的缓冲区存储新值是可行的-Floyd-Steinberg algorithm source code using int types of buffer storage is feasible new value
Date
: 2026-01-07
Size
: 2kb
User
:
an
[
2D Graphic
]
convconv
DL : 0
Int Conv Poly This code is described in "Computational Geometry in C" (Second Edition), Chapter 7. It is not written to be comprehensible without the explanation in that book.
Date
: 2026-01-07
Size
: 5kb
User
:
fds
[
2D Graphic
]
BarcodeXActiveX
DL : 0
BarcodeX ActiveX控件 能产生几乎所有类型的条形码。它可以和数据源绑定,用于数据库报告。条形码可以导出为位图,元文件,剪贴板等。支持的条形码格式有:EAN-13、 EAN-8、EAN-2、EAN-5、UPC-A、UPC-E、Code39、Code39 Ext、Code93、 Code 128、EAN-128、ISSN、ISBN、Plessey、Code11、Code25、Code25 Int.、Codebar 甚至PDF417 2维条形码-barcode activex
Date
: 2026-01-07
Size
: 1.11mb
User
:
KennyYao
[
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
: 2026-01-07
Size
: 3.12mb
User
:
欧阳西
[
2D Graphic
]
CAISESHIZHONG
DL : 0
彩色时钟#include<math.h> #include<dos.h> #include<graphics.h> #define CENTERX 320 #define CENTERY 175 #define CLICK 100 #define CLICKDELAY 30 #define HEBEEP 10000 #define LOWBEEP 500 #define BEEPDELAY 200 int Mrk_1[8]={-5,-160,5,-160,5,-130,-5,-130, } int Mrk_2[8]={-5,-160,5,-160,2,-130,-2-130, } int HourHand[8]={-3,-100,3,-120,4, 10,-4,10} int MiHand[8]={-3,-120,3,-120,4, 10,-4,10} int SecHand[8]={-2,-150,2,-150,3, 10,-3,10} -#include<math.h> #include<dos.h> #include<graphics.h> #define CENTERX 320 #define CENTERY 175 #define CLICK 100 #define CLICKDELAY 30 #define HEBEEP 10000 #define LOWBEEP 500 #define BEEPDELAY 200 int Mrk_1[8]={-5,-160,5,-160,5,-130,-5,-130, } int Mrk_2[8]={-5,-160,5,-160,2,-130,-2-130, } int HourHand[8]={-3,-100,3,-120,4, 10,-4,10} int MiHand[8]={-3,-120,3,-120,4, 10,-4,10} int SecHand[8]={-2,-150,2,-150,3, 10,-3,10}
Date
: 2026-01-07
Size
: 1kb
User
:
徐
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.