# How to run the VTK Remote Renderer Example

**URL:** https://discourse.paraview.org/t/how-to-run-the-vtk-remote-renderer-example/5063
**Category:** Development
**Tags:** vtk
**Created:** [August 9, 2020, 11:20am UTC](https://discourse.paraview.org/t/how-to-run-the-vtk-remote-renderer-example/5063 "2020-08-09T11:20:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![EnnioBolondi](https://discourse.paraview.org/user_avatar/discourse.paraview.org/enniobolondi/32/4572_2.png) [@EnnioBolondi](https://discourse.paraview.org/u/EnnioBolondi)
#### Post date: [August 9, 2020, 11:20am UTC](https://discourse.paraview.org/t/how-to-run-the-vtk-remote-renderer-example/5063/1 "2020-08-09T11:20:55Z")

</div>

Hello,  
I would like to run the following example: [https://kitware.github.io/paraviewweb/examples/RemoteRenderer.html](https://kitware.github.io/paraviewweb/examples/RemoteRenderer.html)

But I didn’t understand how to have it working on my computer.  
I downloaded the source code from [here](https://github.com/kitware/paraviewweb), I successfully run the commands:

```
$ npm install
$ npm run build:release

```

I see there is the source code for the demo here: “\src\NativeUI\Canvas\RemoteRenderer\example”  
But actually I didn’t understand how to spin-it up.  
I found [this example](https://github.com/dmreagan/vtk-remote-render) on github where Dmreagan was able to create a working client. I tried to run it and it worked.

Just because I add a couple of new features to the client code, I would like to build and run the original project and see if everything is working.  
Thanks for your time.

Bye  
Ennio

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [August 10, 2020, 3:33pm UTC](https://discourse.paraview.org/t/how-to-run-the-vtk-remote-renderer-example/5063/2 "2020-08-10T15:33:15Z")

</div>

A more modern approach will be to use the following example:

> **[vtk.js](https://kitware.github.io/vtk-js/examples/RemoteView.html)**
>
> RemoteViewLive example RemoteViewThe RemoteView can be used with either the VTK-Web or ParaView-Web servers.The current example will not work until you start one of the servers below onyour local mach

You can see the code on that web page but once transpiled it produce [that standalone HTML](https://kitware.github.io/vtk-js/examples/RemoteView/RemoteView.html) page.  
That way you can download it and serve it via your own web server.

In general you will have to create your own web project that will create such view and then serve it so it can connect to a backend server to do remote rendering using either ParaView or VTK.

Both ParaViewWeb or vtk.js are Web libraries and therefore are not an application that you can build and run. You need to create your own application using pieces of those libraries in order to achieve what you are looking for. That’s why we have examples that show you how to create applications using those libraries.

HTH,

Seb

---

<div class="post-metadata">

### Author: ![EnnioBolondi](https://discourse.paraview.org/user_avatar/discourse.paraview.org/enniobolondi/32/4572_2.png) [@EnnioBolondi](https://discourse.paraview.org/u/EnnioBolondi)
#### Post date: [August 11, 2020, 2:52pm UTC](https://discourse.paraview.org/t/how-to-run-the-vtk-remote-renderer-example/5063/3 "2020-08-11T14:52:55Z")

</div>

Thanks for the reply.  
Ok, basically I should “compose” the application using different “libraries”.  
That’s make sense. I’ll give a try later.

Thanks  
Ennio
