Description: 现在市面上流行的3D游戏画面越来越炫目,不过也有一些为了营造一种特殊的效果而使用了卡通渲染技术,比如PC游戏中的《杀手XIII》,《忍者神龟》;PS2游戏中的《真红之泪》,《犬夜叉》等等。这些游戏的画面看上去很像漫画,感觉比较有趣。下面就介绍一种简单的实现方法。
所谓用卡通渲染技术绘制的三维物体一般都有两个明显的特征,一个特征是物体表面覆盖着大块的单调颜色,而且光影变化比较剧烈;另一个特征是物体拥有粗重的边缘效果。如果能自己控制光照和阴影,就可以达到目的。而DirectX 9.0 中的顶点渲染(Vertex Shaders)提供了这样一个途径,使我们可以实现自己的想法。
顶点渲染与以前的T&L在渲染流程中处于二选一的地位,一段代码最多只能有128条指令,而且不能有循环,判断和跳转指令,全是线性执行指令。每次只能有一个Shader程序是激活的,Vertex Shaders让我们可以实时地控制模型的空间变换,光照处理以及像素渲染。
那么现在先来解决第一个问题。我们可以用光线的亮度值作为物体的纹理坐标,这就产生一种带状纹理的效果,然后再调整相应的颜色即可。-now the fashion for 3D games more compelling picture, But there are also some in order to create a special effect and the use of the cartoon rendering technology, PC games such as the "killer XIII," "Turtles"; PS2 game of "truth red tears," "two characters." These games comic picture looks like, I feel more interesting. Now, on a simple method. Using the so-called cartoon rendering of 3D rendering objects normally have two obvious feature a surface characteristics of an object covered with chunks of dull colors, but more dramatic changes in the Universe; Another characteristic is heavy objects have the edge effect. If the ability to control their own light and shadow, we can achieve the aim. DirectX 9.0 vertex Rendering (Vertex Shaders) provide such Platform: |
Size: 662353 |
Author:倪明 |
Hits:
Description: 现在市面上流行的3D游戏画面越来越炫目,不过也有一些为了营造一种特殊的效果而使用了卡通渲染技术,比如PC游戏中的《杀手XIII》,《忍者神龟》;PS2游戏中的《真红之泪》,《犬夜叉》等等。这些游戏的画面看上去很像漫画,感觉比较有趣。下面就介绍一种简单的实现方法。
所谓用卡通渲染技术绘制的三维物体一般都有两个明显的特征,一个特征是物体表面覆盖着大块的单调颜色,而且光影变化比较剧烈;另一个特征是物体拥有粗重的边缘效果。如果能自己控制光照和阴影,就可以达到目的。而DirectX 9.0 中的顶点渲染(Vertex Shaders)提供了这样一个途径,使我们可以实现自己的想法。
顶点渲染与以前的T&L在渲染流程中处于二选一的地位,一段代码最多只能有128条指令,而且不能有循环,判断和跳转指令,全是线性执行指令。每次只能有一个Shader程序是激活的,Vertex Shaders让我们可以实时地控制模型的空间变换,光照处理以及像素渲染。
那么现在先来解决第一个问题。我们可以用光线的亮度值作为物体的纹理坐标,这就产生一种带状纹理的效果,然后再调整相应的颜色即可。-now the fashion for 3D games more compelling picture, But there are also some in order to create a special effect and the use of the cartoon rendering technology, PC games such as the "killer XIII," "Turtles"; PS2 game of "truth red tears," "two characters." These games comic picture looks like, I feel more interesting. Now, on a simple method. Using the so-called cartoon rendering of 3D rendering objects normally have two obvious feature a surface characteristics of an object covered with chunks of dull colors, but more dramatic changes in the Universe; Another characteristic is heavy objects have the edge effect. If the ability to control their own light and shadow, we can achieve the aim. DirectX 9.0 vertex Rendering (Vertex Shaders) provide such Platform: |
Size: 662528 |
Author:倪明 |
Hits:
Description: Ageia s PhysX(著名的游戏物理库) D3D 9使用演示代码。由于PhysX物理库使用OpenGL代码实现图形着色,从而使许多用DirectX 3D的程序员不能使用/读懂demo代码,这是使用D3D着色引擎重新写的一些demo代码。-Ageia s PhysX (well-known game physics library) D3D 9 using the demo code. PhysX physics library as a result of the use of OpenGL graphics rendering code so that many use the DirectX 3D programmer can not use/read demo code, which is the use of D3D shaders to re-write some demo code. Platform: |
Size: 59392 |
Author:GoldenCloud |
Hits:
Description: 国外经典教材 GPU编程的最好入门书籍,使用renderMonkey开发图像处理-Foreign classic textbook Introduction to GPU programming the best books, the use of the development of image processing renderMonkey Platform: |
Size: 6789120 |
Author:沧海书云 |
Hits:
Description: 《Shaders.for.Game.Programmers.and.Artists》这本书的源代码,网上很难找的。-Shaders.for.Game.Programmers.and.Artists This book is the source code, it is difficult to find online. Platform: |
Size: 14761984 |
Author:张龙 |
Hits:
Description: 《Shaders for Game Programmers and Artists》及随书源代码,好艰难才搜集到的,本书对Shader入门非常有用-Shaders for Game Programmers and Artists and the book s source code, so difficult to collect it, and this book very useful entry on the Shader Platform: |
Size: 21552128 |
Author:陈雨 |
Hits:
Description: 这本书的重点就是shader-渲染,在3D游戏开发过程中,渲染是一个难点,也是一个重点,本书就是详细介绍如何渲染的书籍,从入门到高级。-the book is written for anybody who has some interest in the topic.Because the topics and techniques covered throughout this book are so varied,it is bound to be ofinterest to everybody from hobbyist programmers to professional shader developers.
Platform: |
Size: 6789120 |
Author:grape |
Hits:
Description: 书名: Introduction to 3D Game Programmingwith DirectX- 9.0c - A Shader Approach
经典的DirectX 9.0c入门书籍龙书的2006年新版本, 相比03年的那般增加了非常多的内容, 包含的技术足够让读者做出一个简单但完整的游戏. 这本书在网上一直只有一个chm的版本, 非常不便于阅读, 现在托亚马逊kindle的福, 官方电子书版出现, 本人有幸获得, 并在此分享. -Introduction to 3D Game Programming with DirectX 9.0c: A Shader Approach presents an introduction to programming interactive computer graphics, with an emphasis on game development, using real-time shaders with DirectX 9.0. The book is divided into three parts that explain basic mathematical and 3D concepts, show how to describe 3D worlds and implement fundamental 3D rendering techniques, and demonstrate the application of Direct3D to create a variety of special effects. With this book: Understand basic mathematical tools used in video game creation such as vectors, matrices, and transformations. Discover how to describe and draw interactive 3D scenes using Direct3D and the D3DX library. Learn how to implement lighting, texture mapping, alpha blending, and stenciling using shaders and the high-level shading language (HLSL). Explore a variety of techniques for creating special effects, including vertex blending, character animation, terrain rendering, multi-texturing, particle systems, Platform: |
Size: 9468928 |
Author:Kelyad |
Hits:
Description: 这是一本关于shader方面的书,是游戏与图形学上内容。-This is a book about shader of books, is the game and graphics content。 Platform: |
Size: 7036928 |
Author:叶在 |
Hits:
Description: 龙书。主要介绍如何使用DirectX 9.0开发交互式3D图形程序,重点是游戏开发。全书首先介绍了必要的数学工具,然后讲解了相关的3D概念。其他主题几乎涵盖了Direct3D中的所有基本运算,例如图元的绘制、光照、纹理、Alpha融合、模板,以及如何使用Direct3D实现游戏中所需的技术。介绍顶定点着色器和像素着色器的章节(包含了效果框架和新的高级着色语言的内容)对这些关键运算进行了较为集中的讨论。-Dragon Book. Describes how to use DirectX 9.0 for developing interactive 3D graphics program, focusing on game development. The book introduces the necessary mathematical tools, and then explain the concepts related to 3D. Other topics covered almost all of the basic operations in Direct3D, such as pixel mapping, light, texture, Alpha integration, templates, and how to use Direct3D technology needed to achieve the game. Introduction top spot shaders and pixel shaders chapters (includes results framework and a new high-level shading language content) for these critical operations for a more focused discussion. Platform: |
Size: 26108928 |
Author:yangtianxiong |
Hits:
Description: Introduction To 3D Game Programming With DirectX 10
学习Direct3D的经典好书。是英文版,2008出版。-Introduction to 3D Game Programming with DirectX 10 provides an introduction to programming interactive computer graphics, with an emphasis on game development, using DirectX 10. The book is divided into three main parts. Part I explores basic mathematical tools, Part II shows how to implement fundamental tasks in Direct3D, and Part III demonstrates a variety of techniques and special effects. With this book understand how vectors, matrices, and transfomations are used in the creation of computer games discover how to implement lighting, texture mapping, blending, and stenciling to increase the realism of your scenes explore techniques for creating special effects, including terrain rendering, shadow mapping, particle systems, and reflections learn about new Direct3D 10 features such as geometry shaders, the stream out pipeline stage, texture arrays, and primitive IDs test your knowledge and programming skills with the end-of-chapter exercises. Platform: |
Size: 21229568 |
Author:沈成浩 |
Hits: