# Advice for displaying time dependent image data

**URL:** https://discourse.vtk.org/t/advice-for-displaying-time-dependent-image-data/3702
**Category:** Web
**Created:** [July 3, 2020, 10:13am UTC](https://discourse.vtk.org/t/advice-for-displaying-time-dependent-image-data/3702 "2020-07-03T10:13:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![fraser29](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/f/ecd19e/32.png) [@fraser29](https://discourse.vtk.org/u/fraser29)
#### Post date: [July 3, 2020, 10:13am UTC](https://discourse.vtk.org/t/advice-for-displaying-time-dependent-image-data/3702/1 "2020-07-03T10:13:21Z")

</div>

I am looking for advice to render time dependent image volume data through vtk-js.

My initial intent was to load a vti file with multi-component point data representing the time vector. However, it doesn’t appear that I can use the Extract Component" filter in vtk-js which would take advantage of this.

Thus, would my best option be to load multiple vti files and show/hide actors (based on e.g. a slider position)?

Thanks for the advice.

---

<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: [July 6, 2020, 6:28pm UTC](https://discourse.vtk.org/t/advice-for-displaying-time-dependent-image-data/3702/2 "2020-07-06T18:28:18Z")

</div>

Correct, there currently is no ExtractComponent filter. What you suggest is a reasonable approach. If you want to avoid dumping many actors into your scene, you can also have one actor, and simply change the input data via `volumeMapper.setInputData(image)`
