# Some questions about Cinematic Rendering

**URL:** https://discourse.vtk.org/t/some-questions-about-cinematic-rendering/14356
**Category:** vtk.js
**Created:** [August 5, 2024, 10:19am UTC](https://discourse.vtk.org/t/some-questions-about-cinematic-rendering/14356 "2024-08-05T10:19:04Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![865979216](https://discourse.vtk.org/user_avatar/discourse.vtk.org/865979216/32/7376_2.png) [@865979216](https://discourse.vtk.org/u/865979216)
#### Post date: [August 5, 2024, 10:19am UTC](https://discourse.vtk.org/t/some-questions-about-cinematic-rendering/14356/1 "2024-08-05T10:19:04Z")

</div>

1. Why are all the Cinematic rendering examples on vtk.js based on webXR?  
 ![image](https://discourse.vtk.org/uploads/default/original/2X/7/7b91f3b5ca5a6456d6f57ad15f9845f56c1a4282.jpeg)
2. Volview( [https://volview.kitware.app/](https://volview.kitware.app/) ）Cinematic rendering don’t be based on webXR, right?
3. Based on webXR（ [vtk.js](https://kitware.github.io/vtk-js/examples/WebXRHeadFullVolumeCVR.html) ）The three examples use Volumetric Shading, Hybrid Shading, and Gradient Shading respectively. What’s the difference between them, the kind of shading used on Volview?

---

<div class="post-metadata">

### Author: ![Forrest](https://discourse.vtk.org/user_avatar/discourse.vtk.org/forrest/32/300_2.png) [@Forrest](https://discourse.vtk.org/u/Forrest)
#### Post date: [August 5, 2024, 3:45pm UTC](https://discourse.vtk.org/t/some-questions-about-cinematic-rendering/14356/2 "2024-08-05T15:45:35Z")

</div>

The vtk.js cinematic examples are just demos for both cinematic rendering and WebXR together. You are correct, cinematic rendering does not depend on WebXR, and VolView does demonstrate that.

---

<div class="post-metadata">

### Author: ![865979216](https://discourse.vtk.org/user_avatar/discourse.vtk.org/865979216/32/7376_2.png) [@865979216](https://discourse.vtk.org/u/865979216)
#### Post date: [August 6, 2024, 2:54am UTC](https://discourse.vtk.org/t/some-questions-about-cinematic-rendering/14356/3 "2024-08-06T02:54:53Z")

</div>

Thank you for your reply, Forrest. You have been a great help to me.  
Do you have detailed information or examples about vtk.js cinematic rendering?  
I have already read this paper（ [https://doi.org/10.1080/21681163.2022.2145239](https://doi.org/10.1080/21681163.2022.2145239) ）The paper is really great.  
Can I assume that Volumetric Shading and Gradient Shading are techniques in cinematic rendering?

---

<div class="post-metadata">

### Author: ![Forrest](https://discourse.vtk.org/user_avatar/discourse.vtk.org/forrest/32/300_2.png) [@Forrest](https://discourse.vtk.org/u/Forrest)
#### Post date: [August 6, 2024, 10:07pm UTC](https://discourse.vtk.org/t/some-questions-about-cinematic-rendering/14356/4 "2024-08-06T22:07:57Z")

</div>

Yep, those two shading techniques contribute to cinematic rendering. The details are all in that paper, and you can see how [VolView uses it in code](https://github.com/Kitware/VolView/blob/4dbb960324aee6673d0600c909a36366fd3b5832/src/components/vtk/VtkBaseVolumeRepresentation.vue#L71-L134).

---

<div class="post-metadata">

### Author: ![865979216](https://discourse.vtk.org/user_avatar/discourse.vtk.org/865979216/32/7376_2.png) [@865979216](https://discourse.vtk.org/u/865979216)
#### Post date: [August 7, 2024, 2:23am UTC](https://discourse.vtk.org/t/some-questions-about-cinematic-rendering/14356/5 "2024-08-07T02:23:21Z")

</div>

Thank you, Thank you very much. Have a good day.
