手机版

计算机图形学latest05

时间:2025-07-10   来源:未知    
字号:

计算机图形学课件

Global Illumination Techniques

计算机图形学课件

IlluminationLocal Global

计算机图形学课件

Local IlluminationA lighting model is used to determine the shade of a point on a surface using the position, orientation and characteristics of the surface and the light source(s) illuminating it. A typical lighting model consists of three seperate components ambient, diffuse and specular.

计算机图形学课件

Whitted Ray Tracing Model

Light transport

Image synthesis

计算机图形学课件

RaytracingFor each sample …Construct ray from eye position through view plane Find first surface intersected by ray through pixel Compute color sample based on surface radiance, which is illuminated by light source directly and by environment indirectly(?)

计算机图形学课件

Raytracingfor each eye ray

Shadow rays

Reflection ray

Transmitted ray

计算机图形学课件

Ray Tracing the eye, through each pixel, and Cast rays out fromdetermine what they hit first Builds the image pixel by pixel, one at a time Cast additional rays from the hit point to determine the pixel color Shadow rays toward each light. If they hit something, then the object is shadowed from that light, otherwise use “standard” model for the light Reflection rays for mirror surfaces, to see what should be reflected in the mirror (ideally specular reflection) Transmission rays to see what can be seen through transparent objects (ideally refraction) Sum all the contributions to get the pixel color

计算机图形学课件

Ray TracingLighting calculation

计算机图形学课件

Ray Tracing - Explanation

计算机图形学课件

RaytracingExamples --- first reflections

计算机图形学课件

RaytracingExamples --- two recursions

计算机图形学课件

RaytracingExamples --- six recursions

计算机图形学课件

Ray TracingTermination conditions: Intersected with light Escaped out of the scene Reached the maxmum recursive number I r , I T has been small than a given threshold

计算机图形学课件

Raytracing ImplementationRaytracing breaks down into two tasks:Constructing the rays to cast Intersecting rays with geometry

The former problem is simple vector arithmetic The intersection problem arises in many areas of computer graphicsCollision detection Other rendering algorithms

Intersection is essentially root finding (as we will see)Any root finding technique can be applied

计算机图形学课件

Constructing RaysDefine rays by an initial point and a direction: x(t)=x0+td Eye rays: Rays from the eye through a pixel Construct using the eye location and the pixel’s location on the image plane. x0=eye Shadow rays: Rays from a point on a surface to the light. x0=point on surface Reflection rays: Rays from a point on a surface in the reflection direction Construct using laws of reflection. x0=surface point Transmitted rays: Rays from a point on a transparent surface through the surface Construct using laws of refraction. x0=surface point

计算机图形学课件

Ray-Object Intersections

Aim: Find the parameter value, ti, at which the ray first meets object i Transform the ray into the object’s local coordinate system Makes ray-object intersections generic: ray-sphere, rayplane, … Write the surface of the object implicitly: f(x)=0 Unit sphere at the origin is x

x-1=0 Plane with normal n passing through origin is: n x=0 Put the ray equation in for x Result is an equation of the form f(t)=0 where we want t Now it’s just root finding

…… 此处隐藏:1234字,全部文档内容请下载后查看。喜欢就下载吧 ……
计算机图形学latest05.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
    ×
    二维码
    × 游客快捷下载通道(下载后可以自由复制和排版)
    VIP包月下载
    特价:29 元/月 原价:99元
    低至 0.3 元/份 每月下载150
    全站内容免费自由复制
    VIP包月下载
    特价:29 元/月 原价:99元
    低至 0.3 元/份 每月下载150
    全站内容免费自由复制
    注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
    × 常见问题(客服时间:周一到周五 9:30-18:00)