zoukankan      html  css  js  c++  java
  • Environment/reflection mapping & bump mapping

    Environment/reflection mapping是指用于渲染一个object反射了周围场景的现象,比如一个杯子,我们看到他的时候,他的表面反射了周围的景象。

    environment/reflection mapping 常用的方法是cube mapping或者sphere mapping。

    environment/reflection mapping与ray tracing的区别在于前者无法反射自身的component,如下图

    但是人的大脑其实不太能区分出environment/reflection mapping出现的这个小错误,因此这是一个很有效的映射方法。

    Bump Mapping
     Used to simulate small complex geometric features on surfaces without really the need to model them
     A height field is used to perturb surface normals, and the perturbed normals are used in light reflection computation

  • 相关阅读:
    IOC / AOP
    Volatile
    观察者模式
    Gang Of Four的23中设计模式
    适配器模式
    享元模式
    设计模式
    B树和B+树
    Java内存模型(JMM)
    【Java的IO流之文件字符输入输出流 25】
  • 原文地址:https://www.cnblogs.com/qingsunny/p/3291038.html
Copyright © 2011-2022 走看看