zoukankan      html  css  js  c++  java
  • Master RenderMan Procedural Primitive DSO

    RenderMan提供了丰富的程序化生成几何体的方法,包括基于外部程序的RIB生成、基于DSO的直接RI接口调用等。我将通过制作一个直接渲染Karakatoa的PRT粒子文件来演示如何制作类似的插件提高制作效率。本文的DSO在VC8 32bit编译器下编译,在RPS 13.5.2以及Aqsis 1.6.0下得到的结果完全相同。下面是一个起步的DSO用来生成3D Sobol序列并显示出来。

    Code

    这是在Maya中建模的粒子模型,导出为PRT格式的文件,而后使用DSO读取后直接渲染之。



    RenderMan supports to generate procedural primitives dynamically, based on both external stdin/stdout execute or DSO. The first is less efficient because the render has to parse the RIB into RI calls again. I will show you how to use this feature to render Karakatoa particles from an PRT file in RenderMan-like render. This DSO has been tested in RPS 13.5 and Aqsis 1.6. Let's begin from an tiny DSO which generate 3D Sobol quasi-random sequence. We made the particles in Maya, exported it as PRT file, and then rendered it by DSO directly.
  • 相关阅读:
    异常与中断
    ARM linux开发之Ubuntu上串口终端
    linux基础之Makefile基础
    STM32F104ZET6之ucosⅢ下adc
    STM32F104ZET6之ucosⅢ临界区保护与互斥锁的区别
    STM32F104ZET6之ucosⅢ临界区保护
    STM32F104ZET6之ucosⅢ常用函数
    QT5 mouseMoveEvent事件
    QT5 sqlite3的使用
    QT5 拖拽事件
  • 原文地址:https://www.cnblogs.com/Jedimaster/p/1582070.html
Copyright © 2011-2022 走看看