zoukankan      html  css  js  c++  java
  • Tips on Hair and Final gathering

    When rendering hair with the raytracer, mental ray uses the ray origin to generate a temporary, flat surface which is as ray-facing as possible while lying on the hair axis. A corresponding normal is generated. When rendering with the rasterizer, the hair geometry is converted to camera-facing geometry, and intersected in the same manner as other geometric types. Note that a switch from the latter to the former is performed if both the rasterizer and the raytracer are active. Hair intersections cannot happen on the same hair strand twice in a row, thus avoiding surface acne from this switch. This does have the consequence that individual hair strands cannot cast shadows on themselves.

    MasterZap

    09-16-2008, 05:56 AM

    Is the adaptivity based on some contrast threshold in screen space?


    Yes.

    2) Does the number of specular FG reflections and refractions as defined in the render settings only apply to the primary FG rays traced into the hemisphere or does it also apply to the initial FG points projected into the scene so that they can go through multiple specular bounces/refractions?


    The "reflection" and "refraction" FG bounces apply to the primary bounces in the scene, to how "deep" it creates FG points in the prepass. The FG rays *themselves* only bounce diffusely, and are guided by the diffuse bounces amount.



    3) Is interpolation at render time between FG points done in object or screen space?


    World space, pretty much, but there are different modes. The "automatic" (default in 3ds Max) basically uses the "N nearest in worldspace".

    MR 3.5. As I understood they are beneficial for reducing the number of final gather rays and they can better handle surfaces with bump mapping. Any other benefits?
    And do they replace Ward's Irradiance Gradients or is it just an add-on?


    They are very similar to Ward's Irradiance Gradients.

    They don't really reduce the number of rays, but they reduce the number of FG *points* needed to resolve a bumpy surface. Now, it creates the FG using the un-bumped normal, and stores it directionally, and at render time applies the bump to look up into this directional storage.

    Back in mental ray 3.3 it created FG based on the bumped normal, stored a simple color, so to resolve a bumpy surfaec, adaptivity had to kick in and create a ton of super-detailed FG points, which was very bad for performance.

  • 相关阅读:
    jQuery选择器大全
    MVC自定义数据验证(两个时间的比较)
    SQLServer开发总结
    疯狂的订餐系统软件需求分析挑战之旅1
    疯狂的订餐系统软件需求分析挑战之旅2
    net中C#自动化调用Word的实例总结
    软件开发中代码自动化的一点浅见
    代码自动化(1)开篇
    代码自动化(2)程序设计
    Excel 手机号码、身份证 等信息 导入到SQL2005 中,转换成字符是自动变成 科学计数法 的解决方法
  • 原文地址:https://www.cnblogs.com/len3d/p/1718934.html
Copyright © 2011-2022 走看看