Groups | Search | Server Info | Login | Register


Groups > comp.graphics.rendering.misc > #30

An Introduction To Open Shading Language

Path csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups comp.graphics.animation, comp.graphics.rendering.misc
Subject An Introduction To Open Shading Language
Date Wed, 30 Jul 2025 00:14:24 -0000 (UTC)
Organization A noiseless patient Spider
Lines 26
Message-ID <106bo50$2u9pq$2@dont-email.me> (permalink)
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Wed, 30 Jul 2025 00:14:25 +0000 (UTC)
Injection-Info dont-email.me; posting-host="bfe53f363bdbd448d37b20678e1d9fce"; logging-data="3090234"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18k25ZPmmvU29CfMlYA5Raf"
User-Agent Pan/0.162 (Pokrosvk)
Cancel-Lock sha1:6XnK69JZifYpjLGTPfMr5U28B7A=
Xref csiph.com comp.graphics.animation:109 comp.graphics.rendering.misc:30

Cross-posted to 2 groups.

Show key headers only | View raw


Been watching the video from this course
<https://dl.acm.org/doi/10.1145/3664475.3664534> that was presented by
a certain Mitch Prater at SIGGRAPH 2024 on writing OSL shaders. OSL is
supported nowadays by a bunch of 3D tools, among them RenderMan and
Blender. It seems the only one of these the presenter is familiar with
is RenderMan.

What struck me is, in a two-hour talk, he didn’t once go into the
concept of the “closure color”, which is the special OSL type that
encapsulates the totality of the interaction between light and the
material. He gives example shaders that compute elaborate textures
and transform between coordinate systems, but nothing on closures.
Without these, what kind of renderer would you have?

Could it be that RenderMan does not support that feature of OSL?

In OSL (at least the current version), you do not construct closure
values from scratch. Instead, you start with the builtin closure
functions that represent elemental material characteristics like
diffuse, glossy etc
<https://open-shading-language.readthedocs.io/en/v1.13.12.0/stdlib.html#material-closures>,
and compose these into expressions that evaluate to the desired
overall material behaviour.

If you want a renderer that does integrate the totality of OSL,
including closures, have a look at Blender Cycles.

Back to comp.graphics.rendering.misc | Previous | Find similar


Thread

An Introduction To Open Shading Language Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-07-30 00:14 +0000

csiph-web