• 검색 결과가 없습니다.

RenderMan and Katana

N/A
N/A
Protected

Academic year: 2021

Share "RenderMan and Katana"

Copied!
144
0
0

로드 중.... (전체 텍스트 보기)

전체 글

(1)

RenderMan

&

Katana

Wanho Choi

(2)
(3)

Rendering

The process of generating an image from a 2D or 3D model (or models in what collectively could be called a scene file) by means of computer program

(4)

Physically Based Rendering (PBR)

Rendering by simulating the physical interaction of light

To generate synthetic images as close to the real as possible by calculating the steady-state distribution of light in a scene.

emission

reflection

transmission (refraction) absorption

(5)

Ray Casting

(6)

Ray Tracing vs Path Tracing

(7)

Bidirectional Path Tracing (VCM)

http://www.cs.uiuc.edu/class/.../bidirectionalraytracing.ppt

(8)

BxDF

Bidirectional x Distribution Function

x: Reflectance (BRDF), Transmitted (BTDF), Scattering (BSDF) etc.

(9)

Super Sampling

https://en.wikipedia.org/wiki/Supersampling

Subpixel samples for each pixel

Sample numbers that are powers of two tend to give lesser image variance than other numbers -- for example, 256 is usually better than 257 or even 280.

(10)

Incremental vs Batch Rendering

Incremental (interactive) rendering

It might make many passes over the pixels taking one sample at a time to give rapid interactive results that it refines incrementally.

Batch rendering

(11)

Fixed vs Adaptive Sampling

Fixed sampling

• (# of samples for each pixel) = (max. number of samples per pixel) • Adaptive sampling

• (# of samples for each pixel) >= (min. number of samples per pixel) • (# of samples for each pixel) <= (max. number of samples per pixel)

(12)

Adaptive Sampling

• As each sample is added to a pixel the renderer looks to see how much the sample changes the pixel.

• If enough samples are added without changing the pixel much, the renderer stops sampling it.

• Lower variance causes more samples and longer renders. • Higher variance causes less samples and shorter renders.

(13)

Comparison

Fixed sampling, 2048 max samples

Adaptive sampling,

2048 max samples, 1248 actual avg.

(14)
(15)

RenderMan RIS

(16)

RenderMan RIS

(17)
(18)

Integrator

• Integrators take the camera rays from the projection and return shaded results to the renderer.

(19)

Two Types of Integrators

PxrPathTracer

A unidirectional path tracer. This combines information from the materials at the hit points with light samples to estimate direct lighting and shadowing, then

spawns additional rays to handle indirect lighting. This works well with

environment lights, and large direct light sources. It is ideal for outdoor lighting and large direct light sources

PxrVCM

A bidirectional path tracer. In addition to the paths from the camera, it traces paths from the light sources and tries to connect them. It can resolve

complicated indirect paths that may be slow to converge with PxrPathTracer. In particular, it is designed to handle specular caustics. It is ideal for interior

(20)
(21)
(22)
(23)

Other Integrators

PxrDirectLighting PxrDefault PxrDebugShadingContext PxrValidateBxdf PxrVisualizer

• See more: https://renderman.pixar.com/resources/RenderMan_20/ risIntegrators.html

(24)

PxrSurface

Multipurpose surface shader for RenderMan RIS : Wood, skin, plastic, glass, car paint, etc.

The same material model used in Pixar Animation Studios' feature animation • See more: https://rmanwiki.pixar.com/display/REN/PxrSurface

(25)

PxrDomeLight

For environment lighting via image based lighting (IBL) • Scaling and translation for this light will be ignored

as it's considered nearly infinite or at least very far away.

(26)
(27)

Materials

• Each piece of geometry has a single attached Bxdf. Roughly speaking this determines its gross material type by computing which directions it most

strongly reflects or refracts light in. The Bxdfs also provide the integrator with proposed directions for new rays to sampling indirect illumination.

• We include a general purpose, production-ready LM Material, as well as an

implementation of Disney's principled BRDF, and specialized materials for skin, glass, and hair.

(28)
(29)

Patterns

• While material Bxdfs control the gross appearance of an object, patterns control the detail by varying the parameters of the Bxdfs across a surface. Patterns plug into Bxdfs and to each other to build up complex shading networks.

• Patterns can produce their outputs by nearly any means, from texture maps

(including atlases and Ptextures), to simple expressions, to a complete shading language like OSL.

(30)

OSL

(31)

OSL

• See more: http://thhube.github.io/tutorials/osl/osl.html •

(32)
(33)

Lights

• Lighting in RIS mode is done via the geometric area light system, which

provides the integrator with relevant direct light samples to evaluate against the Bxdfs in order to shade the rays. These samples come from one of two types of sources, either emissive surfaces (with arbitrary geometry) or environment lights surrounding the scene. Whatever the sources, the system automatically

balances a sample budget across all of them.

• It also supports a wide variety of sophisticated lighting shaping effects such as gobos, blockers, and IES profiles. Lights can be turned off per-object, or just

turned off for certain types of shading, like specular highlights.

(34)
(35)

Katana

Katana is a 3D application specifically designed for the needs of look

development and lighting in an asset-based pipeline.

Originally developed at Sony Pictures Imageworks, Katana has been their

core tool for look development and lighting for all their productions since Spider-Man 3, Beowulf, and Surf’s Up!.

• Katana provides a very general framework for efficient look development and lighting, with the goals of scalability, flexibility, and supporting an asset-based pipeline.

(36)
(37)
(38)
(39)
(40)
(41)
(42)
(43)
(44)
(45)
(46)
(47)
(48)

Getting Started

with Katana

(49)
(50)
(51)
(52)
(53)
(54)
(55)
(56)
(57)

But, nothing in the Viewer

(58)
(59)

Click: MLB Then, it will appear in the VIewer.

(60)
(61)
(62)
(63)
(64)
(65)
(66)
(67)

Where is the teapot? because this flag is off

(68)
(69)

Q: How can I display both? A: Merge them!

(70)
(71)
(72)
(73)
(74)
(75)
(76)
(77)
(78)
(79)
(80)

Press: P

but, nothing in the result

(81)

Press: P

but, nothing in the result

Because no shader and light

(82)
(83)
(84)
(85)
(86)
(87)

Click: MLB

Click: MLB Select: bxdf

(88)

Click: MLB

(89)
(90)
(91)
(92)
(93)
(94)
(95)
(96)
(97)
(98)
(99)
(100)
(101)
(102)
(103)

Tab → Type: gaffer

(104)
(105)
(106)
(107)
(108)
(109)
(110)

Click: MRB

(111)
(112)
(113)
(114)

Click: MLB Select: light

(115)
(116)

Click: MLB

(117)
(118)

Press: P

(119)
(120)
(121)
(122)
(123)

Click: MRB

(124)

Click: MLB

(125)

Select the color.

(126)
(127)
(128)
(129)
(130)
(131)

Click: MLB

You can choose other integrator. ex) PxrVCM

(132)
(133)

Node Graph

Tab

(134)
(135)

Parameters

Tab

(136)
(137)

Scene Graph

Tab

(138)
(139)

Viewer

Tab

(140)
(141)

Monitor

Tab

(142)
(143)

Catalog

Tab

(144)

참조

관련 문서

Today, it will be cloudy in the afternoon, and it’s going to rain at night.. On Saturday, it will be colder, and the rain will

barriers for nucleation are high, the highest nucleation rates will be produced by grain-corner nucleation. 3) At very high driving forces it may be possible for the (C 1 /C 0

• Markov property for reinforcement learning problem: When considered how a general environment might respond at time t +1 to the action at time t, in most general and

In this regard, this research is expected to be used for the development for the future policies to boost technology transfer and commercialization as

The results obtained from this paper will provide important physical properties of opto-electronic devices based on two dimensional materials, and will be

According to above, liquid based cytology is considered to be adequate for routine oral examination or diagnostic tool for oral dysplasia and carcinoma

The struggle was successful, and in January 1926 the first of four papers on “Quantization as an Eigenvalue

“Well it‟s a it‟s a it‟s a place and it‟s a g-girl and a boy + and the-they‟ve got obviously something which is made some made made made well it‟s just beginning to go