文件名称:pareng
- 所属分类:
- DirextX编程
- 资源属性:
- [Windows] [Visual C] [Basic/ASP] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 158.64kb
- 下载次数:
- 0次
- 提 供 者:
- wan****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
We have our classes ready, time to start writing the actual code.
Point primitives are not much different from the other primitive types available (triangle strips, lists, etc.). We can still choose what vertex shader we use.
A vertex shader tells DirectX about what type of vertices it can expect - such as whether they are already transformed, if they have a diffuse color, and so on. Since I m mainly aiming this tutorial at 2D gaming, I m going to use slightly customized TL vertices. This stands for Transformed and Lit, which means the vertices already are transformed and that the lighting color has already been computed. So an X of 300 will be 300 on the screen, and the vertex color will be the final color.-We have our classes ready, time to start writing the actual code. Point pri mitives are not much different from the other pr imitive types available (triangle strips, lists, etc.). . We can still choose what we vertex shader use. A vertex shader tells DirectX about what ty pe of vertices it can expect - such as whether the y are already transformed. if they have a diffuse color, and so on. Since I m mainly aiming this tutorial a t 2D gaming, I m going to use slightly customized TL vertices . This stands for Transformed and Lit. which means the vertices are already transform ed and that the lighting color has already been c omputed. So an X of 300 will be 300 on the screen. and the vertex color will be the final color.
Point primitives are not much different from the other primitive types available (triangle strips, lists, etc.). We can still choose what vertex shader we use.
A vertex shader tells DirectX about what type of vertices it can expect - such as whether they are already transformed, if they have a diffuse color, and so on. Since I m mainly aiming this tutorial at 2D gaming, I m going to use slightly customized TL vertices. This stands for Transformed and Lit, which means the vertices already are transformed and that the lighting color has already been computed. So an X of 300 will be 300 on the screen, and the vertex color will be the final color.-We have our classes ready, time to start writing the actual code. Point pri mitives are not much different from the other pr imitive types available (triangle strips, lists, etc.). . We can still choose what we vertex shader use. A vertex shader tells DirectX about what ty pe of vertices it can expect - such as whether the y are already transformed. if they have a diffuse color, and so on. Since I m mainly aiming this tutorial a t 2D gaming, I m going to use slightly customized TL vertices . This stands for Transformed and Lit. which means the vertices are already transform ed and that the lighting color has already been c omputed. So an X of 300 will be 300 on the screen. and the vertex color will be the final color.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 107215769pareng.rar 列表 Source Source\source Source\source\colAnimatedSign.cls Source\source\colAtomic.cls Source\source\colBlueExplosion.cls Source\source\colBlueThrust.cls Source\source\colBlueTwirl.cls Source\source\colFireFX.cls Source\source\colFireyHeart.cls Source\source\colGalaxy.cls Source\source\colGreenPlasma.cls Source\source\colRedFlower.cls Source\source\colRedTwirl.cls Source\source\colSmokeFX.cls Source\source\colWormhole.cls Source\source\d3dinit.bas Source\source\d3dutil.bas Source\source\frmMain.frm Source\source\mdlDeclarations.bas Source\source\mdlDirectX.bas Source\source\Particle.bmp Source\source\Particle.cls Source\source\Particle2.bmp Source\source\Particles.exe Source\source\Particles.vbp Source\source\Particles.vbw Source\source\MSSCCPRJ.SCC Source\GameDev_net -- A Simple Point Sprite Based Particle Engine.htm Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\gdlogo2.gif Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\clear.gif Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\pointsprite.png Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\dotsm.gif Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\download.gif Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\print.gif Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\discuss.gif Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\imgFireFX.jpeg Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\firetex1.jpeg Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\firetex2.jpeg Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\imgParticle.jpeg Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\total.jpeg Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\line.gif Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\global.html Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\global.js Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\Thumbs.db