惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Security Affairs
S
Secure Thoughts
P
Proofpoint News Feed
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
S
Schneier on Security
V
Vulnerabilities – Threatpost
Security Archives - TechRepublic
Security Archives - TechRepublic
T
The Exploit Database - CXSecurity.com
A
Arctic Wolf
Latest news
Latest news
Hacker News - Newest:
Hacker News - Newest: "LLM"
AI
AI
T
Troy Hunt's Blog
H
Heimdal Security Blog
美团技术团队
Webroot Blog
Webroot Blog
P
Proofpoint News Feed
Hacker News: Ask HN
Hacker News: Ask HN
Google DeepMind News
Google DeepMind News
P
Privacy & Cybersecurity Law Blog
U
Unit 42
Google DeepMind News
Google DeepMind News
V2EX - 技术
V2EX - 技术
G
Google Developers Blog
N
News and Events Feed by Topic
Project Zero
Project Zero
The Register - Security
The Register - Security
N
Netflix TechBlog - Medium
IT之家
IT之家
月光博客
月光博客
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
N
News and Events Feed by Topic
Simon Willison's Weblog
Simon Willison's Weblog
L
Lohrmann on Cybersecurity
Schneier on Security
Schneier on Security
博客园_首页
Help Net Security
Help Net Security
AWS News Blog
AWS News Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Security @ Cisco Blogs
PCI Perspectives
PCI Perspectives
Cisco Talos Blog
Cisco Talos Blog
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
Docker
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
阮一峰的网络日志
阮一峰的网络日志
Spread Privacy
Spread Privacy
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Hacker News
The Hacker News

博客园 - Cloudage

测试:单、多帧自动拼块地图及视口卷动 测试了测试了,silverlight做游戏的可能性 IMH 这次的卡渲还算过得去 严重警告!关于D3D的渲染表面 今天开始研究Tiny 小改一下 这是一个关键……可是这个门槛我上不去了 恭贺本人加入KidFansChannel特别创作组 序列化 用Sprite做Billboard “应用程序LoaderLock”异常的引发和解决 漏图 玩家通过自主绘制法术阵来自定义法术的初步实现的思考 Billboard的旋转以及让物体面向一个点的一种方法 卡通渲染原理 游戏系统的结构是怎样的? 同层物体间的遮挡处理
优化……优化……
Cloudage · 2006-05-20 · via 博客园 - Cloudage

以下皆为最近才了解到的常识问题:

1、渲染场景的时候,不应该每个逻辑对象都拥有自己的mesh,而是应该所有相同的对象共用一个mesh。纹理也是如此,应该若干对象共用一个纹理。对于各种对象内部的工具性字段都应该共用。
2、递归是绣花枕头。坚决不用递归。
3、要用事件来触发,不要用轮询。

为了方便扩充和什么什么,要把引擎拆开。
内核为由用户启动的Client.EXE,它负责管理工具性字段和一切逻辑对象,但是所有逻辑对象的表现和行为它都不管。除此以外它监视输入设备,将监视结果传给Control以获得翻译后的逻辑对象行为指令,并将这些指令发给Server.DLL。
Control.DLL,这个模块接受Client传来的输入设备状态,并返回翻译后的行为指令。
Server.DLL,这个模块负责管理逻辑对象的互动。它接收Client里对象的行为,并通过Logic计算后返回行为后果。它应该可以连接多个Client。
Logic.DLL,这个模块包含游戏的逻辑,比如所有的计算公式。必要的时候它调用AI来返回计算结果。
AI.DLL,包括所有的AI,公用的工具性AI和用来对抗的战略AI。
ViewStyle.DLL,这个模块负责所有的表现工作,包括绘制和发声。但是它并不保存Device实例。所有表现原料都从Client接收。

合理……么?