Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - create object
Search - create object - List
现在市面上流行的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
Date : 2008-10-13 Size : 646.83kb User : 倪明

现在市面上流行的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
Date : 2026-01-09 Size : 647kb User : 倪明

DL : 0
精通DirectX 3D图形与动画程序设计 第2章 Direct3D程序设计基础 18 2.1 相关基础知识 18 2.2 Direct3D体系结构 19 2.3 Direct3D对象 21 2.4 Direct3D设备对象 21 2.4.1 Direct3D设备类型 21 2.4.2 创建Direct3D设备对象 23 2.5 Direct3D程序基本结构 25 2.6 最简单的Direct3D程序 25 2.6.1 工程项目和开发环境设置 29 2.6.2 创建窗口 31 2.6.3 初始化Direct3D 31 2.6.4 消息循环 33 2.6.5 渲染图形 34 2.6.6 结束Direct3D程序 36 2.7 Direct3D设备对象深入探讨 36 2.8 Direct3D表面 42 2.9 小结 47 -Proficient in DirectX 3D graphics and animation program design in Chapter 2 Direct3D Programming 18 2.1 basic foundation of knowledge related 18 2.2 Direct3D Architecture 19 2.3 Direct3D object 21 2.4 Direct3D device object 21 2.4.1 Direct3D device type 21 2.4.2 create Direct3D device object 23 2.5 Direct3D process 25 2.6 The basic structure of the simplest procedures Direct3D projects 25 2.6.1 and 29 2.6.2 development environment setup window 31 to create Direct3D 31 2.6.4 Initialization 2.6.3 news cycle 33 2.6.5 rendering graphics 34 2.6 .6 The End Direct3D procedures 36 2.7 Direct3D device object depth 36 2.8 Direct3D surface 42 2.9 Summary 47
Date : 2026-01-09 Size : 28kb User : Diego Guo

坦克大战的简陋单机版,能够四处移动 能够打击敌人,敌人能够移动,能够模拟爆炸,能够产生障碍,能够增长生命。通过这个小程序熟悉j2se的使用,初步掌握面向对象编程的基本思想。 -Battle City for simple stand-alone version that can move around to attack the enemy, the enemy can move, to simulate the explosion, to create an obstacle to growth in life. With this small program are familiar with the use of j2se initial grasp the basic idea of ​ ​ object-oriented programming.
Date : 2026-01-09 Size : 110kb User : 余晓龙

 男人撑过二十秒源码android版,使用重力感应器来操控游戏。玩家要躲避丑女人,用到了Android检测碰撞技术,检测两个圆是否相交,如果出了边界就抛异常,看向一个人, 一般用于在刚刚出来的时候,将自己的方向朝向男人,检测与另一个人是否碰撞,学习游戏编写时定义各种控制器、游戏面板、感应器管理器、创建控制器及面板对象并关连、将事件交由controller捕获处理、系统初始化等。 -Men get through twenty seconds source android version, use the gravity sensor to control the game. Players who want to escape the ugly, use the Android collision detection technology to detect whether the intersection of two circles, if out of the border to throw an exception, look to a person, generally used in the just came out, his orientation toward man, detection whether the collision with another person, learning the game of writing define various controllers, game board, sensors Manager, create the controller and the panel object and connected, the event captured by controller processing, system initialization.
Date : 2026-01-09 Size : 75kb User : eric

一个Java聊天程序服务端和客户端程序,C/S结构,ChatServer 类实现了一个聊天室服务器端, 此类有一个构造器, 在构造器中使用newServerSocket()建立一个Socket 连接。RunServer()方法中运行聊天服务,通过Socket 类的getInetAddress().getHostName() 方法获得主机名, 建立新的ChatHandler 对象实例, 在synchronized (clients)中取得与客户端的同步。内部类ChatHandler 继承了Thread 类,在此线程run()方法中处理一次交谈。Close()方法关闭与客户端的连接。   ChatRoom 类继承了Applet,在init()中通过new Frame()创建聊天窗体,并在此窗体中设置窗体布局。在login()方法中,通过new Socket(serverHost, port)建立与服务器的连接,通过new Thread()产生新的聊天线程。在logout()方法中,使用sock.close()关闭连接。-A Java chat server and client service procedures, C/S structure, ChatServer class implements a chat room on the server side, such a constructor, use newServerSocket in the constructor () to create a Socket connection. RunServer () method to run the chat service, (). GetHostName () method to get the host name through the Socket class getInetAddress, create a new ChatHandler object instance, to synchronize with the client synchronized (clients) in. Internal class ChatHandler inherited Thread class, in this thread run () method of processing a conversation. Close () method closes the connection with the client. ChatRoom class inherits Applet, () to create a chat window by new Frame init () in, and set the form layout in this form. In the login () method to establish a connection with the server via new Socket (serverHost, port), to generate new chat thread through new Thread (). In the logout () method, using sock.close () closes the connection.
Date : 2026-01-09 Size : 6kb User : heibao
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.