首页> 外文会议>Practical aspects of declarative languages >A Declarative API for Particle Systems
【24h】

A Declarative API for Particle Systems

机译:粒子系统的声明性API

获取原文
获取原文并翻译 | 示例

摘要

Recent trends in computer-graphics APIs and hardware have made it practical to use high-level functional languages for real-time graphics applications. Thus we have the opportunity to develop new approaches to computer graphics that take advantage of the high-level features of functional languages. This paper describes one such project that uses the techniques of functional programming to define and implement a combinator library for particle systems. Particle systems are a popular technique for rendering fuzzy phenomena, such as fire, smoke, and explosions. Using our combinators, a programmer can provide a declarative specification of how a particle system behaves. This specification includes rules for how particles are created, how they evolve, and how they are rendered. Our library translates these declarative specifications into a low-level intermediate language that can be compiled to run on the GPU or interpreted by the CPU.
机译:计算机图形学API和硬件的最新趋势使在实时图形应用程序中使用高级功能语言变得切实可行。因此,我们有机会开发新的计算机图形方法,以利用功能语言的高级功能。本文介绍了一个这样的项目,该项目使用函数式编程技术来定义和实现粒子系统的组合器库。粒子系统是一种用于渲染模糊现象的流行技术,例如火,烟和爆炸。使用我们的组合器,程序员可以提供粒子系统如何行为的声明性规范。该规范包括有关如何创建粒子,如何演化粒子以及如何渲染粒子的规则。我们的库将这些声明性规范转换为可编译为在GPU上运行或由CPU解释的低级中间语言。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号