glue-viz / glue-vispy-viewers

3-d data viewers for glue based on VisPy
http://glueviz.org/en/stable/whatsnew/experimental_3d.html#experimental-3d
BSD 2-Clause "Simplified" License
25 stars 21 forks source link

Investigate ways to change the lighting in Vispy #80

Open astrofrog opened 8 years ago

astrofrog commented 8 years ago

For the isosurface with the VolumeVisual, I think this is done in here:

https://github.com/vispy/vispy/blob/master/vispy/visuals/volume.py#L115

For the IsoSurfaceVisual, I think it's done here:

https://github.com/vispy/vispy/blob/master/vispy/visuals/mesh.py#L81

@PennyQ - I'm assigning you to this issue as discussed yesterday on the hangout.

PennyQ commented 7 years ago

Just found the lighting in VolumeVisual is still in vispy's todo lists, as in https://github.com/vispy/vispy/blob/master/vispy/visuals/volume.py#L45

and current lighting is a hardcoded one https://github.com/vispy/vispy/blob/master/vispy/visuals/volume.py#L92