Real-Time Rendering——Chapter 5 Visual Appearance

5.2 light sources
light is variously modeled as geometric rays, electromagnetic waves, or photons (quantum particles with some wave properties). regardless of how it is treated, light is electromagnetic radiant energy——electromagnetic energy that travels through space. light sources emit light, rather than scattering or absorbing it.
light sources can be represented in many different ways for rendering purposes. here we will discuss a simple light model——more complex and expressive models will be discussed in section 7.4 and chapter 8. extremely distant light sources like the sun are simplest to simulate; their light travels in a single direction that is the same throughout the scene. for this reason they are called directional lights. for rendering purposes, the directionality of such a light source is described by the light vector l, specified in world space. the vector l is always assumed to be of length 1 whenever encountered in this book. for directional lights, l is typically normalized (scaled to a length of 1) by the application to avoid the need to renormalize it during shading. the light vector l is usually defined pointing in a direction opposite to the direction the light is traveling(see figure 5.2). the reason behind this will become clear shortly.

在这里插入图片描述
figure 5.2. the light vector l is defined opposite to the direction the light is traveling.

5.8 gamma correction
once the pixel values have been computed, we need to display them on a monitor. in the early years of digital imaging, cathode-ray tube (CRT) monitors were almost exclusively used. CRT monitors exhibit a power law relationship between input voltage and display radiance, which turns out to nearly match the inverse of light sensitivity of the human eye [1028]. the consequence of this fortunate coincidence i sthat an encoding proportional to CRT

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值