Re: how to set gradient background when using vtk.js?

Sebastien Jourdain via vtkusers <[email protected]> Tue, 26 Feb 2019 21:05:43 -0700
Newsgroups gmane.comp.lib.vtk.user
Message-ID <CABObKxeYjB+0YCDd_D_RppAw+ghr5uNAvX6aE5Migmz2Kti+ug@mail.gmail.com>
you need to do it in html while setting the bg in vtk.js with an opacity of
0 like [0,0,0,0]

On Tue, Feb 26, 2019 at 7:24 PM Jounly <[email protected]> wrote:

> Hi,
>    As the title, how can i set a gradient background when using vtk.js?
> I use the way below to set the background color, but it's not gradient.
> Could anyone give me a hint on this?
> /
> const fullScreenRenderer =
> vtkFullScreenRenderWindow.newInstance({background:[0,0,0]});/
>
>
>
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
>

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtkusers